2 Bronze

Directive Problem

Jump to solution

Hey,

What is wrong with this directive? I am trying to backup only non bak and dif typed files. It ignores the directive and backups all directory. I assigned the directive to the client and the save set is "D:\Backup\ANKDB" also. Server and client version is 7.4.5. Thanks.

<<D:\Backup\ANKDB>>
    +skip: *.BAK
    +skip: *.DIF

0 Kudos
1 Solution

Accepted Solutions
3 Argentum

Re: Directive Problem

Jump to solution

Hi Sturm

Try put quotes in directory

<<"D:\Backup\ANKDB"'>>
    +skip: *.BAK
    +skip: *.DIF

Regards,

Luis Rogerio

View solution in original post

0 Kudos
8 Replies
4 Ruthenium

Re: Directive Problem

Jump to solution

I have had troubles with such directives earlier also so not sure what the problem is. How it worked for me was to create a .dir file in the folder on the client i.e. d:\backup\ankdb with two lines +skip: *.bak & +skip: *.dif. Try this out.

0 Kudos
2 Bronze

Re: Directive Problem

Jump to solution

I will create a dir file under d:\backup\ankdb, its name is important? Anyway I named it same with the groupname. And wrote;

+skip: *.bak
+skip: *.dif

It stil didnt work?

0 Kudos
3 Argentum

Re: Directive Problem

Jump to solution

Hi Sturm

Try put quotes in directory

<<"D:\Backup\ANKDB"'>>
    +skip: *.BAK
    +skip: *.DIF

Regards,

Luis Rogerio

View solution in original post

0 Kudos
2 Bronze

Re: Directive Problem

Jump to solution

Unbeliable, putting quotes worked, thanks. Admin guide used it without quotes !!

0 Kudos
3 Argentum

Re: Directive Problem

Jump to solution

Interesting.

Strum, the client is obviously Windows, however is the Server Linux or Solaris by any chance?

0 Kudos
2 Bronze

Re: Directive Problem

Jump to solution

Server is also Windows 2003.

0 Kudos
7 Thorium

Re: Directive Problem

Jump to solution

That's typical for NW and Windows.  You either use \\, or quotes or / instead of \ and it will work. The way code operates is still the way UNIX works and single \ there means something else.

0 Kudos
3 Argentum

Re: Directive Problem

Jump to solution

You want to skip both *.BAK and *.bak

<<D:\Backup\ANKDB>>
     +skip: *.BAK
     +skip: *.DIF

    +skip: *.bak
    +skip: *.dif

0 Kudos