amanda and zfs snapshots

2011-08-13 Thread Léon Keijser
Hi, I'm trying to setup amanda to backup a Nexenta system. I'm using amanda-enterprise on both amanda server and nexenta. We want to use amzfs-sendrecv to backup ZFS volume. For easy configuration we're using ZMC on the server side. Currently we're running into a problem where the zvol can't be

Re: Amanda and ZFS

2008-04-28 Thread Philippe Michel
Anthony Worrall wrote: Hi unfortunately zfsdump, or "zfs send" as it is now, does not relate to ufsdump in any way :-( [...] I wrote a script to use this but I had a problem getting estimates for the incremental snapshots. I have used this script, picked from the list's archive, for about 18

Re: Amanda and ZFS

2008-04-25 Thread Jon LaBadie
On Fri, Apr 25, 2008 at 01:36:35PM -0600, John E Hein wrote: > Jon LaBadie wrote at 13:57 -0400 on Apr 25, 2008: > > Though I've not tried it, it should. > > > > I base that on the description of the command > > > > /usr/sbin/ufsdump [options] [arguments] files_to_dump > > > > and the

Re: Amanda and ZFS

2008-04-25 Thread Pieter Bowman
>> ... >> The gtar devs finally accepted something to help with this problem: >> --no-check-device. >> ... Thanks, I hadn't caught the addition of that option. That also reminds me that the problem isn't the inode number, but the device number which was the problem. Pieter

Re: Amanda and ZFS

2008-04-25 Thread John E Hein
Jon LaBadie wrote at 13:57 -0400 on Apr 25, 2008: > Though I've not tried it, it should. > > I base that on the description of the command > > /usr/sbin/ufsdump [options] [arguments] files_to_dump > > and the belief that the include directive merely provides the args > corresponding

Re: Amanda and ZFS

2008-04-25 Thread Jon LaBadie
On Fri, Apr 25, 2008 at 11:46:34AM -0600, John E Hein wrote: > Jon LaBadie wrote at 10:59 -0400 on Apr 25, 2008: > > 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 roo

Re: Amanda and ZFS

2008-04-25 Thread John E Hein
Pieter Bowman wrote at 11:41 -0600 on Apr 25, 2008: > The final issue I found was that the inode numbers in the snapshots > change each time a new snapshot is created. This is a problem with > GNU tar's listed-incremental facility. To work around this I ended up > hacking GNU tar to make it i

Re: Amanda and ZFS

2008-04-25 Thread Pieter Bowman
) && nfs) || directory->device_number == stat_data->st_dev) && directory->inode_number == stat_data->st_ino)) { I hope this helps other people with using amanda and ZFS. I'm happy to clear up any unclear issues. Pieter

Re: Amanda and ZFS

2008-04-25 Thread John E Hein
Jon LaBadie wrote at 10:59 -0400 on Apr 25, 2008: > 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 "

RE: Amanda and ZFS

2008-04-25 Thread Anthony Worrall
neat > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Jon LaBadie > Sent: 25 April 2008 16:00 > To: amanda-users@amanda.org > Subject: Re: Amanda and ZFS > > On Fri, Apr 25, 2008 at 02:32:27PM +0100, Anthony

RE: Amanda and ZFS

2008-04-25 Thread John E Hein
Anthony Worrall wrote at 14:32 +0100 on Apr 25, 2008: > unfortunately zfsdump, or "zfs send" as it is now, does not relate to > ufsdump in any way :-( Sorry to hijack this thread, but... Can Solaris and/or ZFS snapshots support partial filesystem dumps (and restores)? If not, how do people u

Re: Amanda and ZFS

2008-04-25 Thread Chris Hoogendyk
Anthony Worrall wrote: Hi unfortunately zfsdump, or "zfs send" as it is now, does not relate to ufsdump in any way :-( hmm. I guess I was being a bit naive. I had assumed zfs development was more mature. After reading the comments on this thread, I went searching for references to zfsdum

Re: Amanda and ZFS

2008-04-25 Thread Jon LaBadie
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 fil

RE: Amanda and ZFS

2008-04-25 Thread Anthony Worrall
e --one-file-system option to get around this limitation. Anthony Worrall > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Chris Hoogendyk > Sent: 25 April 2008 13:39 > To: Nick Smith > Cc: amanda-users@amanda.org > Subject: Re

Re: Amanda and ZFS

2008-04-25 Thread Chris Hoogendyk
Nick Smith wrote: Dear Amanda Administrators. What dump configuration would you suggest for backing up a ZFS pool of about 300GB? Within the pool there several smaller 'filesystems'. Would you : 1. Use a script to implement ZFS snapshots and send these to the server as the DLE? 2. Us

Amanda and ZFS

2008-04-25 Thread Nick Smith
Dear Amanda Administrators. What dump configuration would you suggest for backing up a ZFS pool of about 300GB? Within the pool there several smaller 'filesystems'. Would you : 1. Use a script to implement ZFS snapshots and send these to the server as the DLE? 2. Use tar to backup the f

Re: amanda and zfs

2006-03-08 Thread Paddy Sreenivasan
Hi Anthony, Thanks for providing ufsdump wrapper to handle ZFS. When Application API (http://wiki.zmanda.com/index.php/Application_API) is implemented (hopefully in the next Amanda release after 2.5), creating application plugin for snapshot based filesystem such as ZFS will be easier. Issue 1 w

amanda and zfs

2006-03-08 Thread Anthony Worrall
Hi I have playing about with Sun's new filesystem ZFS. One of the things I wanted to do was make sure I could get amanda to backup zfs. The way the backup utility works with zfs is based on snapshots. You can either do a full bakup of a filesystem or the difference between two snapshots. The rest