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 1.2.x update #8195

Closed
2 tasks done
reloxx13 opened this issue Oct 7, 2022 · 5 comments
Closed
2 tasks done

Borg 1.2.x update #8195

reloxx13 opened this issue Oct 7, 2022 · 5 comments
Labels
question This is more a question for the support than an issue.

Comments

@reloxx13
Copy link
Contributor

reloxx13 commented Oct 7, 2022

Describe the issue

Heya,

are there any known problems with borgbackup 1.2.0 ?
I want to use the new import-tar command introduced in 1.2.0 because I'm moving to a new server.
export-tar worked fine, but I cannot find a good explanation about how to import the archive.tar back now.
Current version is borg 1.1.18

borgbackup>=1.1.11,<1.3,!=1.2.0

https://www.borgbackup.org/releases/borg-1.2.html

import-tar: New complement to export-tar. Import existing tar files or (together with export-tar) move archives from one borg repo to another. Please note that currently export-tar + import-tar is a lossy conversion as it does not support all metadata that borg create/extract supports (like ACLs, xattrs, flags).

https://docs.weblate.org/en/latest/admin/backup.html

Another question: is there a way to merge two Weblate instances? Do you have any hints for me for doing this?
Users, history and memory, etc. doesn't matter, I just want the projects into one.

The project settings are in the database with a persistent ID, I would have projects with the same ID, resulting in conflicts.
My current approach is to choose the smaller Weblate instance and backup every project one by one and restore it in the other one. Or do you have another, better idea?
Edit: i also found this now where the project export/import is suggested: https://docs.weblate.org/en/latest/admin/backup.html#project-level-backups

I already tried

  • I've read and searched the documentation.
  • I've searched for similar issues in this repository.

Steps to reproduce the behavior

No response

Expected behavior

No response

Screenshots

No response

Exception traceback

No response

How do you run Weblate?

Git checkout

Weblate versions

No response

Weblate deploy checks

No response

Additional context

No response

@reloxx13 reloxx13 added the question This is more a question for the support than an issue. label Oct 7, 2022
@github-actions
Copy link

github-actions bot commented Oct 7, 2022

This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger.

In case your question is already answered, making a donation is the right way to say thank you!

@nijel
Copy link
Member

nijel commented Oct 10, 2022

are there any known problems with borgbackup 1.2.0 ?

1.2.0 has unspecified dependency on pkgconfig, which causes pip installation fail when pkgconfig is not installed before truing to install borgbackup. This was fixed in 1.2.1.

Another question: is there a way to merge two Weblate instances? Do you have any hints for me for doing this?
Users, history and memory, etc. doesn't matter, I just want the projects into one.

Use project level backups for this.

@github-actions
Copy link

The issue you have reported is now resolved. If you don’t feel it’s right, please follow its labels to get a clue for further steps.

  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

@reloxx13
Copy link
Contributor Author

reloxx13 commented Feb 7, 2023

borg >= 1.2.0 need python 3.8 😵‍💫

@nijel
Copy link
Member

nijel commented Feb 7, 2023

Yes, but you don't need > 1.2.0 to run Weblate:

borgbackup>=1.1.11,<1.3,!=1.2.0

For now, Weblate supports Python 3.7, and it will stay as long as we have it in our infra (see #8637).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is more a question for the support than an issue.
Projects
None yet
Development

No branches or pull requests

2 participants