cancel
Showing results for 
Search instead for 
Did you mean: 

Bpexpmedia -reassign command

Schwarzkopf
Level 5
Hi Is there any way to put bpexpmedia -deassign in a Linux shell script to execute in crontab?
1 ACCEPTED SOLUTION

Accepted Solutions

Yasuhisa_Ishika
Level 6
Partner Accredited Certified
With "-force" option, you can run it without any interaction. I agree with wrobbins and Marianne. In most case, this is not needed, and if you want more often clean-up, it's better to change Cleanup Interval.

View solution in original post

4 REPLIES 4

Nicolai
Moderator
Moderator
Partner    VIP   

Under what circumstances do you need to automate this task ?

Will_Restore
Level 6

perhaps you mean

bpexpdate change expiration date of backups in image catalog and media in media catalog

 

If you are having to do this more than "almost never" it's probably time to design good backup strategy rather than automate a bad one.

Marianne
Level 6
Partner    VIP    Accredited Certified

Maybe you are looking for 'bpexpdate -deassignempty'?

This command runs by default every 12 hours when the master does image cleanup as well as at the end of a session of scheduled backups. If you want cleanup to run more often, you can do that in Master server Host Properties, or from cmd:

bpconfig -cleanup_int <hours>

There should be no reason for doing this via cron....

Yasuhisa_Ishika
Level 6
Partner Accredited Certified
With "-force" option, you can run it without any interaction. I agree with wrobbins and Marianne. In most case, this is not needed, and if you want more often clean-up, it's better to change Cleanup Interval.