[DOCS-2274] Comment on: "manual/tutorial/migrate-config-servers-with-same-hostname.txt" Created: 21/Nov/13 Updated: 03/Nov/17 Resolved: 22/Nov/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 01112017-cleanup |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Docs Collector User (Inactive) | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Location: http://docs.mongodb.org/manual/tutorial/migrate-config-servers-with-same-hostname/ |
||
| Participants: | |
| Days since reply: | 10 years, 12 weeks, 5 days ago |
| 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/ |
| Comments |
| Comment by Githook User [ 22/Nov/13 ] |
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |
| Comment by Githook User [ 22/Nov/13 ] |
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |