|
@@ -5,7 +5,7 @@ restic snapshots &>/dev/null || restic init
|
|
|
|
|
|
# Run backup job, using parameters from AWS_ACCESS_KEY_ID,
|
|
# Run backup job, using parameters from AWS_ACCESS_KEY_ID,
|
|
# AWS_SECRET_ACCESS_KEY, RESTIC_PASSWORD, RESTIC_REPOSITORY
|
|
# AWS_SECRET_ACCESS_KEY, RESTIC_PASSWORD, RESTIC_REPOSITORY
|
|
-restic backup /mnt/source
|
|
|
|
|
|
+restic backup $RESTIC_ARGS $BACKUP_FOLDERS
|
|
|
|
|
|
# Cleanup old backups
|
|
# Cleanup old backups
|
|
-restic forget ${RESTIC_FORGET_ARGS}
|
|
|
|
|
|
+restic forget $RESTIC_FORGET_ARGS
|