firespring / mogbak

Need to backup your MogileFS? mogbak is here to help. Backup is made to a self contained directory with metadata. Restores are easy too.
http://github.com/firespring/mogbak
MIT License
28 stars 4 forks source link

wrong classes recorded in backup #15

Closed shoki closed 12 years ago

shoki commented 12 years ago

looking into the sqlite db i can see that the wrong classes are recorded. in our setup we have several domains with a bunch of classes. classids always start with id 1 for every domain.

mogbak doesn't select the right classname because it doesn't match the class entry against the domain_id. it just chosses the first entry that matches for the classid.