borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
11.2k stars 743 forks source link

updating / upgrading beta versions #8326

Open iomari opened 3 months ago

iomari commented 3 months ago

Greetings, I had big problem when I reinstalled my linux. I didn't take note to my borg version. Consequently I couldn't restore my backup until I found I used beta7 for my current backups. It failed when I tried to use beta8. My question is, Is it not possible to update the beta versions without losing my backups. And also isn't there some tool that can tell which version a backup was made with?

infectormp commented 3 months ago

You can download b7 version from release section.

It is strictly not recommended to use any alpha\beta versions in production setup. Until a release is made, there can be incompatible changes.

ThomasWaldmann commented 3 months ago

There is no support for beta-to-beta or beta-to-release upgrades in the code.

Alphas/Betas are for testing and you should use them additionally to your production backups.

So, if "next beta" does not work with your repo (error message or just blows up with a traceback), just create a new repo with the new version.

iomari commented 3 months ago

thank you If I make a new repo, what happens to the old repos? Also, is there a timeline for when borg 2 will come out of beta?

ThomasWaldmann commented 3 months ago

best is to delete them with the working borg version.

iomari commented 3 months ago

thanks. when is the expected date of the final version 2?

ThomasWaldmann commented 3 months ago

"when it's ready."

I currently do a bigger experiment with borgstore, thus no ETA estimation possible yet.

iomari commented 3 months ago

thanks. i'm waiting........