Replies: 10 comments 2 replies
-
|
Hi! |
Beta Was this translation helpful? Give feedback.
-
|
Maybe this helps: what you want to do can be done with custom shell commands. I do something similar for my vm backups, although I run borgmatic for backing up and vorta only for viewing: This script finds the latest snapshot and bind-mounts them to another path. I ignored the images path so that borg does not backup images of currently running vms. I see no reason why this couldn't be turned into two shell scripts for pre/post in vorta, although you may need to setuid them. |
Beta Was this translation helpful? Give feedback.
-
|
I was going to open a feature request just like this, to support btrfs snapshots and LVM snapshots, when available. It's really sad to know it's out of Vorta's scope: I think source consistency is a really important aspect in a backup application, too often underestimated. Also, I think that conceptually this is as simple as creating snapshots of source folders before running borg create, properly adapt exclusion rules to the new source locations, run borg create on the snapshot mount points and finally unmount the snapshots at the end. I really hope you can reconsider. IMHO, it would be an excellent and valuable "plus" feature for Vorta. |
Beta Was this translation helpful? Give feedback.
-
|
I still think that this shouldn't be part of Vorta, but I am curious what this would help you. |
Beta Was this translation helpful? Give feedback.
-
|
I won't be the same unless no write activity is in progress on those files. If borg could back it up instantly, then yes, it would be the same. But if it takes, say, 5 minutes to terminate the job (start on |
Beta Was this translation helpful? Give feedback.
-
|
Okay, that is indeed a valid point |
Beta Was this translation helpful? Give feedback.
-
|
Id just like to add that most backup solutions for example windows use volume shadow copy, which is esentially a BTRFS snapshot. And i believe MacOS offers a similar feature. |
Beta Was this translation helpful? Give feedback.
-
|
Hello all. I ran into this discussion while researching this topic and figured out a solution I'm satisfied with. As has been pointed out, running a backup on your live home directory could lead to an inconsistent backup, as Borg is not instant. To avoid this, I've created a pre-backup script that snapshots home, lets Vorta create a backup from this snapshot, then a post-backup script that deletes the snapshot, utilizing BTRFS. This was tested on the latest stable Aurora-dx image (42.20250727.1). First, decide where you want the snapshot to reside. I've created a $ mkdir $HOME/.snapshotsNext, you must allow your user to run the btrfs snapshot commands without authentication if you want this to be seamless. Exercise caution, as you don't want to delete the wrong subvolume. Ensure you replace Lastly, you configure Vorta. Post-backup: Done! From now on, every time Vorta runs, it'll make a snapshot of |
Beta Was this translation helpful? Give feedback.
-
|
Interesting. We should document this. |
Beta Was this translation helpful? Give feedback.
-
|
For anyone searching for a block device level solution; https://github.com/datto/dattobd |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using OpenSUSE and therefore BTRFS with Snapper. Therefore it would be nice to have an integration for snapper and btrfs snapshots in Vorta.
Idea:
When Backup starts, Vorta creates a Snapshot of the Filesystem via either snapper or direct btrfs command. After the snapshot is created, Vorta creates the backup automatically from this snapshot.
Beta Was this translation helpful? Give feedback.
All reactions