VM-BASED ENVIRONMENT
Execute the below commands for CMS DB backup and restore in VM-based environments:
-
Take the backup using the below command:
./VM-BackupAndRestoreScript.sh -p <Backup_File_Path>
-
Stop all the CMS services using the command:
./stop.sh
-
Start only the MongoDB service using the command:
docker-compose -f <CMS_Installation_Directory>/docker-compose-files/docker-compose-cms.yaml up -d --no-deps vsp-mongo
-
Restore the backup using the below command:
./VM-BackupAndRestoreScript.sh -b <Backup_File_Path/Filename>
-
To view the help menu, execute the below command:
./VM-BackupAndRestoreScript.sh -h
-
Start all the CMS services using the command:
./start.sh