Bugs item #2144912, was opened at 2008-10-03 21:18 Message generated for change (Comment added) made by yingying You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2144912&group_id=56967
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: MonetDB4 4.24 Status: Open Resolution: None Priority: 5 Private: No Submitted By: marspluto (juntezhang) >Assigned to: Ying Zhang (yingying) Summary: ERROR = !ERROR: CMDtj_throw2collection: operation failed. Initial Comment: I am trying to restore a database that was backed up. I used the admin GUI, but it is not very stable, likely because of my libxml2 version... So I am trying to do it directly in the mclient. The backup seems to be going ok. $mclient -lx xquery>import module namespace adm = "http://monetdb.cwi.nl/XQuery/admin/" at "/home/xxx/mdb/share/MonetDB/xrpc/admin/admin.xq"; adm:backup("backup1") more><> I then delete everything in the current database, which was in my case the collection "KB". xquery>import module namespace adm = "http://monetdb.cwi.nl/XQuery/admin/" at "/home/xxx/mdb/share/MonetDB/xrpc/admin/admin.xq"; adm:del-col("KB") more><> Then I try to restore the backed up database. However, I get an error when I try to restore: import module namespace adm = "http://monetdb.cwi.nl/XQuery/admin/" at "/home/xxx/mdb/share/MonetDB/xrpc/admin/admin.xq"; adm:restore("backup1", 10) more><> ERROR = !ERROR: CMDtj_throw2collection: operation failed. I noticed that this error was occurring after I was figuring out why a backed up database was not working when importing it on another computer using the Admin GUI (only giving me errors while executing queries). I tried to restore the database on the same computer using the Admin GUI, and it was also not working. So I used the mclient directly, and it gave me that error. I would like to backup a database. I also would like to share that database with someone else, and share it between computers with different versions of MonetDB. The sum size of my files is about 1GB, consisting of a few million library records in pretty flat structure. Thanks, junte ---------------------------------------------------------------------- >Comment By: Ying Zhang (yingying) Date: 2008-10-07 11:20 Message: Hello Junte, I tried your query on with the stable version (compiled from cvs source) on a 64bits AMD machine with Fedora 8, but I could not reproduce your problem. Could you please give us more information about - how did you install monetdb/xquery? - which OS are you using - specification of your machine. Regards, Jennie ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2144912&group_id=56967 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Monetdb-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-bugs
