So I want to backup checkpoints to tape. And I'd like to be able to do "real" incremental backups of the checkpoints. For example, I'd like to do a "Full" backup of a checkpoint then do nightly incrementals of a *new* checkpoint named the same.
So:
Night 1: Create checkpoint called pfs_current
Night 1: Run a full backup of this checkpoint to tape
Night 2: Move this checkpoint to pfs_1
Night 2: Create a new checkpoint of the PFS and call it pfs_current
Night 2: Run an incremental backup of this checkpoint to tape
Night 3: Move this _current checkpoint to pfs_2
etc.
I've started testing (with NetBackup Enterprise v.7.0), and the full backup does what I expect - it backs up the full filesystem through the checkpoint. But I move that checkpoint to a new name, copy some new files/dirs into the PFS and run the new checkpoint (called pfs_current) and do an incremental backup on this checkpoint. And the incremental backs up *nothing*...
I've gone into the .ckpt/ checkpoint directory and confirmed that the new files/dirs are in the checkpoint. Does anyone have any idea why this incremental isn't working as I'm expecting it to work? I was hoping it would pick up these newly moved files/dirs.
I understand your plan - however, instead of manually creating checkpoints and managing the backup sources, but if you are taking NDMP backups it will be much easier to use the Integrated Checkpoint with the NDMP Backup. When integrated snap option is used, a checkpoint is automatically created when the NDMP backup is initiated, the backup is taken from the checkpoint and once the backup is complete the checkpoint is automatically deleted.
I am not too familiar with NetBackup - but there must be a settings on the NetBackup side to use the snap while taking the backup.
Or else, you can set the NDMP snapsure=1 Parameter on the data mover to use the integrated checkpoint with the file system backup. Please refer to the Parameter guidelines or NDMP backup document for more details. Here is the summary of this parameter -
NDMP snapsure 0 or 1 Default:0
Determines whether EMC SnapSure is used for backup if the
NDMP environment variable SNAPSURE is not set or not
supported by the DMA software. The NDMP environment
Thanks for the quick reply. We are using NDMP and we are employing Integrated Checkpoints with our other filesystems on the Celerra. These specific filesystems in question, however, have special requirements. To meet these requirements we are creating the manual checkpoints. Furthermore, to meet requirements we need to be able to backup these checkpoints to tape and keep them for awhile.
I can do full backups of the checkpoint every evening, but I *really* don't want to - some of these filesystems will be rather large and I'd rather not "waste" the space in NetBackup if I don't need to. That's why I'm going down this road of trying to find out why the Incremental backups are not behaving quite as I expected them to...
my *guess* is that the NDMP server is getting confused since the checkpoint you are asking incrementals for is different from the one with the full backup.
Have you tried to just refreshing pfs_current instead of moving and recreating it ?
Rainer - that seems to have been the issue! I ran a "-refresh" on the pfs_current filesystem and the incremental picked up only the changed files. Now the question is how do I easily make a copy of the checkpoint just prior to running the "-refresh"? Because to meet my requirements I will still need 30 days of individual daily checkpoints available to my customer.
Maybe I can use "nas_copy" to create the checkpoint copy just prior to running the refresh operation?
Ah - that is precisely what I should do - create two checkpoints during my "checkpoint creation" script. One to "keep" and the other a refresh. I'll go down that road and see if it will do what I need it to do!
nandas
6 Operator
•
1473 Posts
813
0
Posted October 25th, 2010 15:00
Hi Mike,
I understand your plan - however, instead of manually creating checkpoints and managing the backup sources, but if you are taking NDMP backups it will be much easier to use the Integrated Checkpoint with the NDMP Backup. When integrated snap option is used, a checkpoint is automatically created when the NDMP backup is initiated, the backup is taken from the checkpoint and once the backup is complete the checkpoint is automatically deleted.
I am not too familiar with NetBackup - but there must be a settings on the NetBackup side to use the snap while taking the backup.
Or else, you can set the NDMP snapsure=1 Parameter on the data mover to use the integrated checkpoint with the file system backup. Please refer to the Parameter guidelines or NDMP backup document for more details. Here is the summary of this parameter -
NDMP snapsure 0 or 1 Default:0
Determines whether EMC SnapSure is used for backup if the
NDMP environment variable SNAPSURE is not set or not
supported by the DMA software. The NDMP environment
variable, if set, overrides this parameter.
0 = Do not use SnapSure for backup.
1 = Use SnapSure for backup.
My 2 cents
Sandip