gbak requires exclusive access ------------------------------ Key: CORE-4132 URL: http://tracker.firebirdsql.org/browse/CORE-4132 Project: Firebird Core Issue Type: Bug Components: GBAK Affects Versions: 3.0 Initial Environment: Win7/64 gbak version WI-T3.0.0.30472 Firebird 3.0 Alpha 1 Reporter: Thomas Beckmann
Consider this testcase: isql -user testuser -password testpwd create database c:\temp\test.fdb exit; Now: gbak -b c:\temp\test.fdb c:\temp\test.fbk gbak -rep c:\temp\test.fbk c:\temp\test1.fdb works fine Open second console and run isql isql 127.0.0.1/3051:c:\temp\test.fdb -user testuser -password testpwd Back to first console try isql 127.0.0.1/3051:c:\temp\test.fdb -user testuser -password testpwd exit; works fine. Try gbak -b c:\temp\test.fdb c:\temp\test.fbk yields to gbak: ERROR:I/O error during "CreateFile (open)" operation for file "c:\temp\TEST.FDB" gbak: ERROR: Error while trying to open file gbak: ERROR: Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird. gbak:Exiting before completion due to errors (meaning "file is in use by another process") try gbak -b 127.0.0.1/3051:c:\temp\test.fdb c:\temp\test.fbk -user testuser -password testpwd yields to gbak: ERROR:Unable to perform operation. You must be either SYSDBA or owner of the database gbak:Exiting before completion due to errors try gbak -b 127.0.0.1/3051:c:\temp\test.fdb c:\temp\test.fbk -user sysdba -password masterkey yields to gbak: ERROR:Unable to perform operation. You must be either SYSDBA or owner of the database gbak:Exiting before completion due to errors Am I missing something or is this a bug? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel