Amanda-Users

Re: NFS strangeness

2006-09-09 00:25:52
Subject: Re: NFS strangeness
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 8 Sep 2006 22:38:55 -0400
On Fri, Sep 08, 2006 at 04:51:08PM -0700, Steffan Vigano wrote:
> Frank-
> 
> Thanks so much for your reply... that did the trick!   I knew it had to 
> be something simple...   I'll be adding that to the Amanda Wiki for 
> future users.
> 
> Thanks again
> -Steffan
> 
> Frank Smith wrote:
> >Dump works on devices, not filesystems, so it won't work on an NFS mount.
> >Tar works on filesystems, but Amanda calls it with the option to not
> >cross filesystem boundaries, so a backup of /nfs in your case will
> >just give you the local files in /nfs and not mounts under /nfs.
> >  If you are trying to backup /nfs/remotedir, add /nfs/remotedir
> >to your disklist and it will do what you want.  I backup our legacy
> >NetApps via an NFS mount this way and it works fine.
> >

If you have several nfs mounts under /nfs and want them all backed
up as a single DLE, you could do a set of "include" directives
in the dumptype.

    host /nfs  NFSDIRS {
         user-tar
         include file        "./rmtdir1"
         include file append "./rmtdir2" "./rmtdir3"
         include file append "./rmtdir4"
    }

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>