Hi. I’m new to restic. I’ve setup an S3 bucket and repo for backups and I’m able to create snapshots with relevant commands. However, when running backups via cron, it doesn’t seem to have worked.
My system is Ubuntu 18.04. I created a bash file to run the commands that include passwords and everything. I saved this file in /usr/local/bin/backup_storage. In SSH I can run
backup_storage. This works and a snapshot is created.
I created a cron with the command
backup_storage and it didn’t create any snapshot. In syslog, I can see cron did execute the command.
How do I fix this? Are there any logs that could have more info?