Unsolved
This post is more than 5 years old
44 Posts
0
6093
Volume expiration
Hi
I have a problem with volume expiration. I have a set of volumes that their expiration date show the current day(9/28/2010) but still the volume in the media pool window is appendable. I used the command mminfo -o e -r "name,savetime(20),ssbrowse,ssretent" -q "volume=RMF003L3" to see ithe expiration dates of the individual save sets but all of them show as their expiration date 9/28/2010 also..
Why networker does not expire the volumes?
Thanks!
Networker 7.5 SP3 for windows.
Luis_Rogerio
116 Posts
0
September 28th, 2010 13:00
Hi,
Try this command for solve your problem
nsrim -V RMF003L3
If do not solve maybe have a saveset dependence.
Regards.
Luis Rogerio
fernadoroves
44 Posts
0
September 28th, 2010 13:00
thank you for your quick response but the idea is that networker should do this task automatically.
I dont want to do it manually. Any other idea of such networker's behaviour regarding volume expiration?
Greetings
Luis_Rogerio
116 Posts
0
September 28th, 2010 14:00
The command should be executed automaticaly on end savegrp.
Try put nsrim -v command in action the Savegroup Completation...
NAME
nsrim - NetWorker index management program
SYNOPSIS
nsrim [ -c client ] [ -N saveset ] [ -V volume ] [ -lnqvMXC ]
DESCRIPTION
The nsrim program is used to manage the NetWorker online file and media indexes. Normally, nsrim is invoked by savegrp(8) command on completion, and by nsrd(8) when Remove oldest cycle is selected from the NetWorker Administrator program. nsrim is not normally run manually. However, the commandâs modes can be modified such that normal users may run the command while retaining root privileges; see nsr(8) for more details.
Regards
BGuevara
101 Posts
0
September 29th, 2010 07:00
Check out if there is any dependency as someone said because there could be for example incremental backups waiting for a full backup to expire.
Regards.
fernadoroves
44 Posts
0
September 29th, 2010 08:00
Where do i have to put nsrim -v ? i dont see any options under group resource.
is it under the client resource-apps&modules tab-backup-save operations?
Could you clarify it for me?
Thanks
Luis_Rogerio
116 Posts
0
September 29th, 2010 08:00
Hi Osk,
Remeber this is a workaround...
Configuration > Notifications > Edit "Savegroup completion" and in Action add command nsrim -v
Regards
Luis Rogerio
Luis_Rogerio
116 Posts
0
September 29th, 2010 09:00
Maybe its it...
"Check out if there is any dependency as someone said because there could be for example incremental backups waiting for a full backup to expire."
Verify retention date this savesets
mminfo -ot -q "client=sql_client" -r sscreate,ssretent,name,level,volume
Regards,
Luis Rogerio
fernadoroves
44 Posts
0
September 29th, 2010 09:00
I have found something weird. I'm doing only full backups but there is one client that is using the networker sql server module
to backup a msql server database. There are some savesets of this client with the level incr( these savesets were created when the last
full backup ran)... could this be the problem why the volume is not getting expired? Why networker is creating this incremental savesets??
thanks
fernadoroves
44 Posts
0
September 29th, 2010 09:00
I got this:
9/23/2010 9/29/2010 MSSQL: full RMF004L3 (repeated several times)
9/23/2010 9/29/2010 MSSQL: incr RMF004L3 (repeated twice)
Also MSSQL savesets from other volumes. ( RMF001L3, RMF002L3, RMF003L3, RMF005L3)
After this output what do you think? It should expired the tape?
thanks
fernadoroves
44 Posts
0
September 29th, 2010 10:00
i also ran this command to see the savesets that have not expired:
mminfo -q "!ssrecycle,client=sqlclient,volume=RMF004L3
RMF004L3 sqlclient 9/23/2010 size full MSSQL
RMF004L3 sqlclient 9/23/2010 size full MSSQL
RMF004L3 sqlclient 9/23/2010 size incr MSSQL
....
etc
it shows me all the MSSQL savesets(full and incr) from 09/23/2010 as not expired! (My browse and retention policy is 6 days only)
today is:
09/29/2010
any ideas?
Luis_Rogerio
116 Posts
0
September 29th, 2010 11:00
Run the command bellow, this savesets will be recycled today 29/09/2010
mminfo -ot -q "volume=RMF004L3,savetime<= 6 days ago" -r sscreate,name,client,ssid
fernadoroves
44 Posts
0
September 29th, 2010 18:00
sorry but that command only listed the savesets with their sscreate, client, name and ssid of the volume RMF004L3
what was the idea of running it?
ark-flUcr
23 Posts
0
September 29th, 2010 23:00
Hello;
To see retention and index browse you could use:
mminfo -q "volume=XXXX" -r "volume,client,savetime,sumsize,level,name,ssid,ssbrowse,ssretent" -o t
And you could change tehe volume to recyclable using networker interface:
Media-->volumes--->select the volume now "change mode.." and select recyclable
with commands you could use nsrmm command to change volume to recyclable.
Excuse me my English, Regards;
Arkaitz
Luis_Rogerio
116 Posts
0
September 30th, 2010 04:00
The idea was to list the save sets that were holding the tape apeendable, and would be expired yesterday.
Today were expired?
Dicionário - Ver dicionário detalhado
fernadoroves
44 Posts
0
September 30th, 2010 07:00
Yes they expired but only after the backup ran today. So the backups from 09/23/2010 are expired now but, the new savesets backuped today were
appendend..It seems that after this backup finished, networker run nsrim to mark the savesets from 09/23/2010 as expired but
my idea is that the volume should be expired before the weekly backup runs so networker can relabel the tape(automedia management is enabled) keeping the tape from becoing full during a backup. Is it possible as a workaround to configure a command that recycles the tape
and relabels it before the actual savegroup backup is run?
I saw that there is a backup commands and savegrp commands options under the client resource - apps¬modules tab. What are they for?
thanks!