Oracle Solaris ZFS File System (MOSC)

MOSC Banner

use zfs replication for Solaris 11 DR backups

edited Jun 14, 2013 12:20AM in Oracle Solaris ZFS File System (MOSC) 4 commentsAnswered
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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center