Christian Pélissier <[email protected]> wrote:

> When did Sun offer  zfsdump and zfsrestore to Solaris/openSolaris ?
>
> 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.
> ====

cp is not intended to be used for backups (does not support file types besides 
lain files and directories)

pax exists only for POSIX compliance and is not a beloved program

cpio is a non-extensible program and outdated (either limited to 8 GB files and 
maxuid/maxgrp is 262143 or limited to 4 GB files and 32 bit uid/gid). cpio is 
therefore no longer an actively maintained POSIX archive format.

> 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.)

cpio is the worst from your list. cpio does not support multivolume/incremental
as it does not write volheaders, for the rest see above.

> 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).

This is an implementation bug from Sun cpio than cannot be changed without 
losing SYSVr4 compatibility.


The best solution is to use star. Star supports real reliable multi-volume 
archives
and star supports incremental backups.

Max PATH name length is currently 1023 but will soon increase to infinite 
length.

There is no file size limitation in star (if you use the "exustar" format).

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to