Bosch rexroth ActiveShuttle System Manual page 152

Hide thumbs Also See for rexroth ActiveShuttle:
Table of Contents

Advertisement

152
MongoDB
As found in the official documentation:
The
tool and 
mongodump
guide
for your platform for instructions on how to install the tools package as part of your MongoDB
installation.
The tools package is also available from the
download, or contained within the
installer includes all tools as part of the default installation.
Once the tools are installed, please use them to backup the database:
mongodump --uri="mongodb://[username:password@]host1[:port1]/[database]"
This creates a database backup named
And to restore it:
mongorestore --uri="mongodb://[username:password@]host1[:port1]/[database]" dump/
More information and advance usage can be found here:
and-restore-tools/
Note for MongoDB running in Docker: When running mongoDB in a container, it is recommended to
mount a volume where the data will be saved, as shown in the docker-compose example in Appendix 1
volumes:
  -
./path/in/server:/data/db
This way, the data can be copied somewhere else and a new Docker-Container with the same volume can
be mounted without the need of the mongodump and mongorestore steps.
InfluxDB
Similar to MongoDB, InfluxDB has some CLI commands to do backup and restore, as documented in the
official webpage:
https://docs.influxdata.com/influxdb/v1.4/administration/backup_and_restore/
Backing up the metastore
InfluxDB's metastore contains internal information about the status of the system, including user information,
database/shard metadata, CQs, RPs, and subscriptions. While a Node is running, you can create a backup
of your instance's metastore by running the command:
influxd backup <path-to-backup>
Backing up a database
Each database must be backed up individually.
To backup a database, you will need to add the
influxd backup -database empera-some <path-to-backup>
Restore
Following the backup example above, the backup can be restored in two steps. First, the metastore needs to
be restored so that InfluxDB knows which databases exist:
RA91390962 AB-V1.3.3, en
tool are part of the MongoDB tools package. Consult the
mongorestore
MongoDB Download
or
downloads, depending on the platform. On Windows, the
TGZ
ZIP
in the current directory.
dump/
-database
ILS, ActiveShuttle | Service
Center, either as a separate
https://docs.mongodb.com/manual/tutorial/backup-
flag:
installation
tools
MSI

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the rexroth ActiveShuttle and is the answer not in the manual?

Questions and answers

Table of Contents