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
Mike 74affb5936 typo 2022-07-20 02:56:45 -07:00
README.md typo 2022-07-20 02:56:45 -07:00
backup-local-dir Refactoring and final tweaks, hopefully 2022-07-20 02:51:21 -07:00

README.md

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