Hi I have a couple of repositories on wasabi. One of them keeps reporting a VERY STALE lock.
Here’s the lock message :
unable to create lock in backend: repository is already locked by PID 13736 on 127.0.0.1purvez-Aspire-5750 by root (UID 0, GID 0)
lock was created at 2023-03-02 20:10:05 (26634h32m44.02637519s ago)
storage ID d47ebaf9
theunlockcommand can be used to remove stale locks
I use the following backup command in a larger shell file :
${rhome}restic backup -v -v --tag pdacer --exclude-file=${rbkup}rfilesexclude --files-from ${rbkup}rfilesfrom --repository-file $rrepo --password-file ${rbkup}rchuparustom >>./logs/bkup_$today.log 2>>./logs/bkuperr_$today.log
The above command works fine. So I thought I’d cd into $rhome and then run the following command to clear the lock:
./restic unlock --repository-file ./rrepofile --password-file ./rchuparustom
However after ‘thinking’ about it for a while it comes back with :
Fatal: unable to open config file: Stat: Access Denied.
Is there a repository at the following location?
s3:s3.eu-central-1.wasabisys.com/pdacer
my rrepofile contains the following one liner:
s3:s3.eu-central-1.wasabisys.com/pdacer
What am I doing wrong please?