Amanda-Users

Re: globbing

2009-10-19 11:00:07
Subject: Re: globbing
From: Brian Cuttler <brian AT wadsworth DOT org>
To: Jean-Louis Martineau <martineau AT zmanda DOT com>
Date: Mon, 19 Oct 2009 10:42:40 -0400
Jean,

Sorry for the delay, wanted to make sure the house was in 
order after my return.

Will schedule a test on a single glob (not all 26 of them)
for tonight and see if we can't tell what happens.

On Tue, Oct 13, 2009 at 02:35:41PM -0400, Jean-Louis Martineau wrote:
> Brian,
> 
> It should create a different snapshot for each DLE, if not, then it is a 
> missing feature of amzfs-snapshot.
> Can you test it and confirm it it works or not?
> 
> Jean-Louis
> 
> Brian Cuttler wrote:
> >Jean-Louis,
> >
> >  
> >>This will create two snapshot of /export/home, if they include the 
> >>subdirs, then it should works.
> >>It must be tried.
> >>    
> >
> >but if the snapshots have the same name, /export/home-amanda current,
> >then the second, 3rd... will fail. I have to wonder what happens to
> >uncompleted dumps when the first dump completes and attempts to destroy
> >the snapshot.
> >
> >--
> >
> >I've been away (10-days in Germany) and I no longer recall if
> >I was afraid of leaving as largely untested globing config behind.
> >
> >I left it with dumptype user-tar rather than zfs-snapshot and we
> >have been successfull.
> >
> >I have to note however that the zfs manager is running a nightly
> >snapshot of the zfs mount points each day. A 5/weekly recursive
> >snapshot of the pool, where each new "monday" snapshot destroyes
> >the old and creates a new one. We still have snapshots, but not
> >through amanda. I believe the idea was to allow user directed
> >file recovery, since old files will remain available for 7 days.
> >
> >I may give this (zfs-snapshot) a try in this config now that I
> >am back. If so I will let you know the result. Dangerous to assume
> >I've tested and not resported.
> >
> >                                             thank you,
> >
> >                                             Brian
> >
> >On Wed, Sep 30, 2009 at 10:53:51AM -0400, Jean-Louis Martineau wrote:
> >  
> >>Brian Cuttler wrote:
> >>    
> >>>Using amanda 2.6.1 on Solaris 10 (server x86, client Sparc)
> >>>
> >>>I currently have entries in the disklist like these, currently
> >>>there are 55+ entries.
> >>>
> >>>finsen  /export/home/agaupel    zfs-snapshot
> >>>finsen  /export/home/along      zfs-snapshot
> >>>finsen  /export/home/amanda     zfs-snapshot
> >>>finsen  /export/home/bhowland   zfs-snapshot
> >>>finsen  /export/home/brainard   zfs-snapshot
> >>>finsen  /export/home/cbryant    zfs-snapshot
> >>>finsen  /export/home/cchen      zfs-snapshot
> >>>finsen  /export/home/dkim       zfs-snapshot
> >>>finsen  /export/home/dmuller    zfs-snapshot
> >>>
> >>>Each user directory is its own zfs mount point.
> >>>
> >>>Can I successfully replace them with entries like this ?
> >>>
> >>>I think this will do what I think it does, because I do it
> >>>on other machines, but the zfs-snapshot is a new addition
> >>>to this structure.
> >>>
> >>>finsen  /export/home-A /export/home  {
> >>>       zfs-snapshot
> >>>       include "./[a]*"
> >>>       }
> >>>
> >>>finsen  /export/home-B /export/home  {
> >>>       zfs-snapshot
> >>>       include "./[b]*"
> >>>       }
> >>> 
> >>>      
> >>This will create two snapshot of /export/home, if they include the 
> >>subdirs, then it should works.
> >>It must be tried.
> >>
> >>Jean-Louis
> >>
> >>    
> >---
> >   Brian R Cuttler                 brian.cuttler AT wadsworth DOT org
> >   Computer Systems Support        (v) 518 486-1697
> >   Wadsworth Center                (f) 518 473-6384
> >   NYS Department of Health        Help Desk 518 473-0773
> >
> >
> >
> >IMPORTANT NOTICE: This e-mail and any attachments may contain
> >confidential or sensitive information which is, or may be, legally
> >privileged or otherwise protected by law from further disclosure.  It
> >is intended only for the addressee.  If you received this in error or
> >from someone who was not authorized to send it to you, please do not
> >distribute, copy or use it or any attachments.  Please notify the
> >sender immediately by reply e-mail and delete this from your
> >system. Thank you for your cooperation.
> >
> >
> >  
> 
---
   Brian R Cuttler                 brian.cuttler AT wadsworth DOT org
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.



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