Hello,
Can you break up your home directory structure itself, meaning something
like:
/export/home1/[a-f]*
/export/home2/[g-l]*
/export/home3/[m-r]*
/export/home4/[s-z]*
Then set your saveset to backup /export/home1, /export/home2,
/export/home3, /export/home4? That would be a lot less savesets in the
saveset field..
-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of Rick Reineman
Sent: Wednesday, November 18, 2009 2:18 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Wildcards For Directory Backups?
Hello, I'm interested in breaking up home directories into several
savesets. This is on a UNIX (Solaris) server running Legato 7.5.
I've run across some stuff on the web that indicates that this is not
possible, but that info was pretty old. Specifically what it said is
wildcards work for files, not directories.
I would like to configure some savesets like:
/export/home/[a-f]*
/export/home/[g-l]*
/export/home/[m-r]*
/export/home/[s-z]*
Obviously we're using standard sh wildcard expansion.
I have done a quick experiment:
save -n -c cluster -l incr /export/home/[abc]*
The report indicated that Legato would expand the wildcards and backup
those directories that beging with a, b or c.
When we enter the same line in the GUI for the client, Legato fails
with:
/export/home/[abc]*: No such file or directory
We've done some experimenting with nsradmin and it appears that we can
automate the addition of a new home directory backup. The problem with
this is the client saveset configuration is several hundred lines long.
Not a show stopper but looks a little ugly and more difficult to
manage.
By itself this ability would be a nice way to breakup a huge home into
many savesets. In my case the problem is exacerbated by the fact that I
am using ZFS to create a filesystem for each users home. Since each
users home is a filesystem now I must have a specific saveset entry for
each home. It's no longer just a way to breakup a large home directory.
I am familiar with using directives to break a huge filesystem into many
savesets. Don't see how that applies here.
So, anyone have any ideas?
Thanks,
Rick
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|