Rename existing files
When ontape repeats an archive operation, it renames the existing files so that old files are not rewritten. A timestamp is added to the file name, which provides a way for related storage space or logical log files to be organized together.
- Storage-space archive files
The archive checkpoint time is added, and has the format
servername_YYYYMMDD_hhmmss_archive-level
. - Logical log backup files
The backup time is added, and has the format
servername_YYYYMMDD_hhmmss
.
For example, the file My_instance_L0 is renamed to My_instance_20080913_091527_L0
When restoring from a file system directory, ontape requires that storage-space archive and logical-log backup files be named as specified by the TAPEDEV and LTAPEDEV parameters. If files have been renamed, including by ontape because of repeated archives and backups, files must be manually renamed to their original file names.