Apologies for the relative newbieness of this post
I'm new to DB2, having used mainly Oracle and MySQL before, but have been landed with a DB2 database to administer since i'm the "database guy".
Running V7 something on Solaris, we have 5 production databases within a single instance, and due to lack of knowledge, haven't been getting backed up for a LONG time.
I've been playing with the developer edition on my workstation, and have sorted out the LOGRETAIN and USEREXIT stuff, but my question is, can I stop an individual database, to perform an offline backup, prior to restarting with the updated config and setting up a cron for online backups?
If ym understanding is right, "db2stop" seems to stop the entire instance, which I'm not keen to do.
According to this page:
http://publib.boulder.ibm.com/infoce...db2.doc.admin/
there's a "STOP DATABASE" command, but I get the following error when trying to issue that for the specific database.
db2 => STOP DATABASE testdb2
SQL0104N An unexpected token "testdb2" was found following "DATABASE".
Expected tokens may include: "MANAGER". SQLSTATE=42601
db2 =>
Many thanks for any light you can shed on this.
Regards
Andrew