Skip to Content
0
Former Member
Mar 02, 2007 at 06:37 PM

brbackup - querying the most recent directory

36 Views

Before I hack my backup script, is there a cli where I can query the most recent

backup directory ? instead of look in initABC.sap for the backup_root etc and

looking for the last backup in the .../sapbackup/backxxx.log ?

For example in the initXXX.sap my backup_root is

/centos1/data2/sap01/PSM_DB_BACKUP

and an example output from a brbackup has in it

BR0106I Files will be saved on disk in directory: /centos1/data2/sap01/PSM_DB_BACKUP/bdushuca

or

BR0058I BRBACKUP action ID: bdushuca

Is there a cli that I can get something with the bdushuca in it ?