Restore (Backup Pending) -
09-28-2010
, 09:50 AM
I've taken an offline backup from one environment and copied the file
to two other enviroments. I restored the backup in the first
environment using this command.
restore db EDW taken at 20100923215956 without rolling forward
I was able to connect to the database immediately after the restore.
Everything is fine in this environment
I then used the same restore command in the second enviroment. The
restore completed. When I went to connect to the database I got this
message.
SQL1116N A connection to or activation of database "EDW" cannot be
made because of BACKUP PENDING. SQLSTATE=57019
I didn't think this was possbile, since it's the same backup being
restored in each environment. A coworker suggested I add a "replace
existing" to the restore command. That restore is still running, so I
don't know if it has fixed the problem, but regardless, I'm confused
in knowing when to use certain restore flags to avoid issues like this
in the first place. Thx.
This is for DB2 UDB 8.2 |