• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 backing up internal_data

Sim

Well-known member
#1
I do daily file system backups of all critical data for my websites.

I'm wanting to optimise the backup process by limiting the files that get backed up to only those absolutely necessary to restore the site back to a working state.

To minimise space, I exclude the internal_data/attachments folder from the daily backup and instead use rsync to mirror that directory to another machine.

However, there are other folders in the internal_data directory which I'm not sure if the system will be able to recover if I exclude them from the backups?
  • image_cache
  • page_cache
  • sitemaps
  • temp
  • templates
Is it safe to exclude these folders?
 
#6
How about the "internal_data/attachments" directory? Is it safe to exclude that? I am not sure if it's any different to the "data/attachments" directory. If we exclude it, can it be rebuilt from the data/attachments automatically via XenForo?
 

Chris D

XenForo developer
Staff member
#7
data/attachments can be excluded because that is just the attachment thumbnails.

internal_data/attachments is the important bit!
 

AndyB

Well-known member
#8
How about the "internal_data/attachments" directory? Is it safe to exclude that? I am not sure if it's any different to the "data/attachments" directory. If we exclude it, can it be rebuilt from the data/attachments automatically via XenForo?
I suggest using 'rsync' and backing up both folders:

data
internal_data