Answers.Body: <blockquote>
    <p>Is this helpful, or am I just being OCD?</p>
  </blockquote>
  
  <p>Completely OCD. :)</p>
  
  <p>The database backup class already excludes unnecessary tables like asset indexing data, sessions, template caches, etc. during a backup.</p>
  
  <p><a href="https://github.com/craftcms/cms/tree/master-v2/src/etc/db/DbBackup.php#L46" rel="nofollow noreferrer">https://github.com/craftcms/cms/tree/master-v2/src/etc/db/DbBackup.php#L46</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-28T19:42:01.640Z
Answers.Text: Boom... and I see all three `templatecache` tables listed there. Didn't even think about assets or sessions!
Answers.UserDisplayName: Lindsey D
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-28T19:38:56.483Z
Answers.LastActivityDate: 2018-02-21T23:44:52.067Z
Answers.LastEditDate: 2018-02-21T23:44:52.067Z
Answers.UserDisplayName: Brad Bell
Body: <p>Every time I create a database backup, I find myself instinctively clearing the cache first. My gut tells me that any cached data would be unnecessarily included in the export.</p>
  
  <p><strong>Is this helpful, or am I just being OCD?</strong></p>
  
  <p><a href="https://i.sstatic.net/YajOj.png" rel="noreferrer"><img src="https://i.sstatic.net/YajOj.png" alt="enter image description here"></a></p>
  
Tags: <database><cache>
Title: Good practice to "Clear Caches" before you "Backup Database"?
ThreadText: # Good practice to "Clear Caches" before you "Backup Database"?
  
  (Asked by: username_0 on 2016-01-28)
  
  Every time I create a database backup, I find myself instinctively clearing the cache first. My gut tells me that any cached data would be unnecessarily included in the export.
  
  **Is this helpful, or am I just being OCD?**
  
  [![enter image description here](https://i.sstatic.net/YajOj.png)](https://i.sstatic.net/YajOj.png)
  
  **Tags:** database, cache
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-01-28. Score: 6 | Accepted answer
  
  > Is this helpful, or am I just being OCD?
  
  Completely OCD. :)
  
  The database backup class already excludes unnecessary tables like asset indexing data, sessions, template caches, etc. during a backup.
  
  <https://github.com/craftcms/cms/tree/master-v2/src/etc/db/DbBackup.php#L46>
  
  > **Comments:**
  > **username_0**: Boom... and I see all three `templatecache` tables listed there. Didn't even think about assets or sessions!  
  
  ---
  
  