Highlighted
Vamsi_P
2 Iron

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

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
pawankumawat
3 Argentium

Re: Exclude

Jump to solution

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

0 Kudos
9 Replies
pawankumawat
3 Argentium

Re: Exclude

Jump to solution

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

0 Kudos
Vamsi_P
2 Iron

Re: Exclude

Jump to solution

Thank you for your fast response..

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

0 Kudos
Vamsi_P
2 Iron

Re: Exclude

Jump to solution

And also what about to the Unix clients

0 Kudos
pawankumawat
3 Argentium

Re: Exclude

Jump to solution

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

0 Kudos
pawankumawat
3 Argentium

Re: Exclude

Jump to solution

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

J_H_
3 Zinc

Re: Exclude

Jump to solution

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.


0 Kudos
Vamsi_P
2 Iron

Re: Exclude

Jump to solution

Thanks for the information

0 Kudos
Eagle-Detroit
1 Copper

Re: Exclude

Jump to solution

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

0 Kudos
J_H_
3 Zinc

Re: Exclude

Jump to solution

3 separate lines like you have it.

0 Kudos