Forum Discussion

nbustarter380's avatar
11 years ago
Solved

extending retention period for backups using the console Gui

Hi,

Question - If we wanted to extend the retention period of backups/images using the GUI is it just a matter of going into the policy and just choosing say the selection let's just say 9 months and clicking ok?

Just had to ask because everything I have read tells instructs how to do this comman line.

 

Thanks in advance!

 

 

  • http://www.symantec.com/docs/HOWTO43656

    There are some examples on the usage of bpexpdate in the end of the technote.

  • You need to specify the option along with a value.

    Have another look at bpexdate options: 

    bpexpdate -recalculate [-backupid backup_id] [-copy number] [-d date | 0 | infinity] [-client name] [-policy name] [-ret retention_level] [-schedtype] [-M master_server,...]

    So, let us try to apply it to your environment (Full schedules):

     bpexpdate  -recalculate -policy Oramw80k-y.mges.mycompany.com -sched 0 -ret 4

    You can find backup id's with bpimagelist command.

  • You need to issue the commands on the Master server where the image catalog is kept. Or else on a media server with the additional -M master_server option.
    The admincmd folder only exists on NBU master and media servers, not on NBU clients.

    If you also want to extend images for incremental schedules, you can run the command again for that schedule type. Just double-check Incremental schedule type - differential or cummulative.

  • You have two things you have to consider for your request: backup images that were already created before now, and backup images that will be done in the future.

    bpexpdate only changes the expiration date of BACKUP IMAGES that have already been created in the past.  It will NOT change the backup policy.  Once a backup image is created, its expiration date is set using the information contained in the policy, but further changes to the policy do NOT affect prior images.

    bppllist is not the command you want to use to check the exipration date of prior backup images.  It only lists how the policy is set for FUTURE backups, not for previous backup images.  If you want to change the policy for future backups, go into the GUI to make changes to the policy.

    If you want to see the exipration date of previous backup images, try bpimagelist instead of bppllist.

    Changing the expiration date of backup images does NOT change the policy used to back them up.