This post is more than 5 years old
498 Posts
0
1176
Exclude with Include Avamar for MAC server
I have a MAC server with a LARGE Volume that I want to exclude from the backup
/Vloumes/Big Guy/
but I want to include a sub dir
/Volumes/Big Guy/Mystuff/want this/
but when the first job ran I keep seeing lines and lines of info
avtar Info <8688>: Status 2018-03-14 21:51:27, 647272 files, 126,040 directories, 30.87 GB (647,256 files, 5.236 GB, 16.96% new) 808MB 62% CPU /Volumes/The Beast/different dir/different dir/different/dir Macintos HD/ more dirs./ a file/
the different dirs. and files are different for reach line but it keeps saying it over and over.
Is it backing that up (because I really don't want it to)
Do I need some kind of wildcarding IN THE POLICY to get it to exclude the Volume but include only that one sub dir?
ionthegeek
2K Posts
0
March 19th, 2018 08:00
I see. We do still have to "stat" the files on that volume to check if they match the include or exclude patterns. You may be better off excluding that volume and running it as a separate job in that case.
J_H_
498 Posts
0
March 19th, 2018 08:00
that is what I have done
Source Data: All Local Macintosh filesystems
Exclusions /Volume/boot image/
/Volume/OS/
/Volume/Big Guy/
Inclusions /Volume/Big Guy/MyStuff/Want this/
the job ran 15 hours before we ran out of time.
but spend that 15 hours looking at stuff in Big Guy
line after line
avtar info 8688 status date time 647,242 files, 126.41 directories, 30.83 GB (231 files.......
/Volumte/Big Guy/Backups/
the number of files and dirs. and the 30.83 GB stay the same, just the file name change
Getting a line about ever 15 minutes.
I don't want it to Look at big guy over and over every run, it will never finish.
Would it be better if I made a job JUST to get that one subdir?
ionthegeek
2K Posts
0
March 19th, 2018 08:00
I think the easiest way to do this is with an include.
Configure the dataset to back up all the volume(s) where there is data you want to back up or use the option to back up all volumes (i.e. make sure /Volumes/Big Guy is covered by the dataset).
Configure an exclude for the specific volume you don't want backed up.
Configure an include for the subdirectory within the excluded volume that you want backed up.
The logic is like this:
Back up every file and directory in the dataset
Unless it's on the exclude list
And it's not on the include list
The exclude list overrides the dataset. The include list overrides the exclude list.