weizhouapache commented on issue #13341: URL: https://github.com/apache/cloudstack/issues/13341#issuecomment-4677831092
> I will just drop the example steps here for those who say TLDR. > > systemctl stop cloudstack-management > systemctl stop cloudstack-usage > mysqldump --no-tablespaces --lock-tables=false -R cloud > cloud.sql > mysqldump --no-tablespaces --lock-tables=false -R cloud_usage > cloud_usage.sql > cloudstack-migrate-databases -d "password" -m "password" -e "<new_db_key>" -n "<new_mgmt_key>" > systemctl start cloudstack-management > systemctl start cloudstack-usage @davift Before migrating the database, it is recommended to back up the /etc/cloudstack/management directory as well, including the key and db.properties files. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
