1. 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

Discussion in 'XenForo Questions and Support' started by Sim, May 14, 2016.

  1. Sim

    Sim Well-Known Member

    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?
  2. Chris D

    Chris D XenForo Developer Staff Member

    Yes. It should be safe to exclude those.
  3. Sim

    Sim Well-Known Member

    Awesome - thanks for the quick response.
  4. AndyB

    AndyB Well-Known Member

    Don't forget to rsync the 'data' folder also.
  5. Sim

    Sim Well-Known Member

    Yup, got that - thanks.
  6. Rayman

    Rayman Member

    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?
  7. Chris D

    Chris D XenForo Developer Staff Member

    data/attachments can be excluded because that is just the attachment thumbnails.

    internal_data/attachments is the important bit!
  8. AndyB

    AndyB Well-Known Member

    I suggest using 'rsync' and backing up both folders:


Share This Page