You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is currently possible to back up a ZFS as a file system, but you have to do without all the advantages of ZFS such as encryption, volumes, Qutas etc. It would therefore be better if there were a native C/C++ module. I had a look at the libzfs and libzfs-core library, which comes with ZFS. You would actually find everything here. Incremental backups would then be possible for the datasets and full backups for the volumes (also as part of an incremental backup).
When restoring, you can do exactly the same as with the databases, where you write the restore directly to ZFS again or store it as a "zfs receive" blob. Depending on how you specify the destination.
Proposal
sample code for an file set using this plug-in
Plugin = "zfs"
":tanks=" # default "all" tanks, list of tanks or " none" to specify volumes/datasets
":exclude-datasets=" #default none exclude, when tanks will be all or list
":exclude-volumes=" #default none exclude, when tanks will be all or list
":datasets=<tank/foo, tank2/bar>" #set of datasets to backup when :tanks will be "none"
":volumes=<tank/bar, tank2/foo>" #set of volumes to backup when :tanks will be "none"
":snapshot-prefix=" #prefix for the dataset snapshots in the ZFS world for backps, default: bareos
Tracking Issues
No response
The text was updated successfully, but these errors were encountered:
Hi,
thank you for the idea. We already work on a lot of storage system support code. However, ZFS is not one of our priorities and will probably not be implemented unless somebody funds the development.
Of course, we are always happy to accept external contributions though.
I picked up the spring glove and started the implementation in a fork.
As I only have a little time, it may take a while, but I'm trying to keep the fork synchronised with the master so that when it's "finished" it can easily be transferred to the master.
Use case
It is currently possible to back up a ZFS as a file system, but you have to do without all the advantages of ZFS such as encryption, volumes, Qutas etc. It would therefore be better if there were a native C/C++ module. I had a look at the libzfs and libzfs-core library, which comes with ZFS. You would actually find everything here. Incremental backups would then be possible for the datasets and full backups for the volumes (also as part of an incremental backup).
When restoring, you can do exactly the same as with the databases, where you write the restore directly to ZFS again or store it as a "zfs receive" blob. Depending on how you specify the destination.
Proposal
sample code for an file set using this plug-in
Plugin = "zfs"
":tanks=" # default "all" tanks, list of tanks or " none" to specify volumes/datasets
":exclude-datasets=" #default none exclude, when tanks will be all or list
":exclude-volumes=" #default none exclude, when tanks will be all or list
":datasets=<tank/foo, tank2/bar>" #set of datasets to backup when :tanks will be "none"
":volumes=<tank/bar, tank2/foo>" #set of volumes to backup when :tanks will be "none"
":snapshot-prefix=" #prefix for the dataset snapshots in the ZFS world for backps, default: bareos
Tracking Issues
No response
The text was updated successfully, but these errors were encountered: