To enable an online database for automated file management during backup:
  1. Verify that your database has after-imaging areas and after-imaging is enabled. If not enabled, see Enable after-imaging online for instructions.
  2. Create directories on disks with sufficient space to archive your AI extents.
  3. Enable your database for AI file management with an online backup. The backup provides the baseline for rolling forward extents.
Use the following syntax, where your database is named mydb:
probkup online mydb /usr4/backups/mydb.bk enableaiarchiver -aiarcdir
            /usr1/aiarchives/mydb/,/usr2/aiarchives/mydb/ 
          -aiarcinterval 120

For details about listing multiple archiving directories, see After-image File Management Archive Directory List (-aiarcdir).

To enable automated AI file management when you are not performing a backup, see Enable an online database for automated AI file management.