Laptop backup configuration using borgbackup
Thibaud Gasser
39677bbc58
Use systemd override configuration to avoid putting sensitive informations in the service file (and so in the git repository). - add a makefile to install and uinstall the service - add some documentation to README.md See #1 |
||
---|---|---|
.gitignore | ||
borgbackup.service | ||
borgbackup.timer | ||
exclude-list-S551LN.txt | ||
Makefile | ||
README.md |
Backup configuration for S551LN laptop
Install
- run the command
make install
as admin - in the editor that opens, write the following configuration:
[Service] Environment=BORG_REPO=/path/to/borg/repo Environment=BORG_PASSPHRASE=somEp4$sphrase Environment=EXCLUDE_LIST=/path/to/exclude/list
Uninstall
make uninstall
Run manual backup
- use
systemctl start borgbackup.service
to run a backup manually - use
journalctl -u borgbackup.service
to view the logs