How to Back Up a Website in C5

Permalink 2 users found helpful
I'd like a list of folders that need the be backed up as well as using PHPMyAdmin to back up the database. My /files folder took hours to download - is this best practice?

MarkRDF
 
EdwardMartinIII replied on at Permalink Reply
EdwardMartinIII
When I back up my site, I tell C5 to do a SQL backup:

Dashboard >> System & Settings >> Backup & Restore >> Backup Database

And then I run that backup. Takes a couple minutes. I save the resulting file to my local machine.

Then I set up an FTP client, and copy the whole damn folder over in one big pile. It takes time, but I just plan to do it in the evening, and I go off and watch horror movies with the girlfriend. That's a win-win for me!

I haven't found a quicker/simpler way to do it, yet, but I'm a newbie.
MarkRDF replied on at Permalink Reply
MarkRDF
Thanks Edward! I'll just do that.
mesuva replied on at Permalink Reply
mesuva
Edward's way is completely suitable, but I'll mention that it is worth exploring the backup options from within your hosting's control panel.

Things like cPanel have an option to download everything in one hit; there's an option for a 'full' backup, that absolutely everything (including emails, settings and other junk), and there is an option for partial backups, where you can download the entire 'home' directory and then database dumps separately. This is pretty handy as you can grab the home directory and your database in one place.

The reason I mention this is that concrete5 has many files and ftp-ing can often be a slow process. The backups you get from something like cPanel are zipped up and often only take a few minutes to download.

If you do this, make sure you unzip whatever is downloaded though and actually check you've got all of your site and that the database dump is complete and error free.
MarkRDF replied on at Permalink Reply
MarkRDF
I don't see a backup option in cPanel - though it is mentioned in the help file?
The backup in dashboard doesn't work - I think because of the log files.
mesuva replied on at Permalink Reply 1 Attachment
mesuva
If it is there, it's going to be under the 'Files' section, near the icons for the File Manager.

You can also zip up folders ('Compress') within the File Manager and then download that way.
EdwardMartinIII replied on at Permalink Reply
EdwardMartinIII
"Thanks Edward! I'll just do that."

I do it roughly once every week or two, or if I've made any big changes.

You can reduce some of that time by deleting any themes you're not using. Chances are, deleting unused themes is good for you in the long run anyway.

What to do during those backup times to allow for great pleasantness in your life I leave as an exercise to the reader. 8D

The DB backup is fast, though, so do it first. Takes a minute or two.