borgbackupserver icon indicating copy to clipboard operation
borgbackupserver copied to clipboard

Restore/Import Repos

Open theborg72 opened this issue 5 months ago • 7 comments

Description

What I'm thinking of is when everything is fine but let's say the backup server breaks and you have to reinstall BBS on a new server. Then your old backups won't be able to be used. Therefore, when you recreate, you should be able to import the old ones. Either create a new repo or import an old one.

Use Case

Recovering programs in case of computer crash

Alternatives Considered

No response

theborg72 avatar Jun 18 '26 23:06 theborg72

You can already , is this what you mean ?

Image

It is also worth turning this on , just in case you do need to recover your backup ( bbs ) server

Image

zodorm avatar Jun 19 '26 08:06 zodorm

yes but lacks the ability to upload from the computer but I think this can work anyway. I'll try to build it up. delete the server and try to restore it to working. See that fixed and close it for now.

theborg72 avatar Jun 19 '26 17:06 theborg72

let us know how the testing goes (-;

zodorm avatar Jun 20 '26 09:06 zodorm

were you able to do this successfully? it works really good from a S3 target as well.

marcpope avatar Jul 02 '26 02:07 marcpope

just restore with move the entire container. have had some other problems with test restore mac and windows. I'm going to run a turn this weekend I thought and try restore last I got an error in the database that became read-only.

theborg72 avatar Jul 02 '26 16:07 theborg72

Image

here is the local one that I backed up and am uploading to the new server Image

but I think I laid it according to the following description Image

it doesn't seem to find it. despite it following the description Image it requires old disk space and restores then it does not allow a new disk but it gives an error

I tried a full restore with the following and got it to work I had to manually add docker cp ~/bbs-backup-2026-06-26_161701.tar.gz bbs:/tmp/ then run it and it worked. docker exec -it bbs /var/www/bbs/bin/bbs-restore /tmp/bbs-backup-2026-06-26_161701.tar.gz

but I tried running a restore with the backup file Image

but I think an upload and restore button would solve it.

theborg72 avatar Jul 02 '26 18:07 theborg72

A new feature is being release that lets you scan for repos and it will move it to the proper place. this is good for people that are importing from another server where BBS didn't know about the repo previously. You'll need the repo's password if encrypted.

Image

marcpope avatar Jul 03 '26 13:07 marcpope