Hi i am able to download the restic module from syseleven/restic · Puppet module to configure Restic systemd service to backup/forget/restore data. · Puppet Forge
and installing via puppet is good but while taking simple backup i am unable to reload the backup service.
--- classes: - restic restic::repositories: some_repo1: enable_backup: false id: a3f5173hdsks934 key: y7ahajhsd3uzasa password: yxcvasdf1234 host: some.host.name bucket: bucket_name/backup1
Configure a repository and backup 2 directories
--- classes: - restic restic::repositories: some_repo2: backup_path: - /full/path/1 - /some/other/path backup_timer: Mon..Sun 20:00:00 bucket: bucket_name/backup1 host: some.host.name id: a3f5173hdsks934 key: y7ahajhsd3uzasa password: yxcvasdf1234
etc/systemd/system # systemctl status restic_backup_etc.service
Loaded: loaded (/etc/systemd/system/restic_backup_etc.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-09-20 14:58:13 UTC; 1h 14min ago
Main PID: 3755383 (code=exited, status=1/FAILURE)](http://xxxxxxxxx/) systemd: Starting restic_backup_etc.service…
restic: Fatal: unable to open config file: Stat: The Access Key Id you provided does not exist in our records.
: Is there a repository at the following location?
systemd: restic_backup_etc.service: Main process exited, code=exited, status=1/FAILURE
systemd: restic_backup_etc.service: Failed with result ‘exit-code’.
systemd: Failed to start restic_backup_etc.service.