You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Borg backup software is not working as described or to be more precise, the restoration of any borg created backup is not working for me.
I am using borg locally to create backups on a seperate mounted disk and it creates backups weekly which is working fine.
However, I cannot restore things. Whenever I try to use the described way with "borg export-tar ::" it just throws out a .tar file which is neither recognized by the built-in backup tool when copied to the right location nor if I extract the backed up files locally.
I have the feeling that the path inside the backup is somehow mixed up because when I extract it, the path is always 'home/yunohost/yunohost.backup/tmp/...' instead of '/home/yunohost.app/'.
Context
Hardware: Lenovo bare metal (Mini PC)
YunoHost version: 11.2.27
I have access to my server: SSH & Webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
If yes, please explain:
Using, or trying to install package version/branch:
If upgrading, current package version: can be found in the admin, or with yunohost app info $app_id
Steps to reproduce
Follow the steps from borg Application page to restore
borg export-tar :: this-tar.tar
yunohost backup restore this-tar.tar
=> Error: Info.json not found or not a valid json file
Expected behavior
Well, just as described in your documentation ;-)
Logs
When an operation fails, YunoHost provides a simple way to share the logs.
In the webadmin, the error message contains a link to the relevant log page. On that page, you will be able to 'Share with Yunopaste'. If you missed it, the logs of previous operations are also available under Tools > Logs.
In command line, the command to share the logs is displayed at the end of the operation and looks like yunohost log display [log name] --share. If you missed it, you can find the log ID of a previous operation using yunohost log list.
After sharing the log, please copypaste directly the link provided by YunoHost (to help readability, no need to copypaste the entire content of the log here, just the link is enough...)
If applicable and useful, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered:
borg backs up apps and creates a .tar (.tar.gz) which includes (inside) a info.json file.
I've exctracted that file, rename it like app-backup.tar file (app-backup.info.json) but then YNH can not reinstall because than json is malformed/incorrect/etc.
So we have borg backups, but can't we restore apps?
Have you @braunMarkus found any workaround for this issue?
I found about it trying to recover an app after migration to ynh12 (if this is relevant). Also tried .tar.gz without success.
Describe the bug
The Borg backup software is not working as described or to be more precise, the restoration of any borg created backup is not working for me.
I am using borg locally to create backups on a seperate mounted disk and it creates backups weekly which is working fine.
However, I cannot restore things. Whenever I try to use the described way with "borg export-tar ::" it just throws out a .tar file which is neither recognized by the built-in backup tool when copied to the right location nor if I extract the backed up files locally.
I have the feeling that the path inside the backup is somehow mixed up because when I extract it, the path is always 'home/yunohost/yunohost.backup/tmp/...' instead of '/home/yunohost.app/'.
Context
yunohost app info $app_id
Steps to reproduce
Follow the steps from borg Application page to restore
borg export-tar :: this-tar.tar
yunohost backup restore this-tar.tar
=> Error: Info.json not found or not a valid json file
Expected behavior
Well, just as described in your documentation ;-)
Logs
When an operation fails, YunoHost provides a simple way to share the logs.
yunohost log display [log name] --share
. If you missed it, you can find the log ID of a previous operation usingyunohost log list
.After sharing the log, please copypaste directly the link provided by YunoHost (to help readability, no need to copypaste the entire content of the log here, just the link is enough...)
If applicable and useful, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: