Sim
Well-known member
I have a backup script which dumps a copy of the XenForo database and also creates a zipped copy of the file system - enough that I can fully restore the site on any machine in the case of catastrophic data loss on the server.
Now that my site is getting a lot more use, the size of the attachment folder has blown out considerably to the point where a simple zip copy of the file system is far larger than it really needs to be.
(No I don't want to create incremental backups)
What I've done on other sites previously was to split the file system backup process into two parts - the attachments and then everything else. I use a form of rsync to backup the attachments and then do my standard zip copy of everything else.
Looking at the internal_data directory on XenForo, I note that here are additional directories contained there for page_cache, temp, templates, etc. I'm wondering whether any of these are necessary to back up, or will the system be able to recreate them after everything else is restored?
I figure there's no point backing up things which really don't need to be backed up.
Now that my site is getting a lot more use, the size of the attachment folder has blown out considerably to the point where a simple zip copy of the file system is far larger than it really needs to be.
(No I don't want to create incremental backups)
What I've done on other sites previously was to split the file system backup process into two parts - the attachments and then everything else. I use a form of rsync to backup the attachments and then do my standard zip copy of everything else.
Looking at the internal_data directory on XenForo, I note that here are additional directories contained there for page_cache, temp, templates, etc. I'm wondering whether any of these are necessary to back up, or will the system be able to recreate them after everything else is restored?
I figure there's no point backing up things which really don't need to be backed up.