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

Borg backup fails "Could not run script: /etc/yunohost/hooks.d/backup_method/05-borg_app" #171

Open
CodeShakingSheep opened this issue Aug 10, 2024 · 0 comments

Comments

@CodeShakingSheep
Copy link
Member

Describe the bug

For 2 weeks all my borg backups have been failing. The log messages were really unspecific just stating that the script /etc/yunohost/hooks.d/backup_method/05-borg_app could not be run.

I investigated this. When I manually try to run /var/www/borg/venv/bin/borg create --stats '::auto_wordpress__8-{now}' /home/yunohost.backup/tmp/auto_wordpress__8 on my server I get the following error message:

borg create: error: argument ARCHIVE: Invalid location format: "::auto_wordpress__8-2024-08-10T18:20:56"

I think a name change was introduced with this PR: https://github.com/YunoHost-Apps/borg_ynh/pull/163/files#diff-0c9f933c4ea3339e67d9dcf060db398e69fdac42c291ef1dba31299640b47473R49

Context

  • Hardware: VPS bought online
  • YunoHost version: 11.2.27
  • I have access to my server: Through SSH | through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Steps to reproduce

Just let borg create daily automatic updates.

Expected behavior

Backups should successfully be created.

Logs

https://paste.yunohost.org/raw/uwoliwogal

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

Successfully merging a pull request may close this issue.

1 participant