Howto borg backup ================= https://borgbackup.readthedocs.io/en/stable/ 1. Install on the local machine (as well as on the server) sudo apt-get install borgbackup 2. Initialize repository borg init --encryption=repokey user@servername.domain.com:~/backup/borg 3. Backup borg create user@servername.domain.com:~/backup/borg::test ~/downloads 4. List all archives in the repository: borg list user@servername.domain.com:~/backup/borg 5. List the contents of a certain archive: borg list user@servername.dimain.com:~/backup/borg::test 6. Restore a certain archive by extracting the files relative to the current directory: borg extract user@servername.domain.com:~/backup/borg::test 7. Restore single files from a certain archive: borg extract --dry-run --list user@servername.domain.com:~/backup/borg::test /subdir borg extract --list user@servername.domain.com:~/backup/borg::test /subdir 8. Recover disk space by manually deleting a certain archive: borg delete user@servername.domain.com:~/backup/borg::test