| command | description |
|---|---|
| ctrl + a | Goto BEGINNING of command line |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Borg variables: | |
| # Set remote repository path (See https://borgbackup.readthedocs.io/en/stable/usage/general.html#repository-urls) | |
| export BORG_REPO=/media/backup/Backups/home-backup.borg | |
| # Read encryption key | |
| export BORG_PASSCOMMAND='cat /etc/borg.key' | |
| # Additional script variables: | |
| export BACKUP_TARGETS='/home/user/Pictures /home/user/Documents' |
