Is it possible to have backup skip the analog/cache folder

Silver_2000

Well-Known Member
Mar 31, 2002
337
1
318
the user/tmp/analog/cache

can be really big for a busy site - its just the stats cache
Is it possible to have the backup skip those folders ?
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
Yes, you can skip any directory you like from backing up.
Create a file named ".cpbackup-skip" inside the directory you want to skip.
chown the file to that user.group


touch .cpbackup-skip
chown user.group .cpbackup-skip
 

brendanrtg

Well-Known Member
Oct 4, 2006
311
0
166
Why dont you just login to the server as root and delete these files completely before you make the backup?

:confused: