Creates a backup of /home/repository at the path in the /path/to/backup_repository path, provides the password in a file restic can read, provides a file defining patterns & paths to ignore, and explicitly excludes .jpg files from the backup.
Environment Variables
Environment Variable
Example Value
Notes
RESTIC_REPOSITORY
/opt/backups/restic/repo_name
When running restic commands, provides the --repo value.
RESTIC_REPOSITORY_FILE
/path/to/restic_repo_path
Read the path to a Restic repository from a file. You do not need to use -r/--repo when this is set.
RESTIC_PASSWORD_FILE
/path/to/restic_password
Read the password to a Restic repository from a file. Without this, you will be prompted for the repository's password.