Simple script to quickly backup a local directory to two restic repositories: One locally and one on a remote ssh/sftp server.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mike e8fca48d90
Also sleep for a short time after success
5 months ago
README.md typo 7 months ago
backup-local-dir Also sleep for a short time after success 5 months ago

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