UNSOLVED

Navanee

updated

14 years ago

N

Navanee

13 Posts

0

4485

November 11th, 2012 05:00

Disk Volumes-deletion of retention completed Data

we have configured 10 clients backup of SQL,exchange,systate. we are using disks for this backups and configured seperately as daily backup disk and weekly backup disks... we have only one month retention for the savesets. mminfo showing the same. we have a doubt like volumes not having cleared properly. due to this we are facing space issues every week. especially full backup. how to check recoverable data details and how to clear disk volumes manually that exceeded recoverable or retention period.

  • Bebo2k

    544 Posts

    812

    0

    Posted November 11th, 2012 14:00

    Hi,

    Once data is no longer within the retention period or it exceeds the retention period ( the one month in your case), and there are no backups that depend on it still within the retention period, data is considered to be recyclable.

    When data is recyclable:

    • If it is on tape:
      • The data will remain available until the media is recycled. This will only happen once all the backups on the media is also recyclable, and either the administrator manually recycles the media or NetWorker re-uses it.
    • If it is on a disk backup unit (AFTD or DataDomain) device:
      • The data will be erased from the disk backup unit the next time a volume clean operation is run, or nsrim is run (either as a overnight standard event by NetWorker, or manually via nsrim -X).

    So if the backups that exceeds its retention policy may not be erased if there are some backups depend on it (Incrementals or Differential backups depend on full backups) , so NetWorker is waiting for the full backup cycle to be expired to erase it from the media. You can run manually nsrim -X to clean up the media from expired savesets (It runs automatically everyday already).

    Hope this helps you,

    Ahmed Bahaa

  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    812

    0

    Posted November 13th, 2012 07:00

    You can check what data there is.  Since you said you use disk, you can do something like:

    mminfo -avot -q family=disk -r "name,volume,sscreate(20),ssbrowse(20),ssretent(20),level,group,client"

    Above command, when run from backup server, will create list of save sets with date when they have been created, their browse and retention time, backup level, which group and client they have been associated with. Obviously, with file system backup, ssretent value is not definitive one as you need to know that expiration is tied to whole backup cycle due to full+incr dependency.

  • Navanee

    13 Posts

    812

    0

    Posted November 17th, 2012 13:00

    Hi , thanks Ahmed & Crevelin for your answers. I got the output. while running nsrim -X command it is showing savesets of browsable,recoverable and recyclable.and one more question. we only need one month retention for all the data, that means, one month browsable and one month retention. otherwise recoverable can be for extra one month. after that it has to be deleted from disk.

  • Bebo2k

    544 Posts

    812

    0

    Posted November 17th, 2012 15:00

    Hi Navanee,

    The NetWorker media retention policy specifies a period during which backed-up  data is protected from an accidental overwrite. After the retention period is exceeded, the save set is eligible to change its status from recoverable to recyclable. The term recyclable means “eligible for recycling.” The save set’s status, however, does not change to recyclable until it, and all the savesets that depend on it, have passed their retention policy. The NetWorker server keeps track of save set dependencies regardless of whether the dependent save sets are stored on the same or different volumes. The expiration of a save set’s retention policy does not remove the save set’s entries from the media database.

    Hope this helps,

    Ahmed Bahaa

  • RFreund1

    47 Posts

    812

    0

    Posted November 19th, 2012 07:00

    "The NetWorker server keeps track of save set dependencies regardless of whether the dependent save sets are stored on the same or different volumes."

    This is the key issue. Do not forget that due to NW thinks in backup cycles. So if you intend to keep "n" backup cycles, you really must calculate with "n+1" as NW can only delete the oldest one if all backups have expired. This is an obvious problem.

    If you do B2D you must of course provide the disk space.