What files in `files` to include/exclude from version control

Permalink
Hi there,

I'm writing some automated backup scripts to monitor live changes and push them into version control and I'm wondering what files under the `files` directory I can ignore.

I need to include all files that would are required to checkout the system from scratch (with a synchronised db snapshot of course) and have the system run.

Currently I'm looked to exclude the following from the VCS.

files/backups (I have versioned db backups elsewhere and don't need these)
files/cache
files/tmp
files/trash
files/incoming

Does anyone know if ignoring any of these is going to be and issue?

Thanks & cheers

 
cmscss replied on at Permalink Reply
I was just wondering the same thing and my files folder has a lot of numbered folders in it as well.
andrewpietsch replied on at Permalink Reply
For what it's worth I've used the above settings and have been able to add a file in production then commit the files db dump and restore on dev without any hassle. Only limited testing at this stage however.

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.