I have to backup many filesystems, which are changing and machines are heavy 
loaded.
The idea is to backup online - this should avoid I/O read operations from 
disks, 
data should go from cache.

Now I'm using script that does snapshot and zfs send.
I want to automate this operation and add new option to zfs send 

     zfs send [-w sec ] [-i <snapshot>] <snapshot>

for example

    zfs send -w 10 pool/[EMAIL PROTECTED]

zfs send then would:
1. create replicate snapshot if it does not exist
2. send data
3. wait 10 seconds
4. rename snapshot to replicate_previous ( destroy previous if exists )
5. goto 1.

All snapshot operations are done in kernel - it works faster then.
I have implemented this mechanism and it works.

Do you think this change will be integrated to opensolaris ?
Is there chance this option will be available in Solaris update 4 ?

Maybe there is other way to backup filesystem online ?
I tried to traverse changing filesystem, but it does not work.
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to