You can restore an entire database after you deactivate the affected database. When you deactivate the database, all the DB2 non-administrative users are disconnected. The system then deactivates the database if it is active. After the restore, the system automatically activates whatever database was deactivated by the system or users. However, you need to connect the non-administrative users manually after the restore operation.