Hello, I am curious about the state of snapshot management in Bareos (and Bacula). It seems that in the past Bacula at least had ZFS/LVM/BTRFS snapshot support[1] but that seems to have been removed at some point.
To me, the ability of taking backup of a complex filesystem using e.g. BTRFS incremental snapshots[2] seems like a very nice feature to have in Bearos. It seems it would be quite trivial to add support for implementing Full, Incremental, and even Differential backups using these snapshots. Why would I need this? Consistency. I would like to snapshot the filesystem in a point-of-time, not relying on that the file daemon is able to work fast enough for the backup to not diverge too much from when it started to when it finished. I can see two operation modes: 1) File-level: Ideally the file daemon would sense that "hey, this is a btrfs volume, I will take a snapshot to read all the files in the fileset from" and it would be transparent to the sysadmin setting things up. When the backup is complete, the snapshot is removed. Changes are detected using the normal scanning of mtime etc. 2) Filesystem-level: This is more involved but handles complete restores of the full FS using "btrfs send" and "btrfs receive" but changes are instead handled by btrfs, ensuring that all changed data is backed up regardless of timestamps. Thoughts? If I wanted to implement (2), what would be a good way to do that - as a python plugin? -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/CADiuDAS2RqwdGFqsk%3DnBfFGn6mwXhjQLeBfV2H0MM%2BJqKS%2B9jw%40mail.gmail.com.
