Hi,
it is not available for download in console, baasbox backup folder (baasbox-0.9.5\db\backup) is also empty.
Backup temp file it is only available in Temp Folder. e.g. "export3659105779305698269.temp" see log below...
--> So temp file creation is ok, moving to backup folder not ok, deleting temp file not ok, availability for download on console not ok
This problem is only on Windows (10) machines, linux and mac no problem.
logs:
data: <br>2017-01-10T18:57:22.327+0100 - [DEBUG] - SessionTokenAccess
data: <br>2017-01-10T18:57:22.719+0100 - [DEBUG] - Received session token 631f4421-f6e1-4a15-95f0-f86bf84cb74b
data: <br>2017-01-10T18:57:22.719+0100 - [DEBUG] - Token identified:
data: <br>2017-01-10T18:57:22.719+0100 - [DEBUG] - username: admin
data: <br>2017-01-10T18:57:22.719+0100 - [DEBUG] - password: <hidden>
data: <br>2017-01-10T18:57:22.719+0100 - [DEBUG] - appcode: 1234567890
data: <br>2017-01-10T18:57:22.719+0100 - [DEBUG] - token: 631f4421-f6e1-4a15-95f0-f86bf84cb74b
data: <br>2017-01-10T18:57:22.723+0100 - [DEBUG] - Parsing tags for current route with comment:
data: <br>2017-01-10T18:57:22.723+0100 - [DEBUG] - ConnectToDB for resource POST \/admin\/db\/export
data: <br>2017-01-10T18:57:22.723+0100 - [DEBUG] - Cound not retrieve the DB connection within this thread: ODatabaseException: Database instance is not set in current thread. Assure to set it with: ODatabaseRecordThreadLocal.INSTANCE.set(db);
data: <br>2017-01-10T18:57:22.723+0100 - [DEBUG] - closing connection
data: <br>2017-01-10T18:57:22.723+0100 - [DEBUG] - connection already close or null
data: <br>2017-01-10T18:57:22.723+0100 - [DEBUG] - opening connection on db: db\/baasbox for admin
data: <br>2017-01-10T18:57:22.727+0100 - [DEBUG] - Connection id: OrientDB[plocal:db\/baasbox] (users: 2) 12269191
data: <br>2017-01-10T18:57:22.727+0100 - [DEBUG] - Registering hooks...
data: <br>2017-01-10T18:57:22.727+0100 - [DEBUG] - Registering BaasBox hooks... start
data: <br>2017-01-10T18:57:22.727+0100 - [DEBUG] - Registering BaasBox hooks... done
data: <br>2017-01-10T18:57:22.727+0100 - [DEBUG] - Hooks: {com.orientechnologies.orient.core.db.record.OClassTrigger@f4ccae=FIRST, com.orientechnologies.orient.core.metadata.security.ORestrictedAccessHook@150c14a=FIRST, com.orientechnologies.orient.core.metadata.security.OUserTrigger@172aa3e=EARLY, com.orientechnologies.orient.core.metadata.function.OFunctionTrigger@1a65599=REGULAR, com.baasbox.db.hook.Audit@1bdc9ab=REGULAR, com.orientechnologies.orient.core.index.OClassIndexManager@1d7733f=LAST, com.orientechnologies.orient.core.schedule.OSchedulerTrigger@caf5e=LAST, com.orientechnologies.orient.core.db.record.ridbag.sbtree.ORidBagDeleteHook@fd1bb=LAST, com.baasbox.db.hook.HidePassword@4cb982=LAST}
data: <br>2017-01-10T18:57:22.727+0100 - [DEBUG] - Connection id: OrientDB[plocal:db\/baasbox] (users: 2) 12269191
data: <br>2017-01-10T18:57:22.727+0100 - [DEBUG] - Connection id: OrientDB[plocal:db\/baasbox] (users: 2) 12269191
data: <br>2017-01-10T18:57:22.727+0100 - [DEBUG] - Connection id: OrientDB[plocal:db\/baasbox] (users: 2) 12269191
data: <br>2017-01-10T18:57:22.727+0100 - [DEBUG] - CheckAdminRole for resource POST \/admin\/db\/export
data: <br>2017-01-10T18:57:22.727+0100 - [DEBUG] - CheckAdminRole user: admin
data: <br>2017-01-10T18:57:22.731+0100 - [DEBUG] - Connection id: OrientDB[plocal:db\/baasbox] (users: 2) 12269191
data: <br>2017-01-10T18:57:22.731+0100 - [DEBUG] - Connection id: OrientDB[plocal:db\/baasbox] (users: 2) 12269191
data: <br>2017-01-10T18:57:22.731+0100 - [DEBUG] - ExtractQueryParameters for resource POST \/admin\/db\/export
data: <br>2017-01-10T18:57:22.731+0100 - [DEBUG] - ExtractQueryParameters QueryParams [justCount=false, fields=, where=, params=[], page=-1, recordPerPage=20, groupBy=, orderBy=, depth=0 ]
data: <br>2017-01-10T18:57:22.731+0100 - [DEBUG] - Connection id: OrientDB[plocal:db\/baasbox] (users: 2) 12269191
data: <br>2017-01-10T18:57:22.731+0100 - [DEBUG] - Connection id: OrientDB[plocal:db\/baasbox] (users: 2) 12269191
data: <br>2017-01-10T18:57:22.731+0100 - [DEBUG] - Connection id: OrientDB[plocal:db\/baasbox] (users: 2) 12269191
data: <br>2017-01-10T18:57:22.731+0100 - [DEBUG] - Connection id: OrientDB[plocal:db\/baasbox] (users: 2) 12269191
data: <br>2017-01-10T18:57:22.731+0100 - [DEBUG] - closing connection
data: <br>2017-01-10T18:57:22.731+0100 - [DEBUG] - Wrapping the response
data: <br>2017-01-10T18:57:22.731+0100 - [DEBUG] - Executed API: POST \/admin\/db\/export , return code 202
data: <br>2017-01-10T18:57:22.731+0100 - [DEBUG] - Result type:scala.concurrent.impl.Promise$KeptPromise Response Content-Type:null
data: <br>2017-01-10T18:57:22.811+0100 - [DEBUG] - WrapperResponse:<br> + result: <br>SimpleResult(202, Map(Content-Type -> application\/json; charset=utf-8))<br> --> Body:<br>{\"result\":\"ok\",\"data\":\"20170110-185722-1234567890.zip\",\"http_code\":202}
data: <br>2017-01-10T18:57:22.811+0100 - [DEBUG] - SimpleResult(202, Map(Content-Type -> application\/json; charset=utf-8))
data: <br>2017-01-10T18:57:23.747+0100 - [DEBUG] - opening connection on db: db\/baasbox for internal_admin
data: <br>2017-01-10T18:57:23.751+0100 - [DEBUG] - Connection id: OrientDB[plocal:db\/baasbox] (users: 2) 8220275
data: <br>2017-01-10T18:57:23.751+0100 - [DEBUG] - Registering hooks...
data: <br>2017-01-10T18:57:23.751+0100 - [DEBUG] - Registering BaasBox hooks... start
data: <br>2017-01-10T18:57:23.751+0100 - [DEBUG] - Registering BaasBox hooks... done
data: <br>2017-01-10T18:57:23.751+0100 - [DEBUG] - Hooks: {com.orientechnologies.orient.core.db.record.OClassTrigger@1690113=FIRST, com.orientechnologies.orient.core.metadata.security.ORestrictedAccessHook@15690e6=FIRST, com.orientechnologies.orient.core.metadata.security.OUserTrigger@540b28=EARLY, com.orientechnologies.orient.core.metadata.function.OFunctionTrigger@762fff=REGULAR, com.baasbox.db.hook.Audit@1736602=REGULAR, com.orientechnologies.orient.core.index.OClassIndexManager@1f6c07b=LAST, com.orientechnologies.orient.core.schedule.OSchedulerTrigger@3eba03=LAST, com.orientechnologies.orient.core.db.record.ridbag.sbtree.ORidBagDeleteHook@7bf467=LAST, com.baasbox.db.hook.HidePassword@123f121=LAST}
data: <br>2017-01-10T18:57:23.751+0100 - [DEBUG] - Connection id: OrientDB[plocal:db\/baasbox] (users: 2) 8220275
data: <br>2017-01-10T18:57:23.755+0100 - [INFO] - <br>Started export of database \'baasbox\' to streaming.json...
data: <br>2017-01-10T18:57:23.755+0100 - [INFO] - <br>Exporting database info...
data: <br>2017-01-10T18:57:23.759+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:23.759+0100 - [INFO] - <br>Exporting clusters...
data: <br>2017-01-10T18:57:23.763+0100 - [INFO] - OK (24 clusters)
data: <br>2017-01-10T18:57:23.763+0100 - [INFO] - <br>Exporting schema...
data: <br>2017-01-10T18:57:23.771+0100 - [INFO] - OK (23 classes)
data: <br>2017-01-10T18:57:23.771+0100 - [INFO] - <br>Exporting records...
data: <br>2017-01-10T18:57:23.771+0100 - [INFO] - <br>- Cluster \'internal\' (id=0)...
data: <br>2017-01-10T18:57:23.811+0100 - [INFO] - OK (records=3\/3)
data: <br>2017-01-10T18:57:23.811+0100 - [INFO] - <br>- Cluster \'index\' (id=1)...
data: <br>2017-01-10T18:57:23.815+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.815+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.815+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.819+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.819+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.823+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.823+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.827+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.827+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.827+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.831+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.835+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.835+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.839+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.843+0100 - [INFO] - OK (records=28\/28)
data: <br>2017-01-10T18:57:23.843+0100 - [INFO] - <br>- Cluster \'manindex\' (id=2)...
data: <br>2017-01-10T18:57:23.843+0100 - [INFO] - OK (records=1\/1)
data: <br>2017-01-10T18:57:23.843+0100 - [INFO] - <br>- Cluster \'default\' (id=3)...
data: <br>2017-01-10T18:57:23.847+0100 - [INFO] - OK (records=0\/0)
data: <br>2017-01-10T18:57:23.851+0100 - [INFO] - <br>- Cluster \'orole\' (id=4)...
data: <br>2017-01-10T18:57:23.859+0100 - [INFO] - OK (records=9\/9)
data: <br>2017-01-10T18:57:23.859+0100 - [INFO] - <br>- Cluster \'ouser\' (id=5)...
data: <br>2017-01-10T18:57:23.871+0100 - [INFO] - OK (records=5\/5)
data: <br>2017-01-10T18:57:23.875+0100 - [INFO] - <br>- Cluster \'orids\' (id=6)...
data: <br>2017-01-10T18:57:23.875+0100 - [INFO] - OK (records=0\/0)
data: <br>2017-01-10T18:57:23.875+0100 - [INFO] - <br>- Cluster \'ofunction\' (id=7)...
data: <br>2017-01-10T18:57:23.875+0100 - [INFO] - OK (records=0\/0)
data: <br>2017-01-10T18:57:23.875+0100 - [INFO] - <br>- Cluster \'oschedule\' (id=8)...
data: <br>2017-01-10T18:57:23.879+0100 - [INFO] - OK (records=0\/0)
data: <br>2017-01-10T18:57:23.879+0100 - [INFO] - <br>- Cluster \'v\' (id=9)...
data: <br>2017-01-10T18:57:23.883+0100 - [INFO] - OK (records=0\/0)
data: <br>2017-01-10T18:57:23.883+0100 - [INFO] - <br>- Cluster \'e\' (id=10)...
data: <br>2017-01-10T18:57:23.887+0100 - [INFO] - OK (records=0\/0)
data: <br>2017-01-10T18:57:23.887+0100 - [INFO] - <br>- Cluster \'_bb_nodevertex\' (id=11)...
data: <br>2017-01-10T18:57:23.891+0100 - [INFO] - OK (records=3\/3)
data: <br>2017-01-10T18:57:23.891+0100 - [INFO] - <br>- Cluster \'_bb_node\' (id=12)...
data: <br>2017-01-10T18:57:23.891+0100 - [INFO] - OK (records=0\/0)
data: <br>2017-01-10T18:57:23.891+0100 - [INFO] - <br>- Cluster \'_bb_user\' (id=13)...
data: <br>2017-01-10T18:57:23.907+0100 - [INFO] - OK (records=3\/3)
data: <br>2017-01-10T18:57:23.911+0100 - [INFO] - <br>- Cluster \'_bb_userattributes\' (id=14)...
data: <br>2017-01-10T18:57:23.927+0100 - [INFO] - OK (records=10\/10)
data: <br>2017-01-10T18:57:23.927+0100 - [INFO] - <br>- Cluster \'_bb_resetpwd\' (id=15)...
data: <br>2017-01-10T18:57:23.927+0100 - [INFO] - OK (records=0\/0)
data: <br>2017-01-10T18:57:23.931+0100 - [INFO] - <br>- Cluster \'_bb_collection\' (id=16)...
data: <br>2017-01-10T18:57:23.935+0100 - [INFO] - OK (records=0\/0)
data: <br>2017-01-10T18:57:23.939+0100 - [INFO] - <br>- Cluster \'_bb_file\' (id=17)...
data: <br>2017-01-10T18:57:23.939+0100 - [INFO] - OK (records=0\/0)
data: <br>2017-01-10T18:57:23.939+0100 - [INFO] - <br>- Cluster \'_bb_file_content\' (id=18)...
data: <br>2017-01-10T18:57:23.943+0100 - [INFO] - OK (records=0\/0)
data: <br>2017-01-10T18:57:23.943+0100 - [INFO] - <br>- Cluster \'_bb_asset\' (id=19)...
data: <br>2017-01-10T18:57:23.947+0100 - [INFO] - OK (records=0\/0)
data: <br>2017-01-10T18:57:23.951+0100 - [INFO] - <br>- Cluster \'_bb_fileasset\' (id=20)...
data: <br>2017-01-10T18:57:23.951+0100 - [INFO] - OK (records=0\/0)
data: <br>2017-01-10T18:57:23.951+0100 - [INFO] - <br>- Cluster \'_bb_permissions\' (id=21)...
data: <br>2017-01-10T18:57:23.955+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.955+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.959+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.959+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.963+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.963+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.963+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.971+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.971+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.975+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.979+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.979+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.979+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.983+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.987+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.987+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.991+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.991+0100 - [INFO] - .
data: <br>2017-01-10T18:57:23.995+0100 - [INFO] - OK (records=18\/18)
data: <br>2017-01-10T18:57:23.995+0100 - [INFO] - <br>- Cluster \'_bb_index\' (id=22)...
data: <br>2017-01-10T18:57:24.003+0100 - [INFO] - .
data: <br>2017-01-10T18:57:24.007+0100 - [INFO] - .
data: <br>2017-01-10T18:57:24.011+0100 - [INFO] - .
data: <br>2017-01-10T18:57:24.011+0100 - [INFO] - .
data: <br>2017-01-10T18:57:24.015+0100 - [INFO] - .
data: <br>2017-01-10T18:57:24.019+0100 - [INFO] - .
data: <br>2017-01-10T18:57:24.023+0100 - [INFO] - .
data: <br>2017-01-10T18:57:24.023+0100 - [INFO] - .
data: <br>2017-01-10T18:57:24.027+0100 - [INFO] - .
data: <br>2017-01-10T18:57:24.031+0100 - [INFO] - .
data: <br>2017-01-10T18:57:24.031+0100 - [INFO] - .
data: <br>2017-01-10T18:57:24.035+0100 - [INFO] - OK (records=44\/44)
data: <br>2017-01-10T18:57:24.035+0100 - [INFO] - <br>- Cluster \'_bb_script\' (id=23)...
data: <br>2017-01-10T18:57:24.039+0100 - [INFO] - OK (records=0\/0)
data: <br>2017-01-10T18:57:24.039+0100 - [INFO] - <br><br>Done. Exported 124 of total 124 records<br>
data: <br>2017-01-10T18:57:24.039+0100 - [INFO] - <br>Exporting index info...
data: <br>2017-01-10T18:57:24.047+0100 - [INFO] - <br>- Index _BB_Collection.name...
data: <br>2017-01-10T18:57:24.055+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.059+0100 - [INFO] - <br>- Index OUser.name...
data: <br>2017-01-10T18:57:24.059+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.059+0100 - [INFO] - <br>- Index _BB_Node.id...
data: <br>2017-01-10T18:57:24.063+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.067+0100 - [INFO] - <br>- Index _BB_Script.name...
data: <br>2017-01-10T18:57:24.071+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.071+0100 - [INFO] - <br>- Index _bb_user.user.name...
data: <br>2017-01-10T18:57:24.079+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.087+0100 - [INFO] - <br>- Index E.id...
data: <br>2017-01-10T18:57:24.087+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.091+0100 - [INFO] - <br>- Index _bb_node._creation_date...
data: <br>2017-01-10T18:57:24.091+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.091+0100 - [INFO] - <br>- Index dictionary...
data: <br>2017-01-10T18:57:24.095+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.095+0100 - [INFO] - <br>- Index _BB_File_Content.content.key...
data: <br>2017-01-10T18:57:24.099+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.099+0100 - [INFO] - <br>- Index _bb_userattributes.email...
data: <br>2017-01-10T18:57:24.099+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.099+0100 - [INFO] - <br>- Index _bb_node._author...
data: <br>2017-01-10T18:57:24.099+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.103+0100 - [INFO] - <br>- Index _BB_Index.key...
data: <br>2017-01-10T18:57:24.107+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.107+0100 - [INFO] - <br>- Index _BB_asset.name...
data: <br>2017-01-10T18:57:24.107+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.107+0100 - [INFO] - <br>- Index _BB_Permissions.tag...
data: <br>2017-01-10T18:57:24.107+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.111+0100 - [INFO] - <br>- Index ORole.name...
data: <br>2017-01-10T18:57:24.115+0100 - [INFO] - OK
data: <br>2017-01-10T18:57:24.115+0100 - [INFO] - <br>OK (15 indexes)
data: <br>2017-01-10T18:57:24.115+0100 - [INFO] - <br>Exporting manual indexes content...
data: <br>2017-01-10T18:57:24.127+0100 - [INFO] - <br>- Exporting index dictionary ...
data: <br>2017-01-10T18:57:24.127+0100 - [INFO] - OK (entries=0)
data: <br>2017-01-10T18:57:24.127+0100 - [INFO] - <br>OK (1 manual indexes)
data: <br>2017-01-10T18:57:24.127+0100 - [INFO] - <br><br>Database export completed in 372ms
data: <br>2017-01-10T18:57:24.139+0100 - [INFO] - Writing 61743 bytes
data: <br>2017-01-10T18:57:24.167+0100 - [ERROR] - IOException: Failed to delete original file \'C:\\Users\\xxx\\AppData\\Local\\Temp\\export3659105779305698269.temp\' after copy to \'C:\\Users\\xxx\\Downloads\\baasbox-0.9.5\\baasbox-0.9.5\\db\\backup\\20170110-185722-1234567890.zip\'