S551LN-backup-configuration/README.md

23 lines
502 B
Markdown
Raw Permalink Normal View History

2018-10-15 15:45:02 +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