What app is this about, and its version: 0.18.0~ynh3 What YunoHost version are you running: 12.1.23 What type of hardware are you using: Other(?)
Describe your issue
Hardware: OVH Kimsufi dedicated x86 server
Since the update from restic 0.12 to 0.18, my backups fail systematically.
With the package provided scripts, the script fails without much explanation. If I switch back the script in /etc/yunohost/hooks.d/backup_method to my old, after swapping /usr/local/bin/restic for /var/www/restic/restic, I get a failure on s3.getCredentials.
And of course, restic_check is in failure state no matter the script in backup_method.
Instead of debugging a set old script that are doomed to break again at some point, I would like to ask: what would be the “Yunohost’s restic” way to backup on a S3 bucket?
Thanks!
Share relevant logs or error messages
With package’s scripts:
REMOVED FROM NOW, PASSWORD WAS INCLUDED
With old custom script (different server but normally exact same config and settings):
REMOVED FROM NOW, PASSWORD WAS INCLUDED
The latest YunoHost Restic version includes a new way to export backups to an S3 server (and whatever else supported by Restic). This was not possible before so this is very new and lacks real-world testing
Firt you need to set the Repository address as explained in Restic documentation (Preparing a new repository — restic 0.18.0 documentation). It should start with “s3:”. Set it in YunoHost Admin app config page or with command-line: