Results 1 to 10 of 10
Thread: My NDMP backup has gone missing!
-
03-07-2011, 12:40 PM #1Member
- Join Date
- Aug 2006
- Posts
- 20
- Thanks
- 0
- Thanked 0 Times in 0 Posts
My NDMP backup has gone missing!
Hi Guru's,
I've recently set up NDMP backups from our NetApp NAS servers to our TSM 5.5.3.0 server.
I added a 'virtualfsmapping' and ran a full backup as a proof-of-concept. Everything worked a treat, the backup was wicked fast, I could restore individual files and was generally well chuffed.
After my proof-of-concept, I was dragged onto another project that was deemed a higher priority by management (sigh).
Now I've come back to TSM to find that my proof-of-concept backup has vanished!
But it's still there on a 'q occ':Code:>q nasbackup NAS-B * ANR2034E QUERY NASBACKUP: No match found using this criteria. ANS8001I Return code 11.
And it's still holding the tapes:Code:>q occ NAS-B Node Name Type Filespace FSID Storage Number of Physical Logical Name Pool Name Files Space Space Occupied Occupied (MB) (MB) ---------- ---- ---------- ----- ---------- --------- --------- --------- NAS-B Bkup /archive 1 NASTOCPOOL 1 42.22 42.22 NAS-B Bkup /archive 1 NAS_ONSITE 1 115,526.4 115,526.4
Code:>q vol dev=nas Volume Name Storage Device Estimated Pct Volume Pool Name Class Name Capacity Util Status ------------------------ ----------- ---------- --------- ----- -------- LTO097L3 NAS_ONSITE NAS 1.0 T 11.3 FillingAm I being a muppet and missing something really obvious here?Code:>run tape_contents LTO097L3 FILESPACE_NAME SIZE_MB BACKUP_TYPE ------------------ ---------- ------------------ /archive 115526.00 Bkup TOTAL_GB ---------- 112.00 ANR1462I RUN: Command script TAPE_CONTENTS completed successfully.
What's going on? If it had been 'expired', wouldn't it have marked the tape as 'empty'?
Thanks for reading, I look forward to your replies.
- Riz
-
03-07-2011, 03:37 PM #2Moderator
- Join Date
- Dec 2003
- Location
- Czech Republic
- Posts
- 2,050
- Thanks
- 2
- Thanked 56 Times in 55 Posts
Hi,
sure shot is:
select * from backups where nodename='NAS-B'
what caused your problem (most probably)
do not forget that "q nasbackup" command uses "begind=today-7" as default .... so try for "q nasbackup nas-b * begind=-365"
Harry
-
03-08-2011, 05:16 AM #3Member
- Join Date
- Aug 2006
- Posts
- 20
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Hi Harry,
You were right, that found it!
Thanks a lot for your help.
1 more quick question:
When I run another backup of the same virtualfs, it seems to overwrite the original.
Is this expected behaviour? Is there any setting I can change to stop this? Or do I just need unique (ie. dated) vfs names?
Thanks again,
- Riz.
-
03-08-2011, 05:38 AM #4Moderator
- Join Date
- Dec 2003
- Location
- Czech Republic
- Posts
- 2,050
- Thanks
- 2
- Thanked 56 Times in 55 Posts
Hi,
no, it just moves the old_image to inactive version - if the corresponding copygroup says to keep one version only, then the old_version is expired/deleted - do not forget that all retextra/retonly options apply as well.
Use the select to see if there is any inactive version.
My VFSmappings are fixed - like this:
define virtualfsmapping nas1 /VFS1 /vol/VOL1 /.snapshot/sqlsnap__whatever__recent
define virtualfsmapping nas1 /VFS2 /vol/VOL2 /.snapshot/nightly.0
Harry
-
03-16-2011, 05:13 AM #5Member
- Join Date
- Aug 2006
- Posts
- 20
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Thanks for your help Harry.
Increasing VerDE shows the older backups.
I have another question to throw into the mix though:
Why don't my off-site COPY pools work as expected?
I run a backup.
Then I send the TOC its next pool, which is TAPE_ONSITE:Code:backup node nas-b /archive mode=full
Then I backup TAPE_ONSITE to TAPE_OFFSITE, to create my off-site copy:Code:migrate stgpool NASTOCPOOL lowmig=0 wait=yes
Then I backup NAS_ONSITE to NAS_OFFSITE (these pools are both of the NETAPPDUMP type):Code:backup stgpool TAPE_ONSITE TAPE_OFFSITE maxpr=1 wait=yes
Then I do my other DR stuff:Code:backup stgpool TAPE_ONSITE TAPE_OFFSITE maxpr=1 wait=yes
Next I eject my DR media tapes:Code:backup volhistory backup devconfig backup db devclass=lto type=full scratch=yes wait=yes
But the NAS_OFFSITE tapes don't come out and they are not listed in 'q drmedia'.Code:move drmedia * wherestate=mountable enddate=today-1 tostate=courier tolocation=Firesafe wait=yes
My latest full backup is now showing as being stored on NAS_OFFSITE:
... So presumably even if I sent that tape off-site, I wouldn't be able to restore using an on-site copy.Code:>q nasbackup nas-b /archive begind=today-3 Node Name Filespace Object Type Object Creation Has Table Mgmt Class Image Name Size (MB) Date of Conte- Name Storage nts (TOC- Pool Name )? ------------ ----------- ----------- --------- ---------- --------- ---------- ---------- NAS-B /archive Full Image 104,917.2 15/03/11 Yes STANDARD NAS_ONSITE 12:46:30 NAS-B /archive Full Image 104,949.6 15/03/11 Yes STANDARD NAS_OFFSI- 13:31:06 TE
I'm pretty confused here. Can't you use NDMP in this fashion?
How do you get your off-site copy any other way?
Thanks in advance,
Riz.
-
03-16-2011, 06:04 AM #6Moderator
- Join Date
- Dec 2003
- Location
- Czech Republic
- Posts
- 2,050
- Thanks
- 2
- Thanked 56 Times in 55 Posts
Hi,
what about "q drmstatus" output?
Harry
-
03-16-2011, 06:10 AM #7Member
- Join Date
- Aug 2006
- Posts
- 20
- Thanks
- 0
- Thanked 0 Times in 0 Posts
That's weird...
The NAS pools aren't listed...
But those ARC_ pools are quite new, and I don't remember doing anything to add them here...
How do I add them?Code:> q drmstatus Recovery Plan Prefix: /usr/local/backups/tsm_recovery_plans/ Plan Instructions Prefix: /usr/local/backups/tsm_recovery_plans/ Replacement Volume Postfix: @ Primary Storage Pools: ARC_ONSITE BACKUPPOOL DB2_DISK DB2_ONSITE TAPE_ONSITE Copy Storage Pools: ARC_OFFSITE DB2_OFFSITE TAPE_OFFSITE Not Mountable Location Name: Harrogate Courier Name: COURIER Vault Site Name: IronMountain DB Backup Series Expiration Days: 3 Day(s) Recovery Plan File Expiration Days: 8 Day(s) Check Label?: Yes Process FILE Device Type?: No Command File Name:
Thanks!
-
03-16-2011, 06:17 AM #8Moderator
- Join Date
- Dec 2003
- Location
- Czech Republic
- Posts
- 2,050
- Thanks
- 2
- Thanked 56 Times in 55 Posts
Hi,
this should work:
set drmcopystgpool ARC_OFFSITE,DB2_OFFSITE,TAPE_OFFSITE,NAS_OFFSITE
Then you can test it using "q drmedia"
Harry
-
03-16-2011, 06:23 AM #9Member
- Join Date
- Aug 2006
- Posts
- 20
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Brilliant!
Thanks Harry.
Should I also add NAS_ONSITE? Using something like:
Code:set drmprimstgpool ARC_ONSITE,BACKUPPOOL,DB2_DISK,DB2_ONSITE,TAPE_ONSITE,NAS_ONSITE
Code:>set drmcopystgpool ARC_OFFSITE,DB2_OFFSITE,TAPE_OFFSITE,NAS_OFFSITE ANR6700I SET DRMCOPYSTGPOOL command completed successfully. >q drmstatus Recovery Plan Prefix: /usr/local/backups/tsm_recovery_plans/ Plan Instructions Prefix: /usr/local/backups/tsm_recovery_plans/ Replacement Volume Postfix: @ Primary Storage Pools: ARC_ONSITE BACKUPPOOL DB2_DISK DB2_ONSITE TAPE_ONSITE Copy Storage Pools: ARC_OFFSITE DB2_OFFSITE TAPE_OFFSITE NAS_OFFSITE Not Mountable Location Name: Harrogate Courier Name: COURIER Vault Site Name: IronMountain DB Backup Series Expiration Days: 3 Day(s) Recovery Plan File Expiration Days: 8 Day(s) Check Label?: Yes Process FILE Device Type?: No Command File Name:
-
03-16-2011, 06:45 AM #10Moderator
- Join Date
- Dec 2003
- Location
- Czech Republic
- Posts
- 2,050
- Thanks
- 2
- Thanked 56 Times in 55 Posts
Hi,
yes, you may - but it has no effect on tape rotation. Just for building the DR plan (and I am not sure if NetAppDUMP format stgpools are processed at all in the DR plan ....)
Harry
Similar Threads
-
Backup Missing
By GregE in forum TSM ServerReplies: 10Last Post: 06-08-2010, 08:04 PM -
backup missing?
By ntenz in forum TSM Installation, Upgrade and ConfigurationReplies: 10Last Post: 02-12-2009, 07:23 AM -
Backup Missing
By ranjancom2000 in forum Backup / Archive DiscussionReplies: 1Last Post: 06-15-2007, 08:34 AM -
Missing backup of d: drive
By PENNYWISE in forum Backup / Archive DiscussionReplies: 2Last Post: 06-01-2007, 05:36 PM -
Backup missing
By putukas in forum Backup / Archive DiscussionReplies: 2Last Post: 12-08-2006, 02:57 AM


Reply With Quote
