![]() To trigger a manual test run, select the new task and click the Run button. Now you are ready to run the backup script. usr/local/bin/borgmatic init -e repokey-blake2 -c /path/to/borgmatic.yml Simply run the below command either from the command line or as one-off task under Scheduled Tasks This can be done via Borgmatic and it will use the config you added above. Initialize Repository: If you are using a brand new repository, you need to initialize it first. usr/local/bin/borgmatic -c /path/to/borgmatic.yml -check The settings under Schedule can be adjusted any way you need them.Īdd the path of your Borg folder and backup script under Task Settings. The user should be root, so it has full access to all files. In the next screen, you can enter any name for the task. Then Create a new Scheduled Task and choose User-defined script This is all done in the web interface and you can choose all kinds of daily, weekly or monthly backup frequencies.įirst return to the Control Panel, enabled switch to Advanced Mode in the top-left and open Task Scheduler In this step we will add a daily task to create a new Borg archive. ![]() Last, save the contents of the above file as e.g. Add the encryption passphrase used during repo initilization under encryption_passphrase.It’s also possible to use multiple repos to achieve additional redundancy. BorgBase repository URL to use under repositories.Path to private SSH key under ssh_command.Folders to back up under source_directories.# List of checks to run to validate your backups. # Retention policy for how many backups to keep. # Paths of local or remote repositories to backup to.Įncryption_passphrase: "my-secret-passphrase-8859849" You can either create the key on the device itself, by logging in via SSH (advanced option) or just create it locally and copy it over. Next, create a new private key for the Synology NAS and place it in the folder. Click Create and enter a name, description and choose to hide the folder.Open the DSM Control Panel and choose Shared Folder. ![]() Now, let’s add a new hidden share to have easy access to Borg config files. Step 2 - Create Hidden Shared Folder for Borg Config Files Simply click Install to install Borg together with Python 3. You should now see a new Community entry on the left side that should have Borg listed as package.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |