-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Borgmatic
Antonio Fernandez edited this page Nov 5, 2024
·
1 revision
-
Log into the web interface
-
Go to Package Center
-
Go to the Community tab
-
Search for
Borg
-
Click Install
-
Click Agree when asked about 3rd party software
- Open the DSM Control Panel and choose Shared Folder
- Click Create and enter a name and description. Ensure the following is set:
- Hide this shared folder in "My Network Places"
- Hide sub-folders and files from users without permissions
- Enable Recycle Bin
In the new folder created in Step 2, create your borgmatic.yml
config file.
A sample configuration can be found on the official borgmatic website.
To create and edit this file in-browser, you can add the Text Editor package in Package Center.
If you have any private keys for uploading files to remote repos, they can be placed in the folder created above.
- In DSM Control Panel, go to Task Scheduler.
- Click Create > Scheduled Task > User-defined script.
- On the General Tab, name the job and ensure that the User is set to root.
- On the Schedule Tab, set whatever works for your setup.
- On the Task Settings tab, under Run command > User-defined script, add your borgmatic command. Below is a sample command:
/usr/local/bin/borgmatic --config /volume1/Backup/fake-data/borgmatic.yml
- Click OK.
- To test out the task, in DSM Control Panel, go to Task Scheduler.
- Click the task you created and then click Run, then OK.
There will not be any visual output however if you add --log-file /path/to/file.log --log-file-verbosity 2
you can have the output of the command show in the log file.
- Home
-
Packages
- Adminer
- Aria2
- Beets
- BicBucStriim
- Borgmatic
- cloudflared
- Comskip
- Debian Chroot
- Deluge
- Duplicity
- dnscrypt-proxy
- FFmpeg
- FFsync
- Flexget
- Gstreamer
- Google Authenticator
- Home Assistant Core
- Jellyfin
- Kiwix
- [matrix] Synapse homeserver
- MinIO
- Mono
- Mosh
- Mosquitto
- Node-Exporter
- Radarr/Sonarr/Lidarr/Jackett
- SaltStack
- SickBeard Custom
- SynoCLI-Disk
- SynoCLI-Devel
- SynoCLI-File
- SynoCLI-Kernel
- SynoCLI-Misc.
- SynoCLI-Monitor
- SynoCLI-NET
- Synogear
- Concepts
- Development
- Resources