Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

SilverStripe Backup?

Go to End

4 Posts   5024 Views


1 Post

14 October 2007 at 3:29am

I just StumbledUpon SilverStripe last night and I'm really excited about using it. However, the lack of a backup utility bothers me. I know how to backup the database, but I'm not sure what settings to use (for example, when backing up Wordpress, I've been told by the Wordpress documentation to use setting such as "'Add DROP TABLE'," and "'Add AUTO_INCREMENT' " in phpMyAdmin).

What's the best way to backup SilverStripe?



Forum Moderator, 5523 Posts

14 October 2007 at 7:22pm

Yip! thats pretty much the easiest way to backup. Go into phpmyadmin, select the database, export -> select all tables -> select 'Add DROP Table' (Add AUTO_INCREMENT should be selected by default) and then select 'Save a File'.. it also helps to gzip it.

Also Sam has been working on a static exporter which exports the whole site as a static site, which could be used to make backups of a site so in the event of something crashing you can easily get the site back live quickly while you fix it :P


Forum Moderator, 801 Posts

18 October 2007 at 9:13am

with silverstripe being a normal web-app, you don't need a specific backup-utility.
a mysql-dump and full copy of the webroot should be enough, and that's a task for the sysadmin, not the web-app :) but yeah, i've put a "best-practices:backup" documentation page on my todo-list


Community Member, 4 Posts

28 March 2008 at 5:49am

Edited: 28/03/2008 5:50am

I'm interesting in static site exporter. I think it'll be useful to site owners with several pages -- no need to have MySQL nor PHP, no server performance overhead.

Maybe just use wget --mirror and don't bother :)