Networker

[Networker] Wildcards For Directory Backups?

2009-11-18 15:19:32
Subject: [Networker] Wildcards For Directory Backups?
From: Rick Reineman <reineman1 AT LLNL DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 18 Nov 2009 12:18:19 -0800
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

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