NethServer Version: NethServer release 7.9.2009 (final)
Module: Backup
Hi Everyone, looking for some assistance regarding Restic backups in Nethserver 7.
I have been having issues with an inconsistent backup to an SMB target, where the backup fails intermittently a couple of nights a week.
The error message I receive via the logs on this backup job when failing:
Error while mounting 10.0.50.156:/volume1/Backups : mount.nfs: Protocol not supported at /etc/e-smith/events/actions/mount-nfs line 88.
Can't initialize restic repository
Action 'backup-data-restic backup01': FAIL
Backup status: FAIL
Manually running the backup from the GUI succeeds without issue every time. This led me to believe it could be other activity on the network or the NAS having issues at the particular set time the backup runs. I created some tasks to restart the NAS 2 hours prior to the backup window, this didn’t resolve things. I then investigated changing the time of the existing backup.
From my reading of other threads and documentation, I then attempted to change the scheduled time of the backup and this is when the issues really started. The command I ran was:
db backups setprop backup01 BackupTime 05:20
Once I ran the above, the backup section of the web GUI appears to now be broken. When selecting the backup section, I now just get a spinning wheel at the top of the page and it never loads.
I rebooted the Nethserver and still the issue persists.
The backups did continue to run however, at their originally scheduled time. They were functional, but still failing a couple of nights a week.
I came back after a fortnight and reviewed the logs further and the backups are now not running on schedule at all, with 6 days of no backups. Running the backup job from the shell works fine e.g.: /sbin/e-smith/backup-data -b backup01
I did further reading and found another topic with a different format for the backup time adjustment, which I have run 24 hours ago: db backups setprop backup-data BackupTime ‘40 4 * * *’
This has made no positive change, the backup GUI is still inaccessible and the backups themselves are not running unless performed manually.
I’m hoping someone might be able to assist in clarifying what I may have broken RE the web GUI, and how to restore it, and what I can do to resolve this backup job (hopefully without having to create an entirely new job).
I’m new to Nethserver myself and was tasked with getting this issue resolved prior to planning out a migration to Nethserver 8. I really appreciate any feedback that may help - happy to provide any logs and configuration information - just tell me what I need to get.
Thanks everyone