Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

expiration dosn't work 1

Status
Not open for further replies.

End

IS-IT--Management
Jun 2, 2003
6
HU
Hi there!

I have running Legato networker 6.2 server on Win2k.
My problem is, when a volume's expiration date is over the system doesn't make it recyclable. It shows the date of expiration, even if it over.
How can I solve this?

Regards,

End.
 
Are all savesets on that volume marked as "recyclable" ?

Is there any "suspect" saveset on that tape ?

There is an option called "Recycle" must be set to "Auto" and not to "manual", you could check if it as been changed by somebody ?

Regards.
 
Also check the properties of the pool (except the default pools). There (under Preferences) you have the availability to set the parms for "Recycle to other pools" and "Recycle from other pools".

Have fun
Stefan
 
sdeb,

There are some save sets in browsable status. All those save sets are have to be recyclable status by the configuration of the client. I don't understand why is it browsable.

Thare aren't any suspect status.

Recycle is Auto mode.

End.
 
itergo,

I don't want to "Recycle to other pools" or "Recycle from other pools". And i think its not cause of this problem.

End.
 
So that's the reason why the media is not in recyclable state. Now you tell me that they should be recyclable...

Could you try the following command (not any danger, just a query):

mminfo -o e -r "name,savetime(20),ssbrowse,ssretent" -q "volume=NAME_OF_THE_MEDIA"


This command will sort savesets stored on that volume by expiration date, it will show the backup date and the expiration date.

So we're gonna be able to know which policie as been used for those backups.
I've not heard about recycling problems with the 6.2 (in the past it as often been a big problem...) maybe it's an old test or an error.
We should be able to change saveset expiration date with the nsrmm command.


Regards.
 
Hi,

A few things to consider..

NetWorker will not process save sets for clients that have been removed from the backup server. Their policy is always to error on the side of caution.. So, if any clients were removed, you need to mark those save sets recyclable (easy through scripting).

Also, run the nsrim command manually.. I've seen instances where NetWorker will not free tapes that should be free. This will only help if you don't see any browsable save sets on the tape.

And last, but definitely not least, if older save sets are tied to new save sets , NetWorker will not recycle them. So if you took a Full backup on March 1, with a retention of 1 month, and you only performed differential or incr backups since then, NetWorker will not free the full save sets as they are necessary to recover the most recent data..

Hope this helps,

-ag100
 
sdeb,

I tried the command.
All savesets expiration and retention date is over.
The savesets in browse status are still in the client index.
How could I remove these save sets from the index?

End.
 
ag100,

Thanx for your help.
But any of your ideas are not true in my case.

End.
 
I find the nsrmm command to modify save sets status to recyclable. I ran the nsrim, the volume is now recylable.
But i don't want to do it by hand.
 
If you're sure you want to to free these tapes, you can script it, quite easily. For example, if you wanted to free tapes older than 1 month:

mminfo -q "savetime > 1 month ago" -r "volume"

will give you a list of the volumes.. Next, you can use a loop to free each one with

nsrmm -yo recyclable volume_name


Good Luck!

-ag100
 
Something that you also need to understand:

Only in rare cases, a save set (and consequently a volume)
will become recyclable just after the policy expired. The
reason for this are "dependencies".

Imagine the default schedule (fulls on sunday, incrementals
throughout the week). The first full will not be released
before not ALL save sets that rely on that full have
expired as well. So with a browse policy of one week, the
first save set (the first full) will not become recoverable after one but after two weeks. Same applies to retention policies of course. This is why Legato talks about a backup cycle. Read the Admin Guides for more info.
 
ag100, i think your command
'mminfo -q "savetime > 1 month ago" -r "volume"'
don´t work.

u have to set the date in a query

mminfo -s %NWserver% -q"savetime="MM/DD/YY"" -r"volume"
or
mminfo -s %NWserver% -q"volaccess"="MM/DD/YY"" -r"volume"
 

Relative time 'stamps' work in general. Here an example:

C:\>mminfo -q "savetime > 1 month ago" -r "volume"
win2000.001

C:\>


You you either have set the limit wrong or there simply is
no backup (or there is a bug).

 
Hi,

I have the same problem with volume's expiration. I use Sun StorEdge Enterprise Backup Software 7.0 (Legato Networker 7.0) on Solaris 8. I backup the filesystem by the save utility (save -b pool -w browse -y retention -s server filesystem). When the browse and retention policy was expired the particular save set remains browsable and volume doesn't change mode to recyclable. Does anyone know any another solution?

Thanks,
Ales
 
I never tested this but as far as i remember, manual backups
(save, not savegroup, which you use) do not undergo any
automatic expiration.

However it should be possible if you pretent to run a
'level' backup. Simply add the "-l level" option to your
command. Let me suggest that you use the level 'full' for
manual backups as it has the same functionality (a full for
all your selected files).
 
605,
thank you for your answer. I tried to add "-l full" parameter but the result is the same as before. I tried to backup the save set automatically by scheduling the group (schedule: full backup every day, browse and retention: one day)in GUI and the result is the same as by using "save" command.
 
I think that this may not actually be the ssid browse and retention policies, but the physical tape.

On older versions of networker a date was written to the tape which means that one (I think) two years past the time the tape was originally labelled it would not allow the tape to be used any more.

Load the tape into a drive and then go into the GUI and edit the device, there is a expiration date in here, if this is past then Legato will not allow the tape to be relabelled.

To get a round this then label the tape using tar/cpio/NTBackup or some other means (This will completely remove the original header so as far as Legato is concerned this has never been used before) then remove the volume from the media database and then label again in legato as whatever you want.

Let me know the results.

Regards
KeefB

[lightsaber]
 
The "Volume expiration date" does not exist any longer. NW
now uses the retention date of the last save set.

I have verifies this with NW 7.0/Solaris 6. With a full and
a browse and retention policy of 1 day. It works fine for me - NW explicitely says:

09/03/03 21:30:10 nsrd: media info: Deleted 2080 KB from save set 4283755911 on volume test.001

and for other save sets of course.

bash-2.02# mminfo -av -r "name, level, ssbrowse, ssretent"
name lvl browse retent
/etc full 09/04/03 09/04/03
bootstrap full 09/04/03 09/04/03
index:ultra full 09/04/03 09/04/03
bash-2.02#

Both dates changed wit the next scheduled backup after 1 day.
 
Hi,

the output of command (mminfo -av -r "name, level, ssbrowse, ssretent") is the same. But networker doesn´t automatically change mode of volume to recyclable.
Networker doesn´t say:
09/03/03 21:30:10 nsrd: media info: Deleted 2080 KB from save set 4283755911 on volume test.001.

mminfo -av -r "name, level, ssbrowse, ssretent, ssflags"

/a1 full 09/02/03 09/02/03 vF
/a1 full 09/03/03 09/03/03 vF
/a1 full 09/04/03 09/04/03 vF
bootstrap full 09/02/03 09/02/03 vrF
bootstrap full 09/03/03 09/03/03 vrF
bootstrap full 09/04/03 09/04/03 vrF
index:sandra full 09/02/03 09/02/03 vrF
index:sandra full 09/03/03 09/03/03 vrF
index:sandra full 09/04/03 09/04/03 vrF

Flag "E" (eligible for recycling) isn´t here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top