79
submitted 2 years ago by Carunga@feddit.de to c/selfhosted@lemmy.world

Maybe I state the obvious here but anyway:

Tonight I found a super comfi way to browse and restore data from Borg repositories. In vorta you can add any existing borg repository and mount the containing backups in a very functional GUI. Until now I somehow assumed you could only deal with backups created in vorta which is not true.

For context let me explain why I find that so useful: I am using a wonderful Borg / Borgmatic container from the borgmatic collective. It works super reliable. But for restoring files you have to mount the backup in the container and deal with the files inside the container. This can be difficult i.e. when looking for a specific file in a folder with a lot of files (like a foto collection where you accidentally deleted one file).

If any Borg users are out there: I would be interested what your workflows look like.

all 21 comments
sorted by: hot top new old
[-] bloopernova@programming.dev 14 points 2 years ago

I used Borg to backup a bunch of dev servers a few years ago, about 5TB from several dozen hosts, over several years. It worked flawlessly, and its dedupe is downright magical.

The restore workflow, where you just mount a snapshot and copy what you need, is fantastic. Very straightforward and reliable.

[-] Carunga@feddit.de 1 points 2 years ago

Agreed, the dedupe feels like magic!

[-] narc0tic_bird@lemm.ee 13 points 2 years ago

Nice frontend, but honestly the Borg CLI and borgmatic config is so easy and straightforward to use, you shouldn't need any GUI.

May I ask why you are running Borg inside a container? You could just run it directly on the host and that would've solved your problem it seems.

[-] Carunga@feddit.de 4 points 2 years ago

Borg is running on a headless server. Everything is dockerized, so I did the same with Borg. Advantages are that the setup is easy to setup, backup the config and move it to a different server. At first I did not realize that the mount of the backup only exists in the container and that this is making things a little harder.

[-] shadowbert@kbin.social 1 points 2 years ago

Could you mount a blank directory into docker, then use borg to mount the backups into that?

[-] Carunga@feddit.de 1 points 2 years ago

This was the first idea. I cannot explain very well why this does not work. But I think the issue is that the borg mount magic lives inside the container so the filesystem cannot be seen from the host. You can mount an empty directory and copy the files you want to access from the host into it. Problem with that is that you are stuck with the tooling provided by the container.

[-] ebits21@lemmy.ca 9 points 2 years ago* (last edited 2 years ago)

Yeah it’s just a frontend for Borg (which is great).

I just mount and browse in Nautilus. I have a mount script aliased to open-backup.

[-] Carunga@feddit.de 2 points 2 years ago* (last edited 2 years ago)

That does make sense. Could work for me as well. I was just not aware I can mount a repository from a remote host that was created by a different Borg instance on another server and just browse the files like they were local on my notebook.

this post was submitted on 04 Nov 2023
79 points (92.5% liked)

Selfhosted

61827 readers
447 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS