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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Simple Unix backup script


Reply

1152 Views

Avatar
OwenW

8 January 2010 at 7:12pm Community Member, 45 Posts

Hey All,

Just something that I have chucked together that may well turn out to be useful for some people here. A fairly straight forward Silverstripe/MySQL backup script that you can run from cron.

The script is nothing exciting but will create a snapshot of the full Silverstripe installation and shove it to a path that you choose. Currently it seems to work for most of the recent distros (No Windows at the moment) and has been mostly tested in Slackware.

The backup its self is a Mysqldump and a tarball of the full SS installation, which can then be restored with an amount of ease.

Any way, its a start that I hope some people get some use out of.

Cheers
Owen