This post is more than 5 years old

1 Rookie

 • 

12 Posts

2239

December 14th, 2014 04:00

Backing up structural directory and skip the data


We have  linux client configure with Networker backup .We want back it up structural directory and skip the data .

I have refering the ASM document  but not geting clearity .

Could anyone help us to configure this backup .

6 Operator

 • 

1.3K Posts

December 22nd, 2014 07:00

Yes , your syntax is wrong. it should be

<>

     +null: *.*

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

December 14th, 2014 15:00

Use null directive (similar to skip) as documented in uasm manual.

1 Rookie

 • 

12 Posts

December 21st, 2014 01:00


Hi hrvoje thanks for being with us .

I fallowed the UASM manuall but not getting cleare idea .

i have directory called  /data  i want to backup this directory structure only  and skiping the data inside it .

Could you provide me the sytax of UASM for backing this directory structure  and wher we have to mention this syntex in client resource ..

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

December 21st, 2014 03:00

Create either server side or client side directive (see man for nsr_directive) - I would suggest server side one.  You probably know how to use skip directive - null is the same just instead of skip type null.  There is also old article available about null and skip which I believe is still valid today (see Basics – Null vs Skip Directives).

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

December 22nd, 2014 06:00

Is /data file system or folder within /? I would change null like to:

+null: .?* *

Next, I would test client side thingy as well just to see what is going on.  For client side one, create .nsr in /data with above line.

1 Rookie

 • 

12 Posts

December 22nd, 2014 06:00

Hi

i created the directives with ASM syntax  as below .

< /data >

+null: *.*

and selected this directives in client resource . in saveset attribute i mention saveset as /data .

after excuting the backup its taking full backup of /data including its all content  of subdirectories  .

is there anything i missing here.

i donot want to backup the content of this directory .

I want only structure of this directory to be backup ..

kindly provide some usefull hint .i am strucked in this .

155 Posts

December 22nd, 2014 07:00

I would recommend you to go with client side directive, that is more effective

1 Rookie

 • 

12 Posts

December 22nd, 2014 09:00

its now working . as hrvoje said i chnged the syntex into +null: .?*

now i am able to backup directory structure with  size 1 KB

Thanks to  all for providing your valueable comments .

6 Operator

 • 

1.3K Posts

December 23rd, 2014 01:00

Excellent !! Please mark H's solution as correct and close as thread as answered.

0 events found

No Events found!

Top