Networker

Re: [Networker] Netapp, ndmp, and incremental backups.

2005-06-17 13:55:17
Subject: Re: [Networker] Netapp, ndmp, and incremental backups.
From: Itzik Meirson <imeirson AT MBI.CO DOT IL>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 17 Jun 2005 20:54:03 +0300
This is exactly the true behavior of the "differential" backup levels as
originally defined by the Unix "dump/backup command" .
I would say that Netapp miss-used the term incremental...
Itzik

> -----Original Message-----
> From: Legato NetWorker discussion 
> [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On Behalf Of Ernst Bokkelkamp
> Sent: Friday, June 17, 2005 20:30
> To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
> Subject: Re: [Networker] Netapp, ndmp, and incremental backups.
> 
> Very strange, can you explain the following lines:
> 
> * fth02n:/vol/vol0 nsrndmp_save: NDMP Service Log: DUMP: Date 
> of this level
> 1 dump: Mon Jun 13 17:30:12 2005.
> * fth02n:/vol/vol0 nsrndmp_save: NDMP Service Log: DUMP: Date 
> of last level 0 dump: Sun Jun 12 17:30:10 2005.
> 
> * fth02n:/vol/vol0 nsrndmp_save: NDMP Service Log: DUMP: Date 
> of this level
> 2 dump: Tue Jun 14 17:30:09 2005.
> * fth02n:/vol/vol0 nsrndmp_save: NDMP Service Log: DUMP: Date 
> of last level
> 1 dump: Mon Jun 13 17:30:12 2005.
> 
> * fth02n:/vol/vol0 nsrndmp_save: NDMP Service Log: DUMP: Date 
> of this level
> 3 dump: Wed Jun 15 17:30:10 2005.
> * fth02n:/vol/vol0 nsrndmp_save: NDMP Service Log: DUMP: Date 
> of last level
> 2 dump: Tue Jun 14 17:30:09 2005.
> 
> * fth02n:/vol/vol0 nsrndmp_save: NDMP Service Log: DUMP: Date 
> of this level
> 4 dump: Thu Jun 16 17:30:09 2005.
> * fth02n:/vol/vol0 nsrndmp_save: NDMP Service Log: DUMP: Date 
> of last level
> 3 dump: Wed Jun 15 17:30:10 2005.
> 
> * fth02n:/vol/vol0 nsrndmp_save: NDMP Service Log: DUMP: Date 
> of this level
> 5 dump: Fri Jun 17 17:30:21 2005.
> * fth02n:/vol/vol0 nsrndmp_save: NDMP Service Log: DUMP: Date 
> of last level
> 4 dump: Thu Jun 16 17:30:09 2005.
> 
> And the following from the NetApp documentation:
> 
> LEVEL 0-9 Default 0
> Specifies the backup level. Level 0 copies the entire 
> dataset. Incremental backup levels, specified by values above 
> 0, copy all files new or modified since the last incremental 
> backup. For example, a level 1 backs up new or modified files 
> since the level 0 backup, a level 2 backs up new or modified 
> files since the level 1 backup, and so on.
> 
> Tape Backup and Recovery Guide Data ONTAP 7.0 pg.162
> 
> 
> Bye
> Ernie
> 
> -----Original Message-----
> From: Joel Krajden [mailto:joelk AT encs.concordia DOT ca]
> Sent: Friday, June 17, 2005 4:20 PM
> To: Legato NetWorker discussion; Ernst Bokkelkamp
> Subject: Re: [Networker] Netapp, ndmp, and incremental backups.
> 
> 
> NetApp NDMP only supports levels 0, 1, and 2. So you have to 
> work with a 
> schedule in Networker that is more restricted.
> 
> Joel
> 
> Ernst Bokkelkamp wrote:
> > (sorry, finger problems cause previous message to leave before I 
> > finished
> > it)
> > 
> > You are absolutely right, subsequent level 1 backups do not work.
> > 
> > Please note that you must look very carefully at the exact 
> wording and 
> > the placement of the level description in the documentation. Full 
> > followed by multiple level 1 does function like incremental 
> on normal 
> > (not NDMP) backups and most likely NDMP backups, and also not with 
> > NetApp. The description being referred to is a "generic" 
> and does not 
> > apply to Ontap. You must consider that the level is passed 
> on to the 
> > dump application, and the NetApp dump command works differently (it 
> > does not know incremental).
> >  
> >>From a previous message on NetApp dump levels:
> > 
> > 
> >>  0-9     Dump levels.  A level 0, full backup, guarantees 
> the entire file
> >>          system is copied.  A level number above 0, 
> incremental backup,
> >>          tells dump to copy all files new or modified 
> since the last 
> >> dump
> > 
> > of
> > 
> >>          a lower level.
> >>
> >>          The default dump level is 0.
> > 
> > 
> > The wording of the Networker manual (glossary) differs slightly:
> > 
> > A full (f) backup backs up all files, regardless of
> > whether they have changed. Levels one through nine
> > [1-9] back up files that have changed since the last
> > lower numbered backup level. An incremental (incr)
> > backup backs up only files that have changed since the
> > last backup.
> > 
> > And in the admin manual the following explenation can be found:
> > 
> > . A level 1 backup backs up all files that have changed 
> since the most 
> > recent full backup (considered a level zero). . A level 3 
> backup backs 
> > up all files that have changed since the most recent backup 
> of level 
> > 2, level 1, or full backup. For example, if the most recent 
> backup was 
> > at level full, then a level 3 backup backs up all files 
> that changed 
> > since the full backup. However, if the most recent backup 
> was at level 
> > 2, then a level 3 backup backs up only those files changed 
> since the 
> > level 2 backup. . A level 9 backs up all the files that 
> have changed 
> > since the most recent backup of any level except level 9.
> > 
> >>From the above you can conclude that the only method to mimic 
> >>incremental
> > backup is to do a full backup followed by increasing 
> levels. Such as 
> > Full,1,2,3,4,5,6,7,8,9. This implies that the number of 
> incrementals 
> > can't exceed 9 in total.
> > 
> > However, incremental will not work with NetApp if you forget to 
> > specify "UPDATE=Y". This parameter actually instructs Ontap NDMP to 
> > update the dumpdates file which is used to determine what should be 
> > backed up.
> > 
> > Bye
> > Ernie
> > 
> > 
> > -----Original Message-----
> > From: Legato NetWorker discussion 
> > [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On Behalf Of Randy Doering
> > Sent: Thursday, June 16, 2005 10:28 PM
> > To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
> > Subject: Re: [Networker] Netapp, ndmp, and incremental backups.
> > 
> > 
> > I've been meaning to ask a question about that paragraph, 
> but hadn't 
> > gotten around to it. I don't think that subsequent Level 1 backups 
> > will function like incremental backups. A Level 1 on Day 2 
> goes back 
> > to the Day 1 Full, but a Level 1 on Day 3 will als o go back to the 
> > Day1 Full (including what had already been backed up on Day 2).
> > 
> > Is this correct?
> > 
> > Thanks,
> > Randy
> > 
> > -------------- Original message --------------
> > 
> > 
> >>>>From the NW 7.1 documentation CD (May 2004), the Unix 
> administrator
> >>>guide, in the NDMP chapter, under "limitations ...(p.532):
> >>>* The NetWorker software does not support incremental backup
> >>>settings
> >>>for NDMP backups. If you select the incremental setting, 
> the NetWorker 
> >>>server performs a full backup. However, you can schedule 
> level backups 
> >>>to function like incremental backups. For example, complete a full 
> >>>backup on day 1 and level 1 backups on days 2 through 7. 
> >>>Itzik 
> >>
> >>Thank you. It's the same wording in the 7.2 manual, but I completely
> >>overlooked it.
> >>
> >>
> >>--
> >>Darren Dunham ddunham AT taos DOT com
> >>Senior Technical Consultant TAOS http://www.taos.com/
> >>Got some Dr Pepper? San Francisco, CA bay area 
> >>< This line left intentionally blank to confuse you. > 
> >>
> >>--
> >>Note: To sign off this list, send a "signoff networker" command via
> >>email
> >>to listserv AT listserv.temple DOT edu or visit the list's Web site at 
> >>http://listserv.temple.edu/archives/networker.html where you can 
> >>also view and post messages to the list. Questions 
> regarding this list 
> >>should be sent to stan AT temple DOT edu 
> >>=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 
> > 
> > 
> > --
> > Note: To sign off this list, send a "signoff networker" command via 
> > email to listserv AT listserv.temple DOT edu or visit the list's 
> Web site at 
> > http://listserv.temple.edu/archives/networker.html where 
> you can also 
> > view and post messages to the list. Questions regarding this list 
> > should be sent to stan AT temple DOT edu 
> > =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
> > 
> > --
> > Note: To sign off this list, send a "signoff networker" command via 
> > email to listserv AT listserv.temple DOT edu or visit the list's 
> Web site at 
> > http://listserv.temple.edu/archives/networker.html where 
> you can also 
> > view and post messages to the list. Questions regarding this list 
> > should be sent to stan AT temple DOT edu 
> > =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
> 
> 
> -- 
> | Joel Krajden              | Rm: EV-105,  Tel: 514 848-2424 
> 3052        |
> |                           | Fax: 514 848-2830               
>            |
> | Senior Systems Analyst    | Email: joelk AT encs.concordia DOT ca  
>            |
> | Engineering & Computer Sc.| 
> http://www.cs.concordia.ca/~staffcs/joelk  |
> | Concordia University      |   This is a circus, and the 
> clowns are     |
> | Montreal, Canada          |   supposed to make you laugh, 
> not cry.     |
> 
> --
> Note: To sign off this list, send a "signoff networker" 
> command via email
> to listserv AT listserv.temple DOT edu or visit the list's Web site at
> http://listserv.temple.edu/archives/networker.html where you can
> also view and post messages to the list. Questions regarding this list
> should be sent to stan AT temple DOT edu
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
> 

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listserv.temple DOT edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=