Jon,
On Tue, Sep 22, 2009 at 02:44:50PM -0400, Jon LaBadie wrote:
> On Tue, Sep 22, 2009 at 09:42:29AM -0400, 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]*"
> > }
> >
> > I'm hoping to keep the mount points for the samba shares (20+)
> > as separate DLEs, as they are far larger and will be far less
> > numerous than user directories.
> You might want to include a catch-all, something like below:
So it will work ? I was afraid of what would happen if I tried
to snapshot the directories that way, that are all unique mount
points, not just subdirectories of /export/home.
The grep is meant to exclude the current snapshots in the pool.
[finsen/export] zfs list | grep -v \@ | more
NAME USED AVAIL REFER MOUNTPOINT
finsenp 148G 397G 32.9K /finsenp
finsenp/export 148G 397G 34.7G /export
finsenp/export/home 50.7G 77.3G 114K /export/home
finsenp/export/home/agaupel 32.9K 9.97M 32.9K /export/home/agaupel
finsenp/export/home/along 32.9K 9.97M 32.9K /export/home/along
finsenp/export/home/amanda 5.60M 77.3G 5.31M /export/home/amanda
finsenp/export/home/bhowland 9.71G 2.29G 9.71G /export/home/bhowland
finsenp/export/home/brainard 32.9K 9.97M 32.9K /export/home/brainard
finsenp/export/home/cbryant 32.9K 9.97M 32.9K /export/home/cbryant
> finsen /export/home-others /export/home {
> zfs-snapshot
> include "./[!a-z]*"
> }
Absolutely, you've meantioned it before and I've always thought
I had things covered, but looking I see a directory /export/home/TEST
that would have been skipped.
> that you expect to be empty (or not :) but which will get
> the ones that don't match the 26 specific DLE's. Though it
> will not get "dot-dirs" under /export/home.
That goodness no dot-dirs here.
> Should your starting dir, /export/home, be the actual dir that
> you snapshotted. Or should it be some other dir where you mount
> the snapshot?
Not quite sure I understand, but I think this goes back to the
first question, about these actually being different mount points.
Will this
finsen /export/home-A /export/home {
zfs-snapshot
include "./[a]*"
}
actually create snapshots, which is what is happening now, with
the individual DLEs for each user.
finsenp/export/home/agaupel@amanda-_finsenp_export_home_agaupel
finsenp/export/home/along @amanda-_finsenp_export_home_along
finsenp/export/home/amanda @amanda-_finsenp_export_home_amanda
Though if something else, equally good happened I'd be happy,
I just don't really know what will happen.
thanks,
Brian
> --
> Jon H. LaBadie jon AT jgcomp DOT com
> JG Computing
> 12027 Creekbend Drive (703) 787-0884
> Reston, VA 20194 (703) 787-0922 (fax)
---
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.
|