Unsolved

This post is more than 5 years old

1 Rookie

 • 

10 Posts

2825

May 1st, 2011 06:00

how to create root .nsr file with the Full directory to exclude. (skip)

Hi

How are you all

i have an AIX 6.1 i have a mount point have a lot of corrupted files and directories for that i want to skip taking backup for this directories and files .

i want to use root to create .nsr file to skip all the corrupted files under my mount point .

186 Posts

May 2nd, 2011 23:00

I have the same problem on windows for this directory. I have created an nsr mount point to my root volume and have this replicated to a second SAN in our Second Data Centre.

I have access to a tool like robocopy, one thought i did have but have not tried it due to the amount of other things i have on was to robocopy the .nsr folder to another location and see if i could leave the corrupted directories behind then blits "Delete" or Format the mount point and copy the data back.

Have i got round this problem, No, so really all in all it was a waste of time posting to you.

Might be somthing you want to try if you have time.

Sorry i couldn't have been more help.

10 Posts

May 3rd, 2011 04:00

Hi, mohammed151,

mm, what about an old-fashioned

<< /your/directory/ >>

+skip: *

?

4 Operator

 • 

14.3K Posts

May 3rd, 2011 04:00

mohammed151 wrote:

Hi

How are you all

i have an AIX 6.1 i have a mount point have a lot of corrupted files and directories for that i want to skip taking backup for this directories and files .

i want to use root to create .nsr file to skip all the corrupted files under my mount point .

.nsr under UNIX will work for current partition so you would place .nsr under mnt root.  From there is it's easy - just skip whatever you want.  I personally would use server side directives instead of client side ones.

1 Rookie

 • 

10 Posts

May 3rd, 2011 04:00

the problem is i have two corrupted directories and for that i must use

the .nsr in the root .

please advice

1 Rookie

 • 

10 Posts

May 3rd, 2011 22:00

Good Day

thanks for your replay .

please can you give me an example

4 Operator

 • 

14.3K Posts

May 7th, 2011 13:00

Well, not sure what you want to skip, but here is few examples.

<< /var >

skip: *.[Ll][Oo][Gg]

Above will skip everything with log extension (not matter what casing is used) in /var only (does not apply to subfolders like /var/adm/syslog or /var/log)

<< /var >

+skip: *.[Ll][Oo][Gg]

By adding + in front of skip we instruct save on to ignore subfolders containg log extensions as well.

To skipp everything under specific folder and below you can use:

<< /path/to/specific/point >>

+skip: .?* *

On Windows client systems, path needs to be quoted... for example:

<< "G:\ECC\Repository\oradata\rambdb" >>

+skip: .?* *

If you use spacing in names (like Program Files) then you can use / instead of \ (yes, it works).

Some UNIX rules apply to Windows handling too... for example, if you have Exchange servers with data on different places as every Windows admin has its own standard or for any other reason and you want to have single directive, nice trick is to use / as path which means all paths in Windows world.  For example:

<< / >>

+skip: PRI*.edb

+skip: E0*.log

+skip: E0*.jrs

(quotes are not required).

... or for SQL:

<< / >>

+skip: *.mdf *.ldf

Once you create directive you want, assign it to client and that's it.

No Events found!

Top