Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"forget" in skip-Directive doesn't work.

Status
Not open for further replies.

norestore

Technical User
Feb 7, 2005
27
CH
Hi all,

I try to setup the following directive for Saveset E:

-------------------------------
<< "E:\oracle\P30" >>
+skip: .

<< "E:\oracle\P30\920" >>
forget
-------------------------------

So, NetWorker should backup "E:", but skip the whole folder "P30" except the subfolder "920".

Note: "P30" is the only folder in "E:\oracle".

The skip works correct, but somehow the forget isn't recognized. All of the data, also below P30 is skipped.


Any ideas?

Thanks and Regards
Martin
 
Try using "always" instead and see how that works, like this:

-------------------------------
<< "E:\oracle\P30" >>
+skip: .

<< "E:\oracle\P30\920" >>
always: *.*
-------------------------------

Cheers!
Maverick
 
Hi Maverick,

thanks for your suggestion.

I already thought about "always".

According to the Legato Manual it does:
"Always" backs up the specified files, independent of the change time of the file, and ignores the scheduled level. This ASM can be used to ensure that important client files that change constantly are always fully backed up.

Because I don't want to backup the data always "full", I guess this isn't the correct sulution.

In the meantime I found this in the KnowLedge Base:

Legato Solution: legato11295

You must configure both the directive and save set in a specific way for the forget directive to work correctly. Below is an configuration example:

If you want to skip a directory called DIR1 but would like to backup a sub-directory under that directory called SubDIR1, you must configure the client's save set and directive in the following way:

Save Set:

/DIR1
/DIR1/SubDIR1

Directive:

<< "/DIR1" >>
+skip: .
<< "/DIR1/SubDIR1" >>
forget

----------------------------------

So I entered the saveset "E:\oracle\P30\920" in addition to my Client definition, and now the "forget" statement does what is should.

hmmm... would be nice, if Legato could add this little information to the Admin-Guide.


Thanks anyway and regards
Martin
 
You have to reverse the procedure. Once NW has excluded a directory, it will not go further down and include a subdirectory.

Run includes (always) before skips.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top