how to allow backup files on a zfs pool?

mfgamma

Renowned Member
Jan 8, 2011
30
4
73
Hi

on pvE4.4 , only disk image and container are allowed by default

when adding the backup file case in /etc/pve/storage.cfg for the specific zfspool it doest not show up in the GUI as an option.

Is it on purpose?

thanks
 
Hi,

You have to create an extra storage from type "dir" to use zfs as backup store.
 
Hi Wolfgang

thanks for the reply.

in fact I was doing that ie defining a dir using as directory the mount point of a dataset

But what triggered my point was I have seen in another track that dir on zfs is "risky"

so what exactly is ok as dir on zfs?

thanks and best regards
Marc
 
But what triggered my point was I have seen in another track that dir on zfs is "risky"
Dir on ZFS is ok, but qcow2 and other strange things are very bad ideas. You create a new dataset for you backups (it is like a dir).
Code:
zfs create mypool/backups
zfs set compression=lz4 mypool/backups
 
Last edited:
Hi,

You have to create an extra storage from type "dir" to use zfs as backup store.
I know this is an old thread, but I'd still want to ask if you can do incremental backups with zfs using the dir storage.
As far as I know, you need to have the zfs logic also on the other side. Otherwise, you'd have to use full backups and you just reimport the files as they are.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!