Use information in this topic to:
-
Switch from the built-in database to an alternate database.
A CloudBees CD/RO enterprise license is required to configure an alternate database. -
Switch from the current alternate database to a different alternate database.
For information about supported alternate databases, refer to Database requirements.
To change to the built-in database, refer to Switching from an alternate database to the built-in database.
Switching databases
Disable server activities
Before you perform an export, ensure that the CloudBees CD/RO server is inactive—meaning that it cannot accept jobs—by completing the following actions on the server:
-
Disable the
ECSCM:SentryMonitor
schedule and all project schedules.-
From the main menu, navigate to the Platform Home Page.
-
Select Electric Cloud from the Projects tab.
-
Select the Schedules tab and disable all schedules, including the
ECSCM-SentryMonitor
schedule that runs theECSCM:ElectricSentry
procedure.
-
-
Make sure all jobs are stopped.
-
From the main menu, navigate to the Platform Home Page.
-
Select the Jobs tab.
-
Review the jobs list and take action to stop all jobs.
-
-
Disable all resources so that no new job steps can run.
-
From the main menu, navigate to the Resources list.
-
Disable each resource by clearing its state from the Enabled column.
-
A quiescent database ensures a complete XML database file is exported.
Move the data
-
Export your data from the existing database. This command can be run from anywhere, but the file is stored on the CloudBees CD/RO server file system.
ectool export <filename> --compress 1 --withAcls true --withNotifiers true
-
Set the database configuration using the web interface or ectool. For more information, refer to Configuring CloudBees CD/RO to Use an Alternate Database.
-
Restart the CloudBees CD/RO server:
ectool shutdownServer --restart 1
-
Import your data to the new database:
ectool import <filename> --force 1
-
Reverse steps taken in Disable server activities to enable server activities.