Networker

Re: [Networker] skip asm in directive

2002-11-14 10:41:16
Subject: Re: [Networker] skip asm in directive
From: Alec Skinner <alec.skinner AT HSBC DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Thu, 14 Nov 2002 15:03:06 +0000
Hi

I had a problem using +skip directives to exclude subdirectories, when we
tried to restore files we could not see the files in the index, we tried
GUI and command line.  It seems that the index is not kept if you use
+skip.  The data was on the tapes but we could only recover it using
"saveset recover" and the "files" option. This was very painful as you need
to type the full path and the restore reads the entire save set.

To cure this we found you can change your directives to use  +nullasm this
will exclude the
files you don't want and keep the index intact.


Also,
As you are using directives to exclude data you might be interested in
another problem I have recently discovered, If a backup group is stopped or
fails and you use the RESTART option Networker ignores the directive, for
us this means no +nullasm and not compression so you end up backing up
loads more date.

(This was running Networker 6.02 under NT4)

Regards Alec

Alec Skinner.
Technical Specialist.
HSBC Bank plc.
Tel: 01903 825488   (Internal: 7215 4488)
Mobile:   07771 841014   (Internal: 7771 841014)
Fax: 01903 825543   (Internal: 7215 4543)
Email:    Alec.Skinner AT HSBC DOT COM





                                               To:      NETWORKER AT 
LISTMAIL.TEMPLE DOT EDU
                                               cc:
                                               Subject:      Re: [Networker] 
skip asm in directive
                                               Our Ref:
          Brendan Sandes                       Your Ref:
          <Brendan.Sandes AT NRE.VIC.GOV DOT AU>

          13  Nov 2002 23:23
          Sent by: Legato NetWorker
          discussion
          <NETWORKER AT LISTMAIL.TEMPLE DOT EDU>

          Please respond to Legato
          NetWorker discussion; Please
          respond to Brendan.Sandes






******************************************************************
 This message originated from the Internet. Its originator may or
 may not be who they claim to be and the information contained in
 the message and any attachments may or may not be accurate.
******************************************************************

Sorry about that.  It seems it was a false alarm.  After I sent the email,
it
seems to have started working . ???!!???

It now does work and if I use the / directory as the root source, it will
quite
happily exclude directories even if they are seperate mount points &
therefore
treated as seperate save sets.

Thanks for responding :-) & sorry for the waste of time.

B




Pamela.Owen AT acs-inc DOT com on 14/11/2002 10:04:25 AM

To:   NETWORKER AT listmail.temple DOT edu, Brendan.Sandes AT nre.vic.gov DOT au
cc:    (bcc: Brendan Sandes/NRE)

Subject:  RE: [Networker] skip asm in directive



You could create two clients, same group, one has saveset
/project/data/DEV,
and one has saveset /project/data/TEST, with different schedules.

-----Original Message-----
From: Brendan Sandes [mailto:Brendan.Sandes AT NRE.VIC.GOV DOT AU]
Sent: Wednesday, November 13, 2002 2:47 PM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: [Networker] skip asm in directive


Hi All.

I'm trying to create a directive on the server that will skip a
subdirectory.
The manual says that skip "omits the specified files and directories from
the
backup" so I'm assuming that it acutally does this.

The situation is that we have a partition /project with two large
directories
(DEV and TEST (about 180GB each) that we want to backup on alternating
nights.
E.g. DEV on Monday and TEST on Tuesday etc.  The way to do this seems to be
to
create two client entries with two seperate groups and use different
directives
(would have been nice to have had the data on seperate partitions I agree).
(I
only mention this to illustrate why I cannot have a .nsr directory in the
top
level)

So I have /project/data/DEV and /project/data/TEST

What I tried to do was to create a new directive that would skip the DEV
directory.
I have a seperate group set up.  I created a sepearate client.  Put the
directive name into the client, browse, retention periods, & added the
saveset
of /project

I have tried the following - none of which work.  It always backs up the
DEV
directory:

skip :  DEV
-------------------------
+skip: DEV
-------------------------
<< /project >>
skip: DEV
-------------------------
<< /project >>
+skip: DEV
-------------------------
<< "/project" >>
+skip: DEV
-------------------------
<< "/project" >>
+skip: "DEV"
-------------------------


I cannot think of any more ways to try it.  Any suggestions?  Every example
I
can find deals with skipping files.

The other thing is, is it possible to do this from the root level?  I have
5
partitions that are mounted which can all contain these directories and I
don't
want to have to change the directive each time we create or destroy a
partition.

Cheers
Brendan

--
Note: To sign off this list, send a "signoff" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=






** HSBC's website is at www.hsbc.com **

********************************************************************
This E-mail is confidential.  It may also be legally privileged.
If you are not the addressee you may not copy, forward, disclose or
use any part of it. If you have received this message in error,
please delete it and all copies from your system and notify the sender
immediately by return E-mail.

Internet communications cannot be guaranteed to be timely, secure,
error or virus-free.
The sender does not accept liability for any errors or omissions.

********************************************************************

--
Note: To sign off this list, send a "signoff" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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