Hi all!!!
I have done this script to automate the server operations, right now the operative is this:
We backup up directly to tape, and on the parameter next storage pool, there is nothing defined.
Regardless to say the move data by hand is simple awful , and I'd love to avoid doing it manually, so the script is this:
/* Backup DB*/
backup db t=full devclass=LTOCLASS3 wait=yes
/* Expiration*/
exp in wait=yes duration=120
/* Reclamation*/
recla stg SP_1_LTO3 th=51 du=55 wait=yes
recla stg SP_2_LTO3 th=51 du=115 wait=yes
recla stg SP_3_LTO3 th=51 du=55 wait=yes
/* Migration*/
mig stg SP_1_LTO3 th=0 du=25 wait=yes
mig stg SP_2_LTO3 th=0 du=55 wait=yes
mig stg SP_3_LTO3 th=0 du=25 wait=yes
As far as I know, or understand :S, the migration will do the move data for the tapes automatically, but what should I put as the next pool, the same pool? Because I got confused by the manual since it's usually refered to do the migration from disk to tape, and that's not the case here.
I don't want to mix the data and much less to lose the inactive versions that haven't expired.
Please any input would be greatly appreciated.
I have done this script to automate the server operations, right now the operative is this:
- 5 PM to 8 AM: Backup the clients
- 8 AM to 10 AM: Backup the server database
- 12 PM to 1 PM: Expiration.
We backup up directly to tape, and on the parameter next storage pool, there is nothing defined.
Regardless to say the move data by hand is simple awful , and I'd love to avoid doing it manually, so the script is this:
/* Backup DB*/
backup db t=full devclass=LTOCLASS3 wait=yes
/* Expiration*/
exp in wait=yes duration=120
/* Reclamation*/
recla stg SP_1_LTO3 th=51 du=55 wait=yes
recla stg SP_2_LTO3 th=51 du=115 wait=yes
recla stg SP_3_LTO3 th=51 du=55 wait=yes
/* Migration*/
mig stg SP_1_LTO3 th=0 du=25 wait=yes
mig stg SP_2_LTO3 th=0 du=55 wait=yes
mig stg SP_3_LTO3 th=0 du=25 wait=yes
As far as I know, or understand :S, the migration will do the move data for the tapes automatically, but what should I put as the next pool, the same pool? Because I got confused by the manual since it's usually refered to do the migration from disk to tape, and that's not the case here.
I don't want to mix the data and much less to lose the inactive versions that haven't expired.
Please any input would be greatly appreciated.