Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schedule backup failed due to repo is locked #677

Open
Aashiqps opened this issue Feb 21, 2025 · 1 comment
Open

Schedule backup failed due to repo is locked #677

Aashiqps opened this issue Feb 21, 2025 · 1 comment

Comments

@Aashiqps
Copy link

i am trying to schedule backup an ubuntu server to minio bucket, it is getting failed due to repo is lock. when i try with unlock repo and then use backup now option it is getting backup done. can you help me with the right settings so that repo is not locked when schedule backup running. i tried the flag --no-lock while setting repo and also autolock option enabled but still not working.

21/02/2025, 12:01 am - Forget error in 1s
error: forget: get snapshots for repo study-hq-restic: command "/root/.local/share/backrest/restic forget --json --keep-last 3 --no-lock -o sftp.args=-oBatchMode=ye..." failed: exit status 1
Output:
Fatal: --no-lock is only applicable in combination with --dry-run for forget command

@garethgeorge
Copy link
Owner

--no-lock is not supported as a repo flag, you should rely on the auto unlock feature here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants