Git Product home page Git Product logo

Comments (3)

alekdavis avatar alekdavis commented on July 19, 2024

@ManuJapan89 : First, you install OS and all drivers. Make sure everything works. Then install Plex Media Server (preferably the same version you used for the last backup). Once you install Plex, run the restore. If you used 7zip for backups, you should specify the switch for restores (unless it is already set in the config file). You do not need to specify the path to the backup folder if your backup root is defined in the config file and you use the standard naming convention for the backup folder names (the script will pick up the folder with the latest name). Assuming that your media files are at the same locations, that should do it.

from plexbackup.

ManuJapan89 avatar ManuJapan89 commented on July 19, 2024

Hi,
thanks for your reply
usually i run plexbackup directly on this path C:\Users\manue\Downloads\PlexBackup-master\PlexBackup-master
in a powershell run as admin i type cd C:\Users\manue\Downloads\PlexBackup-master\PlexBackup-master
then run a backup using the following: .\PlexBackup.ps1 -Mode Backup -Type 7zip -LogLevel Debug -Log -ErrorLog -Keep 1
The folder created as backup will then moved on a external hdd attached to the mini pc
If i move the backup folder back to original loaction e.g(C:\Users\manue\Downloads\PlexBackup-master\PlexBackup-master\20210812202129)
Can i run the restore using the following command?
.\PlexBackup.ps1 -Mode Restore -Type 7zip -LogLevel Debug -Log -ErrorLog -NoRestart
or i have to specify always the backup dir?

looking into this option BackupDirPath

When running the script in the Restore mode, holds path to the backup folder (by default, the subfolder with the most recent timestamp in the name located in the backup root folder will be used).

there's no need to specify

If i have to i was thinking about this: .\PlexBackup.ps1 -Mode Restore -Type 7zip -BackupDirPath "C:\Users\manue\Downloads\PlexBackup-master\PlexBackup-master\20210812202129" -LogLevel Debug -Log -ErrorLog -NoRestart

from plexbackup.

alekdavis avatar alekdavis commented on July 19, 2024

@ManuJapan89 : First, I'd recommend keeping the command-line option that do not change (like the type of backup, i.e. 7zip) in the config file (to reduce typing or execution errors). Second, if your backup process creates a local backup (using the default folder) and then you manually copy the files to an external drive, I'm not sure why you wouldn't just point to the external drive. Why use an extra manual step if the backup can do it for you? But regardless, if you do not mess with the backup folder names, the only thing the script needs to know is the root backup folder (under which the timestamped subfolders get created, so normally, you do not need to specify the BackupDirPath, as long as you have BackupRootDir defined (but you have an option to use BackupDirPath on the restore operation , if you want).

from plexbackup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.