-
Type: New Feature
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
Labels:None
-
Storage Execution
Requirement:
Oracle and other products allow a verification of a backup without the need to start/stop the associated database server. For example, see Oracle's utility
http://download.oracle.com/docs/cd/B10500_01/server.920/a96652/ch13.htm
The user wants to
- specify the location of the backed up files For example, often a separate machine is used for backups / verification, so mount the backup files.
- run a verification on
-
- one or more dbs
- one or more collections within a db
-
- report the results of the verification
- redirect the output to a file
Workaround:
- mount the backup files on a host
- start the mongod with --dbpath pointing to the directory mounted
- log on with mongo shell
- run db.<collection>.verify() on each collection
- shutdown the mongod
Business Need:
- User experience
Simple command line allows easy automation, without the need to start and stop the mongod process and allocating ports.