I'm working to backup our production environment and restore it in a test environment automatically. Is there a way to initiate the Crowd XML backup or restore from the command line?
You can backup the database and restore it to dev environment by using a script. Bit there are few manual work you need to be taken care of, restoring the applications from database/xml with prod data will rewrite the license info and all the custom configs like themes banners etc.
I have written a script which take the help of Jenkins job where the db backup is copied to dev env and shutdown all the nodes first after successful shutdown, the script deletes the old db and creates a new database with same name and configs and restore the data from backup. Once done, it will restart the services. Later I will manually update the required configurations.
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events