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?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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.