This post is more than 5 years old
1 Rookie
•
20 Posts
0
819
June 23rd, 2015 23:00
Command syntax to change retention on all savesets in a pool/volume
Hi!
Can anyone help me with the syntax to change retention on all savesets in a pool/volume?
A
No Events found!
ble1
2 Intern
•
14.3K Posts
0
June 24th, 2015 04:00
Normally client side backups you can identify with with mminfo -q manual part... and they will take longest retention found for the client. Scripted, it can be all one liner.
ble1
2 Intern
•
14.3K Posts
1
June 24th, 2015 00:00
for ssid in ` ' -w ' ' -S $ssid;done
ssid list you can get via mminfo -q volume= -r ssid or for pool use pool in query. Retention and browse time you can use as fixed values or dynamic ones (dynamic ones are for example '+3 months' which will extend time for 3 months as of now).
anthome
1 Rookie
•
20 Posts
0
June 24th, 2015 01:00
Ok.. so it has to be done in a two-step procedure?
I'm looking into the option of running it as a scheduled script... as I have some client-side-initiated rman-backups that have WAY to long retention when they are ran.. but I also now.. got some tips trying to adjust the retention from the rman script..
A