DB2 archive current log
Sun, Mar 13, 2016 · 1 minute readdatabasedb2
Archive the current logfile.
$ db2 list history backup all for e03
# Cannot archive log if connected to database
db2 => archive log for database e03
SQL1493N The application is already connected to an active database.
# Archive log works if not connected
db2 => archive log for database e03
DB20000I The ARCHIVE LOG command completed successfully.