Forum Discussion

itcsge's avatar
itcsge
Level 3
12 years ago
Solved

deactivated policy - scripted backups

I'm in the process of getting a sandpit configured so i can test questions like this myself as we can't run backups during the day...

I have a scripted backup that will run a backup based on some validation checks but others want the policy disabled. are there any gotchas here. It appears that you can run a manual backup against a deactivated policy - can you do the same for bpbackup -i [-p policy]  [-h  host-name] backups? tia, G.    

  • A policy must have a schedule.
    This is what determines if Full or Inc backup must run and which Retention Level.
    So, if you have Full and Inc in the same policy, add -sched <schedule-name> to bpbackup command.

    I would personally choose Frequency option without any open windows.
    (Not that it really matters, as long as there are no open windows.)

4 Replies

  • bpbackup -i [-p policy] is the same as running a manual backup for a policy, but it will fail if policy is deactivated.

    If you do not want it to run automatically and only run from the script, simply ensure that all automatic type schedules (Full and Inc) do not have open backup windows.

    Hope this helps.

  • great stuff - thats what i suspected but couldn't test (til i get the sandpit that is). So is the best way to do this - is to set scheduled type to calendar but not make any changes to the calendar schedule tab that gets displayed? or alternatively not creating any schedules?

  • A policy must have a schedule.
    This is what determines if Full or Inc backup must run and which Retention Level.
    So, if you have Full and Inc in the same policy, add -sched <schedule-name> to bpbackup command.

    I would personally choose Frequency option without any open windows.
    (Not that it really matters, as long as there are no open windows.)