Support ZFS features for Filesystem Backup

I posted this at the SF discussion forum. Unsure if that place is even read anymore, I am also posting here.

I find Webmin’s “Filesystem Backup” module very powerful. I know it is currently possible to use it with ZFS as source directory. Webmin doesn’t care what the underlying filesystem is. While that works fine, it’s not taking advantage of ZFS snapshot and send/receive features.

This is a feature request to add in the ability to schedule a snapshot of an entire pool or specific dataset (zfs snapshot -r Pool/Dataset@snapshotname). We should be able to specify a retention period for a snapshot (that Webmin will go and delete after the specified date) and optionally have Webmin send (pipe) it somewhere (zfs send -r ). “Somewhere” can be another ZFS filesystem (to create a duplicate pool or dataset) or a compressed archive. The destination is either local or remote. Remote is usually piped through SSH.

For some prior art and implementation examples you may be interested in look at these projects:

1 Like

Just use rsync no matter what partition you are in within the Linux or is this Ubuntu palava? If so, ask Ubuntu forums or irc.

I guess @tuaris means to request a webmin module for ZFS management in general, but not for backup strictly.
And I tend to agree that such a module would be a very attractive feature to have.

1 Like

There is a user made module for zfs. https://zfsmanager.wordpress.com/ Although basic and not updated in quite awhile. I have used it for many years. Not all buttons work in Authentic theme, but it lets you easily create, destroy, view pools. Along with create, view, destroy snapshots. Most backup and send/recv I do by cmd line.

Looks cool. I will try it, and perhaps even try to contribute to it. Let’s see if I can fix those buttons.