So I've installed PBS on a new server (physical), because the idea seems sound to me. This is basically a comparison, of my current setup, vs switching to PBS. I haven't decided what I'm going to do yet here...
Current Setup:
FreeNas with a NFS export for proxmox to backup into, and then running BackupPC in a jail.
Thoughts on the new setup:
Pros/Cons of PBS
The dedupe is huge. So is the proxmox integration. But this really feels like a "backup proxmox and nothing else" solution right now. The client is just so bad, I can't even express it in words. I thought for sure it would be a daemon and I would be mildly annoyed at having to run it, but this is just... bad. The complete lack of ZFS handling in the gui is pretty bad too.
I'm really going to have to play with it more. I really want to switch over to this, but if I have to maintain a bucket of hacks to make it work, I'm not going to be happy.
Current Setup:
FreeNas with a NFS export for proxmox to backup into, and then running BackupPC in a jail.
Thoughts on the new setup:
- Trying to get freenas to do zfs replication into PBS is a nightmare. I had to spend hours fiddling with different datastore setups, options in freenas, etc etc.
- The proxmox-backup-client is, super icky. Setting up a backup practically requires a custom script per host. There is no way in the GUI to restore TO a host. There is no way to even configure what is backed up in the GUI, it's all done locally per-box.
- There are no zabbix templates available for PBS.
Pros/Cons of PBS
- The deduplication is super nice. I can see saving tons of space like that for my VM backups.
- The integration with proxmox is pretty good.
- The physical client is an abomination.
- ZFS handling is all command line. If I have to swap a disk, it's going to be completely manual.
- No zabbix templates exist, I'll have to roll my own monitoring from scratch.
- Backups seem to be quick, no complaints on speed.
- Trying to setup zfs replication from FreeNAS to PBS is... a disaster. If you use a single datastore, once your syncs are done, the GC jobs for PBS all fail, because some directories aren't writable by backup. Additionally, because you have to run the zfs sync as root, it sets the base of the tree to be owned by root, and pbs gets upset because it doesn't own it anymore. Eventually I had to create multiple ds's and put the PBS controlled backups in their own location, so they could run GC without hitting the zfs replicas. I'm still having problems where it refuses to mount the resulting volumes.. argh...
- Importing disks initially into PBS was difficult. I used some old disks, and it refused to reinitialize them. Eventually I had to dd the heads off of them and manually apply gpt labels.
- Doing a restore on a phys is.. pain inducing.
- I have no idea how I'm going to backup my databases. I guess I have to manually export some NFS?
- I tried to setup physical backups with a user other than root@pam, but I absolutely could not get it to work. The docs are not helpful here either (just create a user and assign it permissions, ok, well, WHAT permissions?)
- Because it doesn't grok what is going on with the ZFS replication, it just sees that the space on the datastore is magically getting smaller. So all the graphs are useless.
- The GUI for backuppc is atrocious
- Running things in jails is a total hack, and it's really hard to admin the jail.
- The client setup for backuppc is super easy. Add the ssh key, install rsync, do all the config in the gui, done.
- No dedupe. vm backups take up an enormous amount of space.
- Retention is a pain for vm backups. (but great for backuppc)
- Replication of ZFS just works.
- BackupPC can backup windows. And Raspberry Pi's. (yes, I know there is an unofficial rpi client, haven't tried yet)
- disk/zfs/export management in freenas is a billion times better.
- BackupPC and FreeNAS both have zabbix templates. And they just work.
The dedupe is huge. So is the proxmox integration. But this really feels like a "backup proxmox and nothing else" solution right now. The client is just so bad, I can't even express it in words. I thought for sure it would be a daemon and I would be mildly annoyed at having to run it, but this is just... bad. The complete lack of ZFS handling in the gui is pretty bad too.
I'm really going to have to play with it more. I really want to switch over to this, but if I have to maintain a bucket of hacks to make it work, I'm not going to be happy.