use zfs replication for Solaris 11 DR backups
Hi,
I'm trying to backup Solaris 11.1 servers ( local ZFS storage) with zones.
I've been trying for some time to script ZFS replication of pools between two Solaris11.1 servers.
I started with something like:
Full backup:
host1# zfs send -rp pool@$today | ssh $host2 "zfs receive -u pool/backups/$host1/pool"
Incremental:
host1# zfs send -i @$yesterday pool@$today | ssh $host2 "zfs receive -F -u pool/backups/$host1/pool"
Obviously, I want to do almost only incrementals (a full backup takes more than 2 days and uses quite some IOPSes).
But after some time, "zfs receive" on the remote host end starts to complain some snapshots are missing. And the backp copy becomes more and more out of sync. Requiring a new full backup replication.
I'm trying to backup Solaris 11.1 servers ( local ZFS storage) with zones.
I've been trying for some time to script ZFS replication of pools between two Solaris11.1 servers.
I started with something like:
Full backup:
host1# zfs send -rp pool@$today | ssh $host2 "zfs receive -u pool/backups/$host1/pool"
Incremental:
host1# zfs send -i @$yesterday pool@$today | ssh $host2 "zfs receive -F -u pool/backups/$host1/pool"
Obviously, I want to do almost only incrementals (a full backup takes more than 2 days and uses quite some IOPSes).
But after some time, "zfs receive" on the remote host end starts to complain some snapshots are missing. And the backp copy becomes more and more out of sync. Requiring a new full backup replication.
0