Steve
2006-01-04 21:58:03 UTC
I'm sure I'm missing something obvious here, but I don't see it. IBConsole
is able to back up and restore the database, but I want to make a script to
automate it.
Obviously the file is in use, the database is running, but why can't I back
up the database when it's running? I don't get it.
D:\Data>gbak -b -v -user sysdba -pas ******* -se dbhost:service_mgr
d:/data/db.ib d:/backups/db.ibk
gbak: ERROR: I/O error for file "d:/data/db.ib"
gbak: ERROR: Error while trying to open file
gbak: ERROR: The process cannot access the file because it is being used
by another process.
gbak: Exiting before completion due to errors
- Steve
is able to back up and restore the database, but I want to make a script to
automate it.
Obviously the file is in use, the database is running, but why can't I back
up the database when it's running? I don't get it.
D:\Data>gbak -b -v -user sysdba -pas ******* -se dbhost:service_mgr
d:/data/db.ib d:/backups/db.ibk
gbak: ERROR: I/O error for file "d:/data/db.ib"
gbak: ERROR: Error while trying to open file
gbak: ERROR: The process cannot access the file because it is being used
by another process.
gbak: Exiting before completion due to errors
- Steve