Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2274

Comment on: "manual/tutorial/migrate-config-servers-with-same-hostname.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      The tutorial suggests:

      rsync -az /data/configdb mongodb.config2.example.net:/data/configdb

      This is wrong, because rsync will recursively copy the whole directory (not just its contents) if the trailing slash on the thing to be synced is omitted, you actually want

      rsync -az /data/configdb/ mongodb.config2.example.net:/data/configdb

      or

      rsync -az /data/configdb mongodb.config2.example.net:/data/configdb/

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 12 weeks, 5 days ago