[DOCS-854] Add details of lockfiles in backup/restore procedures Created: 06/Dec/12  Updated: 22/Feb/13  Due: 07/Dec/12  Resolved: 22/Feb/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: David Hows Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 10 years, 51 weeks, 5 days ago

 Description   

Lockfiles should not be included in backups/snapshots as they can cause mongod not to start when restoring dbpath directories that include them.

We should add a mention of this into the doc's.



 Comments   
Comment by auto [ 22/Feb/13 ]

Author:

{u'date': u'2013-02-22T18:20:30Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-854: correction about snapshot behavior
Branch: master
https://github.com/mongodb/docs/commit/20bceedc48de4f6685e092947307fc37902a337c

Comment by auto [ 22/Feb/13 ]

Author:

{u'date': u'2013-02-22T14:51:22Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-854 adding a note about stale lock files in snapshots
Branch: master
https://github.com/mongodb/docs/commit/93997cd6cb6fef8eaf389b0ce6c4446bd1c86af2

Comment by Ed Costello [ 06/Dec/12 ]

I think we should add a comment to the effect that mongod.lock files need to either be removed from the snapshot, or removed prior to starting a mongod off a snapshot, perhaps here: http://docs.mongodb.org/manual/administration/backups/#block-level-backup At least something mentioning the role of mongod.lock. If I was restoring from a clean snapshot to a clean system, my first thought wouldn't be to look for the tutorial on unexpected shutdowns.

Comment by Sam Kleinman (Inactive) [ 06/Dec/12 ]

I think this document addresses this question:

http://docs.mongodb.org/manual/tutorial/recover-data-following-unexpected-shutdown/

I'm going to close the issue now, but if you have additional questions, or think that this document needs more details feel free to reopen.

Generated at Thu Feb 08 07:39:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.