Networker will only list the full path if you define the full path to backup.
IF you run a save from the client it will only backup the mounted file systems
seen under /etc/vfstab for Solaris or drive partitions defined to a Windows
server. IT will back all subdirectories and data but you will only see the file
system as a saveset. You will see all of the data if the saveset is still
browsable and you did a CLI recover or a GUI based recovery and you can pick
off whatever file you want. The only way to do what you are looking for is to
specify each file as a unique saveset. Depending on your browsable retention
your INDEX file system could become too big to manage. I have taken special
backups for clients on only backed up specific directories or files but this
should be on an ad-hoc basis.
Ed Coty
Open Systems Storage Engineering, LCNA
973-533-2098
-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU]
On Behalf Of Faidherbe, Thierry
Sent: Friday, January 20, 2006 11:56 AM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] RE : [Networker] How to save multiple paths?
If I understood you correctly, to achieve your requirements, you have to start
1 save cmd per file you want to backup.
Doing so, Saveset name will be the file name with its full path.
So, just save -c client -b pool [-w browse pol] [-e/-y ret pol]
... [-l level] /usr/mydir/myfile.txt
Saving different files a time will be done in a common SSID, with a common path
(per design)
HTH,
Th
Kind regards - Bien cordialement - Vriendelijke groeten, Thierry FAIDHERBE HP
Services - Storage Division
Tru64 Unix and Legato Enterprise Backup Solutions Consultant
********* ********* HEWLETT - PACKARD
******* h ******* 1 Rue de l'aeronef/Luchtschipstraat
****** h ****** 1140 Bruxelles/Brussel/Brussels
***** hhhh pppp *****
***** h h p p ***** 100/102 Blv de la Woluwe/Woluwedal
***** h h pppp ***** 1200 Bruxelles/Brussel/Brussels
****** p ****** BELGIUM
******* p *******
********* ********* Phone : +32 (0)2 / 729.85.42
Mobile : +32 (0)498/ 94.60.85
Fax : +32 (0)2 / 729.88.30
I N V E N T Email/MSN : thierry.faidherbe(at)hp.com
Internet : http://www.hp.com/ <http://www.hp.com/>
________________________________
De: Legato NetWorker discussion de la part de George Sinclair
Date: ven. 20/01/2006 16:57
À: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Objet : [Networker] How to save multiple paths?
How can I run the save command and tell it to save multiple paths and have
NetWorker list the full paths separately in the save set recover window or
mminfo command?
Instead, NetWorker seems to insist on recording only the part of the path that
is common to all the paths. I tried this command on the client:
save -s server -b pool -l level /home/dir/file1.txt /home/dir/file2.txt
When I check save set recover, I only see /home/dir/ listed, not each path. I
tried listing them in an input file and then re-ran it with '-I'
option, but that does the same thing. Seems that as soon as 2 or more paths are
listed, NetWorker insists on wrapping it all together under the parent
directory (in this case /home/dir/) or whatever is common to all of them. I
tried this, too:
save -s server -B -n -b pool -l level -I /tmp/input_file
It indicates that, again, the pathname will be /home/dir/
It works if I use the GUI. Why not on the command line? Am I going to have to
write a script that forks multiple instances of itself to save each path?
Here's what I'm trying to accomplish. I wanna be able to login to the client,
cd to the directory, and run a script that will determine which files have not
been backed up and then it will back them up, say 4 at a time (client
parallelism) so that each path is listed separately when I look at mminfo or
saveset recover. Otherwise, it's hard to keep track of what was backed up when
if just wraps all the files up into one saveset name. These are special gzipped
database dump files that are created a few times a month, and I need to be able
to identify them separately by name. I would prefer not to have NetWorker back
up each one, one at a time, since that takes longer, and it's more shoe shining
on the drives, but other than launching multiple saves, that seems to be the
only way?
Any help would be appreciated.
George
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 wit 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 wit 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
wit 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
|