>>> In a DB2 host, backup image files are stored in format, " SAMPLE.0.db2inst1.DBPART000.20230723133415.001 " ( example ).
1. What is the significance or meaning of each of the elements constituting the name of this file. I mean the first element " SAMPLE " specifies the name of the database, similarly the third element " db2inst1 " specifies the name of the instance. What do the other elements mean? Major doubt is on the second and fourth elements ( 0 and DBPART000 in this example ).
2. For the same file format , the last option( 001 in our case ) signifies the session number. Is this limited to only 3 digits? If the number of sessions are like 1000 or even greater, what would be displayed here?
3. While restoring a database from the backup images using "db2 restore database <SourceDB> from <FileDirectory> taken at <BackupTimeStamp> into <TargetDB>" command. Does it always look for Backup files in the above format in example? When I had renamed the Backup or Log Files, the restore didn't work. Is this the only allowed file format while restoring?
------------------------------
Yateesh Thota
------------------------------