Hi, Sorry for creating a new thread but i needed to cleanup the previous thread i had on the problem "Backup doesnt zip bolb files in dbname.logs.db directory"
As i pointed out in the last posts on that thread when Backup.execute is called on a database that has directories associated with it to hold blob data (i assume its blob data) the directories are also stored as files in the zip file with the same name as the directory, i.e. there is a file with the same name as the directory in the base folder. Due to this when you try and extract the contents of the zip file with this structure you receive an error as you cant have a file/directory with matching names! (well on linux anyway, i havnt tested windows but i assume its the same) The problem appears to be in FileLister.getDatabaseFiles(...) although i havnt had the time to fully track down the exact location. I think though that if a check of File.isDirectory() is placed in the appropriate location there and the set the flag "ok = false" then it should solve the problem, If you could indicate the location to place this command it would save me time and i would be very greatful. If it would help you, i could give you the zip file created from the Backup command and you can try and extract it yourself to see the problem Thanks, Will --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/h2-database?hl=en -~----------~----~----~----~------~----~------~--~---
