I tried to backup the IBM DB2 (LUW) Database using this command:
./db2 backup database DBEMP to /home/user1/db2bkup
But I got this message:
SQL1035N The database is currently in use. SQLSTATE=57019
Then I tried this:
./db2 backup database DBEMP online to /home/user1/db2bkup
And I got this message:
SQL2413N Online backup is not allowed because the database is not recoverable or a backup pending condition is in effect.
What does it mean? Is there alternative way to backup the database online? I can't stop the database because it's being used.