Restore activity monitor logs
I use Linux master server in my Netbackup envirioment. From time to time I have to remove old logs to release more free space on OS filesystems. I backup up them (/usr/opnev/netbackup/logs) and remove the oldest one. Right now I have logs from last 5 days shown in Activity Monitor console. Unfortunetly I need all logs from last month to know what backups were done and what media were used for that. I have backups logs from that period but I don't know what should I do. Recover all logs /usr/opnev/netbackup/logs from that period to actual envirioment? What sould I do to see all old logs in Activity Monitor Console instead only form last 5 days?
Is there any other option from command line to show logs from that period? I tried to use bpdbjobs but I cannot find any useful informaton in that files /usr/openv/netbackup/logs/*.log
Activity monitor info is not saved in logs folder - it is saved in jobs database (/usr/openv/netbackup/db/jobs).
The info that you need is also stored in the image database and is kept for as long as images are valid (not expired).
The command to get this info is something like:
bpimagelist -media -client <client-name> -d <start-date> -e <end-date> -U
NBU reports that will also have this info (expired backups as well) is 'all log entries' - kept in 'error' database (/usr/openv/netbackup/db/error). This info is kept for 28 days by default. If you have backups of this folder, it will probably be easier to restore these files and read them rather than trying to restore jobs database.