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, biapar, Willr, Ingo, simon_w

Upgrade to 2.3.0-rc1 by batch


Reply


2 Posts   1069 Views

Avatar
freakout

Community Member, 49 Posts

20 November 2008 at 7:25pm

We're running 30+ SilverStripe sites on a server for multiple clients. Currently testing 2.3.0-rc1 in the work to be prepared for the new release. Is there a way to script the db/build?flush=1 call to migrate the database by wget? We do not know any administrator logins for the sites because we just providing the infrastructure. When we upgrade to SilverStripe 2.3.0 we will do that centrally for all site/clients and we would like to migrate the databases by batch/script without knowing any administrator login for the CMS?

Avatar
Willr

Forum Moderator, 5513 Posts

20 November 2008 at 7:45pm

If you have SAKE setup you can trigger database rebuilds via the command line by going sake db/build flush=1 - http://doc.silverstripe.com/doku.php?id=sake. Im pretty sure this won't ask you for a password.