Laptop backup configuration using borgbackup
Go to file
2019-12-28 20:07:59 +01:00
.gitignore Manage variables via systemd override config (#4) 2019-11-13 23:13:08 +00:00
borgbackup.service Manage variables via systemd override config (#4) 2019-11-13 23:13:08 +00:00
borgbackup.timer Rename service files to borgbackup.{service,timer} 2019-11-13 23:53:25 +01:00
exclude-list-S551LN.txt Update exclude-list 2019-12-28 20:07:59 +01:00
Makefile Manage variables via systemd override config (#4) 2019-11-13 23:13:08 +00:00
README.md Manage variables via systemd override config (#4) 2019-11-13 23:13:08 +00:00

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