[SERVER-2039] Validate database files without the need to start and stop a mongod Created: 31/Oct/10  Updated: 06/Dec/22  Resolved: 18/Dec/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Alvin Richards (Inactive) Assignee: Backlog - Storage Execution Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Storage Execution
Participants:

 Description   

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.

Generated at Thu Feb 08 02:58:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.