Re: Amanda and ZFS
2008-04-25 12:07:53
On Fri, Apr 25, 2008 at 02:32:27PM +0100, Anthony Worrall wrote:
> Hi
>
> unfortunately zfsdump, or "zfs send" as it is now, does not relate to
> ufsdump in any way :-(
>
>
[ big snip ]
>
> One of the properties of zfs is that in encourages the use of a
> filesystem for a logical set of files, i.e. user home directory,
> software package etc.
> This means that every time you create a new filesystem you need to
> create a new DLE for amanda. In fact creating the amanda DLE takes
> longer than creating the zfs filesystem.
>
> You can not just use tar to dump multiple zfs filestems because amamda
> tells tar not to cross filesystem boundaries.
>
> You could probably write a wrapper to tar to remove --one-file-system
> option to get around this limitation.
Another way would be to use include directives. For example, if the
zfs pool was /pool and had file systems of a, b,c, and d, you could
set up multiple DLEs that were rooted at /pool (different tag names)
and had include directives of "include ./a ./c" and another with
"include ./b ./d" While traversing each of the included starting
points (directories), tar would never cross a file system boundary.
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
12027 Creekbend Drive (703) 787-0884
Reston, VA 20194 (703) 787-0922 (fax)
|
|
|