Is there an “official” or recommended way to back up a SilverStripe site?
I am really new to sites built this way and I suppose one needs to backup the SilverStipe installation folder and the database. Should I back up anything else? I am using WampServer and SS 3.0.5, is there a way to automate these tasks?
There is no 'official way' I think. An important thing would be to frequently create a dump of your database, and you'd want to also backup the assets directory, where youre files & images live and your mysite folder. Keep the original install of silverstripe and modules clean and that's all you'll really need to do
I keep a mirror of my installs on my workstation for my own sites, and try never to edit anything online, so i really only need to backup the database, but that means you need to be very consistent, especially with your assets!
Concerning the datatbase itself, I see that the WampServer’s stack saves databases in :
And that the SS database is kept in the SS_mysite subfolder of that folder.
Would creating a backup copy of this SS_mysite subfolder be the same as dumping the SS_mysite database from mysql into a file? I am asking because I feel it would probably be easier for me to automate the backup of a subfolder than the dumping of a database from mysql.