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!!
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!!
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!!
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!!
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!
Hope this helps!
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?
That's what the old backups are for. Like jelthure does. Upload a backup if you feel that you made a wrong turn.
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.