Simple script to quickly backup a local directory to two restic repositories: One locally and one on a remote ssh/sftp server.
Go to file
2022-07-20 03:18:37 -07:00
backup-local-dir Sleep before exiting when there's an error 2022-07-20 03:18:37 -07:00
README.md typo 2022-07-20 02:56:45 -07:00

Backup Local Dir

Simple script which utilizes restic to make two backups of a local folder. One backup goes to a local restic repo (local folder), and the other goes to a remote server somewhere (consult restic documentation for formatting remote repo URLs).

Technically you can specify anything you want for the local and remote repo flags, in order to use two local or two remote repos, if you wish.

Execute the following for command line arguments:

$ ./backup-local-dir --help