When did Sun offer  zfsdump and zfsrestore to Solaris/openSolaris ?

=== found in ZFS best practice document

The zfs send and receive commands are not enterprise-backup solutions.
The receive operation is an all-or-nothing event, you can get all of a
snapshot or none of it. If you store the output of zfs send on a file or
on tape, and that file becomes corrupted, then it will not be possible
to receive correctly and none of the data will be recoverable.

See RFE CR6736794. Enterprise backup solutions, as well as other copying
methods, such as cp, tar, rsync, pax, cpio, and so on, are more
appropriate for backup/restore than zfs send/receive.
====

Sun said ZFS is unlimited ! Very well, but I found no standard simple backup 
solution (aka zfsdump/zfsrestore). 

So I have tried cpio the best one among  pax, tar, rsync, pax, cpio, and so on 
... (because cpio handle multivolume/incremental backup with find, etc.)

My basic backup cpio command is :

cd /zfs
find . -xdev -depth -print | \
  cpio -aocP@ -C 64512  -M "Mount next cartridge" -O /dev/rmt/0h

with -c option cpio is limited to 4 Gb and I get errors  on file like the 
CentOS-5.3-x86_64-bin-DVD.iso or openSUSE-11.1-DVD-i586.iso (files bigger than 
4 Gb are not exceptions today in parallel computing for example).

If I replace "-c" cpio option with "-H ustar",  files > 4 Gb are OK but max 
pathname length decrease from 1023 (with -c) to 255 (with -H odc).

Path longer than 255 are not exceptions today (web server with CMS  for 
example).

So "zfs send" AND "cpio" are not reliable to backup ZFS fs. It's a problem 
every time I have isolated DMZ server with local DAT that can't access to my 
enterprise backup solution.

Adding option "-H zfs" allowing 1023 pathname and big files to cpio could be a 
waiting solution.

When did Sun offer  zfsdump and zfsrestore to Solaris/openSolaris ?

I have tried this solution :

...
...
zfs snapshot -r $snapshot
zfs send -R $snapshot  | dd of=$device bs=126b conv=sync
zfs destroy $snapshot


but with this method I found two problems :

1 :  I did not found how to list the tape archive content
2  : I did not found how to restore a single file

How can I solve them ?
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to