Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Wyse Management Suite Version 1.3 Deployment Guide

Maintenance

This chapter describes how to take a backup of the database.

Database backup

Stop Tomcat Service before taking a backup of the database. Tomcat Service is identified as “Dell WMS: Tomcat Service” and must be stopped from Local Services.

To dump the contents of the MongoDB, run the following command:

mongodump --host <mongodb_host> -u stratus –p <db_password> --authenticationDatabase admin --db stratus --out ".\wmsmongodump"

To dump the contents of the MarioDB, run the following command:

mysqldump --routine –h<mariadb_host> -ustratus –p<db_password> stratus > ".\wmsdump.sql"

Database restore

Stop Tomcat Service before restoring the database. Tomcat Service is identified as “Dell WMS: Tomcat Service” and can be stopped from Local Services.

You must run the following command from the wmsmongodump directory – parent directory of stratus database, to restore MongoDB.

echo "db.dropDatabase()" | mongo -u stratus -p <db_password> --authenticationDatabase admin --host <db_host> stratus

You must run the following command to restore the MarioDB.

mongorestore --host <db_host> -u stratus -p <db_password> --authenticationDatabase admin --db stratus ".\stratus"

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\