XF 2.1 Backing up my forum. If I cpanel backup the databases, is that enough?

Rom

Active member
If I am only concerned about my posts, userbase, etc. is backing up the databases enough? I can reinstall the software in the event of a something castrophic and then restore the databases right? Right now I am paying my provider about $10/month for backup storage and would rather just download my databases periodically. This is doable right? Thanks for any help.
 

andybond

Well-known member
You can set a cron job to backup your DB to the storage you have and then FTP them away somewhere else. I would strongly ( I even made it bold ) recommend that you try and restore the DB on a mirror site though. No point in having a backup if you cannot restore.
 

Mendalla

Well-known member
If I am only concerned about my posts, userbase, etc. is backing up the databases enough? I can reinstall the software in the event of a something castrophic and then restore the databases right? Right now I am paying my provider about $10/month for backup storage and would rather just download my databases periodically. This is doable right? Thanks for any help.
Unless you are using default style with no or minimal customization, you probably have stuff stored in your site's directory (public_html or whatever) that is of value. Logos, backgrounds, etc. Those will get missed if you only do the database so I would tend to backup that directory as well unless you are sure you can recover all that stuff from another source.
 

Brogan

XenForo moderator
Staff member
At the very least you need to backup the data and internal_data directories as that is where all user content such as avatars, attachments, images, etc. is stored.

As above though, the entire directory where XF is installed is probably best.
 

Alan_SP

Active member
You always need to backup files and DB (as already mentioned), but yes, you can download it to your computer (or any other place you'd like to use for backup) and then restore from these two files. You don't need to pay your provider for backup if you don't want to.
 

briansol

Well-known member
cpbackup stores everything. offload it to the hosts's other servers, or s3, etc for disaster recovery (if your data center burns down, are you in trouble?)

my server is east coast, i use s3 west cost bucket to store backups.
 
Top