diff --git a/README.md b/README.md index 13724ef..27ff688 100644 --- a/README.md +++ b/README.md @@ -45,4 +45,13 @@ https://borgbackup.readthedocs.io/ - I have no need to have the drive mounted full time (backups are on NFS mounts only used for backups), so I also have systemd mount the drive for the backup, then unmount when done. Be sure to change the drive mount as well for each system. - For the mount service, the unit name and 'Where' setting MUST match. For example, for "Where=/mnt/mountpoint/backups", the unit must be named mnt-mountpoint-backups.mount - I set specific backup times in the timer unit rather than a random time +- midnight (OnCalendar=daily with a RandomizedDelaySec) so I have predictable, known times when things may be down. -- The timer and service must have the same name (except for the .service and .timer part of course). \ No newline at end of file +- The timer and service must have the same name (except for the .service and .timer part of course). + +## Setting up +### Client +- Install borg backup +- Install nfs-common +- Obtain all systemd files, and move them to /etc/systemd/system +- Enable the timer unit +- Temporarily mount the backup folder to initialize the borg repo for first-time use (borg init --encryption repokey-blake2 /path/to/repo) +- Save the key