PBS using VE ZFS?

xorcz

New Member
Jun 14, 2020
5
0
1
46
I built a new VE server with 2 SSD and let installator to create ZFS RAID 1. I also installed PBS to this server. Is it possible to use ZFS of the VE to create incremental backups of VMs? And then move them to NAS?
 
You already got PBS for something like incremental backups (actually PBS only does full backups but they won'T need more space than incremental backups because of deduplication). If you want to store the backups on your NAS instead of the local SSDs you could use a NFS share as your PBS datastore. But keep in mind that PBS was only designed with local SSDs in mind so performance might not be great.
 
Slightly off topic - I just purge old backups from PBS (installed as VM with datastore on PVE with SSD ZFS). PVE is performing great, backups also. Purge seems slow, it started yesterday at 18:00 and still running. Is it normal?

Datastore: pbs-vm-ext4 Task ID: UPID:pbs:000002AC:0000018B:00000000:6252FF00:garbage_collection:pbs\x2dvm\x2dext4:root@pam: Index file count: 28 Removed garbage: 0 B Removed chunks: 0 Removed bad chunks: 0 Leftover bad chunks: 0 Pending removals: 256.068 GiB (in 116843 chunks) Original Data usage: 1.781 TiB On-Disk usage: 115.946 GiB (6.36%) On-Disk chunks: 52721 Deduplication Factor: 15.73

and now

Datastore: pbs-vm-ext4 Task ID: UPID:pbs:000002AC:0000018B:00000074:62548FC8:garbage_collection:pbs\x2dvm\x2dext4:root@pam: Index file count: 30 Removed garbage: 0 B Removed chunks: 0 Removed bad chunks: 0 Leftover bad chunks: 0 Pending removals: 100.463 MiB (in 47 chunks) Original Data usage: 1.938 TiB On-Disk usage: 140.685 GiB (7.09%) On-Disk chunks: 63689 Deduplication Factor: 14.10 Garbage collection successful.