Fast, Simple way to backup entire site?

Permalink
Hi folks,

John here, C5 noob, and I'm NOT any kind of developer. My site broke over something intensely stupid, and I'd like to ask how you guys go about making changes to your sites (code and databases) and backing them up without fear. For basic websites, do i have to go Subversion? Git?

Thanks!!

juanzo007
 
jelthure replied on at Permalink Reply
jelthure
to back up site I just make dated archives when I hit milestones and keep them in a folder. I never work directly on a live site, ever.

for the database i use the built in tool in the dashboard. I download the backup file and store it in my project folder so if need be I can restore it at a later date on either the live or local version of the site.
juanzo007 replied on at Permalink Reply
juanzo007
Ok, that makes good sense, especially the "never work on a live site" part!

Can I ask, how do you swap a database from your local machine to the live site? The "backup/restore" in the dashboard doesn't have such a function, does it? It can restore from ones you backed up from the dashboard, but I don't see a way to restore from another machine.

Thanks!!
gnyma replied on at Permalink Best Answer Reply
gnyma
Look under concrete > files > backup. Once you've backed up on your local drive, upload it to your live server on the same directory. On a live server, you must at least run a backup once through Dashboard so that it will create the backup directory.

Hope this helps!
juanzo007 replied on at Permalink Reply
juanzo007
but to be clear, that is how i backup/migrate a database, yes? It doesn't backup and code changes, correct (i.e., a css tweak)? how do you folks manage reverting back to old versions that you know work?
gnyma replied on at Permalink Reply
gnyma
That's what the old backups are for. Like jelthure does. Upload a backup if you feel that you made a wrong turn.