Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Mongo restore Error
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nat  
View profile  
 More options Dec 2 2011, 2:31 am
From: "Nat" <nat.lu...@gmail.com>
Date: Fri, 2 Dec 2011 07:31:37 +0000
Local: Fri, Dec 2 2011 2:31 am
Subject: Re: [mongodb-user] Re: Mongo restore Error

Did you repair the database before backing up? it couldd be that your database corrupted before you took the backup of it.

-----Original Message-----
From: Asoka Sampath Edussooriya <eas...@gmail.com>
Sender: mongodb-user@googlegroups.com
Date: Fri, 2 Dec 2011 11:34:37
To: <mongodb-user@googlegroups.com>
Reply-To: mongodb-user@googlegroups.com
Subject: Re: [mongodb-user] Re: Mongo restore Error

Hey Barrie,

this is the message it shows when i try mongorestore

connected to: 127.0.0.1
Fri Dec  2 11:31:29 /home/asoka/mongo_mydb.bson
Fri Dec  2 11:31:29  going into namespace [mydb.student]
assertion: 10264 invalid object size: 1096040772

and the log it says

Fri Dec  2 11:33:04 [initandlisten] connection accepted from 127.0.0.1:41249#8
Fri Dec  2 11:33:04 [conn8] end connection 127.0.0.1:41249

I have repaired the db before restoring

Thanks!

Asoka

On Fri, Dec 2, 2011 at 1:08 AM, Barrie <bar...@10gen.com> wrote:

> Hey Asoka,

> Has your database ever crashed before?  Maybe you can run a repair
> first before restoring again.

> Can you paste the log, and if you have it, the dump file that failed?

> On Dec 1, 10:30 am, Asoka Sampath Edussooriya <eas...@gmail.com>
> wrote:
> > Hi,

> > I got the following error when I was trying to restore the dump to the db

> > assertion: 10264 invalid object size: 1096040772

> > my mongo db.version() says  2.0.1

> > any help ?

> > Thanks!

> > Asoka

> > --
> > Asoka Sampath Edussooriya

> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To post to this group, send email to mongodb-user@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.

--
Asoka Sampath Edussooriya

--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongodb-user@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.