exclusions

Use this forum for help with AISBackup
Post Reply
jlittle
Posts: 72
Joined: Sun Sep 15, 2002 10:56 pm
Location: Asheville, NC, USA

exclusions

Post by jlittle » Wed Mar 30, 2016 9:50 pm

Hi Barry.
I'm not really familiar with the various symbols used to create file exclusions, and the help files gave some specific examples but didn't seem to address my need exactly. Can you tell me how to exclude any file from any drive that includes the term "cache" somewhere in the file name?
No matter how much I try to ferret them out, every time I run a backup I see file names scrolling by that contain "cache." I'd like to just get rid of them all at once.
Thanks
John

Barry
Site Admin
Posts: 1507
Joined: Tue Aug 20, 2002 3:16 pm

Excluding files from the backup using a partial filename

Post by Barry » Thu Mar 31, 2016 10:04 am

Asterisk means any characters so to exclude all files containing cache you add:

*cache*.*

The ‘.*’ is needed to signify any filename extension.

Barry

jlittle
Posts: 72
Joined: Sun Sep 15, 2002 10:56 pm
Location: Asheville, NC, USA

Post by jlittle » Thu Mar 31, 2016 4:12 pm

Okay, thanks. (A lot simpler than it looks.) :)
John

jlittle
Posts: 72
Joined: Sun Sep 15, 2002 10:56 pm
Location: Asheville, NC, USA

Post by jlittle » Wed Sep 21, 2016 6:10 pm

Hi Barry.
I've put *cache*.* in the "exclusions" tab under "select files for backup" and I've been running backups like that but I just found out that I'm still backing up cache files.
Specifically, under C:\Users\J\AppData\Local\... all of my browsers and Thunderbird all have cache files still marked for backup.
I assume I didn't do something I need to do in addition to putting that entry under the exclusions tab. Can you tell me what?
Thanks
John

Barry
Site Admin
Posts: 1507
Joined: Tue Aug 20, 2002 3:16 pm

Excluding cache folders

Post by Barry » Thu Sep 22, 2016 2:06 pm

Hi John

I just read my previous reply and it was incomplete, sorry about that.

*cache*.* will exclude files with cache in the name.

Folders need to be specified by using \

\cache\ will exclude all folders called cache
\*cache\ all folders ending with cache
\cache*\ all folders starting with cache
\*cache*\ excludes all folders with cache in the name.

Alternatively navigate to the cache folders, right click the folder and choose Exclude Files and Sub Folders.

I hope this clears things up a bit

Cheers

Barry

jlittle
Posts: 72
Joined: Sun Sep 15, 2002 10:56 pm
Location: Asheville, NC, USA

Re: Excluding cache folders

Post by jlittle » Thu Sep 22, 2016 3:48 pm

Okay, I'll give this a try and see how it does.
Barry wrote:
Alternatively navigate to the cache folders, right click the folder and choose Exclude Files and Sub Folders.
This is the way I've done it in the past, and boy, that's a never-ending task! That's why I decided I had to find a way to automate things. :D
Thanks again.
John

Post Reply