[SOLVED] Restic backup failing

NethServer Version: 7.9.2009
Module: Backup

unable to create lock in backend: repository is already locked by PID 1295 on by root (UID 0, GID 0)
lock was created at 2023-07-04 10:50:18 (45h16m41.090787584s ago)
storage ID 1157dc11
the unlock command can be used to remove stale locks
Cleanup failed
Action ‘backup-data-restic backup’: FAIL
Backup status: FAIL

This is the second time I’ve spent a while looking around for this lock file to try to remove it. For me, my backup is in Backblaze, so that’s where the backup file was and that’s why I couldn’t find it. Deleting the file manually fixed the issue, and was easier than trying to build the correct restic unlock command with all the configuration parameters.

If you face this error and can’t find the lock, look in your remote backup location if you’re using one.