Primeur Online Docs
Data Watcher 1.20
Data Watcher 1.20
  • 🚀GETTING STARTED
    • What is Primeur Data Watcher
    • Main features of Primeur Data Watcher
    • Navigate through Primeur Data Watcher
  • 🔶MODEL
    • Modeling Dataflows
    • Dataflow Model lifecycle 🚀
    • Dataflow Modeler 🚀
      • Dataflow Modeler toolbar
      • Dataflow Properties panel
      • Node Properties panel
      • Matching Criteria
      • Cut-offs 🚀
      • Notifications 🚀
      • Dataflow Model attributes
  • 🕒MONITOR
    • Dataflow Inquiry 🚀
      • Dataflow Inquiry options 🚀
      • Levels of detail of the dataflow 🚀
    • Dataflow Instance attributes
    • Cut-off Board 🚀
  • DESIGN
    • Configure Dataflow attributes
    • Save and share queries
  • 🧐TROUBLESHOOTING
    • Data Watcher users 🚀
    • Data Watcher Engine extended downtime vs missing events and/or dataflows
    • How to run searches in Data Watcher
    • Data Watcher MongoDB scripts
      • Back up the Data Watcher MongoDB 🚀
      • Restore the Data Watcher MongoDB 🚀
      • Clean up the Data Watcher MongoDB
Powered by GitBook
On this page
  1. TROUBLESHOOTING
  2. Data Watcher MongoDB scripts

Back up the Data Watcher MongoDB 🚀

PreviousData Watcher MongoDB scriptsNextRestore the Data Watcher MongoDB 🚀

Last updated 24 days ago

To back up the Data Watcher database follow these steps:

  1. On each node where Data Watcher is installed, stop Data Watcher (dataone.sh stop DW).

  2. On each node where Data Watcher is installed, start MongoDB (bin/mongodb start).

  3. On just one node of your choice among the ones where Data Watcher is installed, launch the dwbackup.sh script to backup the Data Watcher database.

  4. On each node where Data Watcher is installed, start Data Watcher (dataone.sh start DW).

Need details about start and stop commands? Have a look at the page.

The script to back up the Data Watcher database is stored at this path: $DATAWATCHER_HOME/mongodb/backup

The dwbackup.sh script logs backup info into $MONGODB_LOG_DIR/dw-backup.log.

Usage: ./dwbackup.sh destination-path destination-path is the folder where the backup will be generated and it must exist.

Under destination-path, the dw-<datetime>/dw folder will be created. In case the backup fails, the folder will not be created.

🧐
dataone.sh reference