Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

6598

February 17th, 2014 05:00

Exclude

Team,

In windows client, If we want to exclude any specific files or folders, In what are they way I exclude them from the routine backups

355 Posts

February 17th, 2014 05:00

Hello,

To skip Drive/Folder/Files –

  1. Create avtar.cmd file under C:\Program files\avs\var location on client.
  2. To skip a whole drive, add following entry in avtar.cmd file –
    • --exclude=D:\**
  3. To skip a whole folder, add following entry in avtar.cmd file –
    • --exclude=C:\Users\**
  4. To skip a folder which name contains space, add following entry in avtar.cmd file –
    • --exclude=”C:\Program Files”
  5. To skip a file with specific extension within a folder and all subfolders, add  following entry in avtar.cmd file –
    • --exclude=C:\Windows\debug\**.log
  6. To skip a file with specific extension within a folder without skipping in subfolders, add following entry in avtar.cmd file –
    • --exclude= C:\Windows\Globalization\*.nlt
  7. To skip a specific file within all drives, add following entry in avtar.cmd file –
    • --exclude=*\filename
  8. To add anything as a comment, use following syntax –
    • # This drive is excluded as per ticket ABC1234

Regards,

Pawan

52 Posts

February 17th, 2014 05:00

Thank you for your fast response..

If we have multiple folder or files? Can we add in the next line rite?

355 Posts

February 17th, 2014 05:00

Hello,

For Linux/Unix, place the avtar.cmd to /usr/local/avamar/var/ directory.

Format will be similar, only slash will go as "/" instead of "\"

I have not tried it personally for Linux/Unix, but I hope it will work.

Regards,

Pawan

355 Posts

February 17th, 2014 05:00

Hello,

You can use multiple lines but format should be similar given in my last post.

Hope this will be helpful.

Please mark my answer correct if it works for you

Regards,

Pawan

52 Posts

February 17th, 2014 05:00

And also what about to the Unix clients

498 Posts

February 17th, 2014 13:00

The examples give above of editing the avtar.exe file is for each server.

you also have the option of global exclude via your DATASET.

you can put an exclude in your dataset and it will be excluded from all servers that use that dataset.


52 Posts

February 18th, 2014 01:00

Thanks for the information

1 Message

February 7th, 2017 08:00

What about if I have multiple mount point in Linux.

do I need to put like that

--exclude=/oracle/*

--exclude=/mnt/*

--exclude=/var/*.log

or can I put in one line. Let me know

498 Posts

February 7th, 2017 10:00

3 separate lines like you have it.

No Events found!

Top