What files/directories can backup jobs safely ignore in PyCharm profile?

We are running a daily (well, nightly) backup job. The backup includes the /.PyCharm directory, which is almost a Gb, but includes temporary caches and indexes of PyCharm. This is inefficient.

Question:

In order to save space and time with the backup job, what parts of a PyCharm profile can be safely ignored as they are caches and are easily/automatically rebuild on next startup. I suspect /system/caches and /system/index, however I would like an official response what a backup job can safely ignore, without a loss of information.

Alternatively, pure cache directories in a PyCharm profile could be tagged with a CACHEDIR.TAG (see http://www.brynosaurus.com/cachedir/spec.html) and would be automatically detected and excluded by backup software following this standard.

 

Please sign in to leave a comment.