Announcement Banner
UNSOLVED

ura718

updated

20 years ago

U

ura718

8 Posts

0

2944

February 6th, 2007 09:00

Exclude files/directories

Hi

Is there a way in Legato Networker 6.2 to exclude directories from backing up. For example if I have a directory "C:\Junk" and my save set is set to "All" how can i exclude that "C:\Junk" from backing up while backing up everything else on the C:\

Thanks in advance
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    2007

    0

    Posted February 6th, 2007 10:00

    Yes, this is very well described in administration guide.
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    2007

    0

    Posted February 6th, 2007 10:00

    You can do that with skip or null directive. Bit of advice - 6.2 is not supported anymore so good luck.
  • ura718

    8 Posts

    2007

    0

    Posted February 6th, 2007 10:00

    do you by any chance know the syntax how to implement it?
  • ura718

    8 Posts

    2007

    0

    Posted February 6th, 2007 11:00

    yes i found it in the administration guide, and tried couple of different syntax's as follows
    -----------------
    All
    <<"C:\Junk">>
    +skip:*.*
    ---------------
    All
    <<"C:\Junk">>
    skip:*.*
    -------------
    C:\
    D:\
    +skip:C:\Junk
    ------------
    C:\
    D:\
    skip:C:\Junk
    ------------
    However I am getting an error message after I click ok to all those prevouse settings.

    Error Msg:
    Server "BackupServer_name": save set of All excludes the specification of other save set values for client "client_name"

    Any other suggestions / advice would be greatly appreciated ... Thanks
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    2007

    0

    Posted February 6th, 2007 13:00

    You misunderstood how directives are used so none of your examples is correct. Please read directive manual (available from command line reference guide in documentation section).

    If you define your directive as:

    << "C:\Junk" >>
    skip: *.*
    

    ... it should work.

    You can also check existing predefined directives to get better idea of them and syntax to be used.
  • ura718

    8 Posts

    2007

    0

    Posted February 7th, 2007 07:00

    Thanks for reply

    I have implemented your solution however I am getting the following error message:

    savegrp: saveset < > returned from savefs probe does not match the one specified for client "ClientName", skipping...

    --- Probe Summary ---

    ClientName:< > level=full, dn=-1, mx=1, vers=ssbrowse, p=4
    ClientName:< > level=full, pool=OPCO, save as of Wed Dec 31 07:00:00 GMT-0500 PM 1
    ClientName:+skip: *.* level=full, dn=1, mx=3, vers=ssbrowse, p=4
    ClientName:+skip: *.* level=full, pool=OPCO, save as of Wed Dec 31 07:00:00 GMT-0500 PM 1
    ClientName:C:\ level=full, dn=0, mx=1, vers=ssbrowse, p=4
    ClientName:C:\ level=full, pool=OPCO, save as of Wed Dec 31 07:00:00 GMT-0500 PM 1
    ClientName:index level=full, dn=-1, mx=0, vers=ssbrowse, p=4
    ClientName:index level=full, pool=OPCO, save as of Wed Dec 31 07:00:00 GMT-0500 PM 1
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    2007

    0

    Posted February 7th, 2007 08:00

    You should really read documentation. If we are talking about directive then logic is that what I said applies to directive and not saveset. So, once you create directive with what I said... everything will work - if not it's time to contact your support.
  • Ramdas1

    23 Posts

    2007

    0

    Posted June 25th, 2013 20:00


    Please check the file name on client and the one you are entering into Save set

  • shuler

    17 Posts

    2007

    0

    Posted June 26th, 2013 01:00

    Hi,

    We have just doing some new directives in our enviroment, and in my opinion; the documentation is not really clear about it.

    Please, check this WiKi, for us, was just more clear than the official docs. If external links are not allowed, sorry in advance...

    http://www.backupcentral.com/wiki/index.php/How_do_I_make_my_directive_skip/include_this_file%3F

    Also, as an example in a Linux/Unix enviroment, to exclude a directory is working fine:

    "The first line in blank"

    << /folder_to_exclude >>

        +skip: .?* *

    Important,. keep in mind the first line should be blank then also keep the blank spaces after and before, do it manually: using external editors -> Notepad, Notepad ++, or other is not recomended.

    Hope this helps!

    Regards,

    Alexander