- Create environment, e.g.
b2.env
:- Specify respository with
RESTIC_REPOSITORY
- Specify what to backup with
BACKUP_DIR_PATH
- And other restic environmental variables
- Specify respository with
- Add password to the repo to
%env%.pass
, e.g.b2.pass
- Run
restic.sh %env%
- Create environment, e.g.
ext.env
:- Specify destination with
RSYNC_DEST
- Specify what to backup with
BACKUP_DIR_PATH
- Specify destination with
- Run
rsync.sh %env%