Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2039

Validate database files without the need to start and stop a mongod

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Storage
    • None
    • Storage Execution

    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.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            alvin Alvin Richards (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: