Sturm3

updated

16 years ago

S

Sturm3

27 Posts

0

1907

October 13th, 2010 01:00

Directive Problem

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.

< >
    +skip: *.BAK
    +skip: *.DIF

  • Luis_Rogerio

    116 Posts

    1240

    0

    Posted October 13th, 2010 05:00

    Hi Sturm

    Try put quotes in directory

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

    Regards,

    Luis Rogerio

  • Sturm3

    27 Posts

    1240

    0

    Posted October 13th, 2010 04:00

    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?

  • amediratta

    2 Intern

    •

    2014 Posts

    1240

    0

    Posted October 13th, 2010 04:00

    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.

  • jstamp

    88 Posts

    1240

    0

    Posted October 13th, 2010 06:00

    Interesting.

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

  • Sturm3

    27 Posts

    1240

    0

    Posted October 13th, 2010 06:00

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

  • DavidHampson-rY

    1 Rookie

    •

    294 Posts

    1241

    0

    Posted October 13th, 2010 06:00

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

    < >
         +skip: *.BAK
         +skip: *.DIF

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

  • Sturm3

    27 Posts

    1240

    0

    Posted October 14th, 2010 06:00

    Server is also Windows 2003.

  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    1240

    0

    Posted October 25th, 2010 00:00

    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.