Results 1 to 4 of 4
-
08-27-2012, 05:03 PM #1Member
- Join Date
- Feb 2011
- Posts
- 300
- Thanks
- 14
- Thanked 0 Times in 0 Posts
backup log says successful but nothing restored when try to restore
Hi all,
I just setup a TSM BA client node and run first backup. Backup log says it is successful and when i query backup, i can see backup files there but when i try to resote, restore finished but there is nothing in the restored directory.
Below is backup log when i run the backup
below is the output of query backup commandCode:Incremental backup of volume '/data/backups' ANS1898I ***** Processed 500 files ***** ANS1898I ***** Processed 1,000 files ***** ANS1898I ***** Processed 1,500 files ***** ANS1898I ***** Processed 2,000 files ***** Directory--> 4,096 /data/backups [Sent] Successful incremental backup of '/data/backups' Total number of objects inspected: 2,246 Total number of objects backed up: 1 Total number of objects updated: 0 Total number of objects rebound: 0 Total number of objects deleted: 0 Total number of objects expired: 0 Total number of objects failed: 0 Total number of bytes inspected: 4.56 MB Total number of bytes transferred: 0 B Data transfer time: 0.00 sec Network data transfer rate: 0.00 KB/sec Aggregate data transfer rate: 0.00 KB/sec Objects compressed by: 0% Total data reduction ratio: 100.00% Elapsed processing time: 00:01:07
below is the output when i ran the restoreCode:# dsmc q backup -subdir=yes /data/backups Size Backup Date Mgmt Class A/I File ---- ----------- ---------- --- ---- 4,096 B 08/27/2012 16:35:32 NORMAL A /data/backups
and below is the location where i resotred files toCode:# dsmc restore -subdir=yes /data/backups /tmp/tempRestore/ Restore function invoked. Restoring 4,096 /data/backups --> /tmp/tempRestore/backups [Done] Restore processing finished. Total number of objects restored: 1 Total number of objects failed: 0 Total number of bytes transferred: 0 B Data transfer time: 0.00 sec Network data transfer rate: 0.00 KB/sec Aggregate data transfer rate: 0.00 KB/sec
Not sure what is wrong here ?Code:# pwd /tmp/tempRestore/backups # ls -ltrh total 0
-
08-28-2012, 12:44 AM #2Senior Member
- Join Date
- Oct 2002
- Location
- netherlands
- Posts
- 305
- Thanks
- 0
- Thanked 9 Times in 9 Posts
dsmc q backup /data/backups/
notice the / on the end
-
The Following User Says Thank You to Jeroen For This Useful Post:
unixandtsm (08-28-2012)
-
08-28-2012, 07:22 AM #3
Hi @UnixandTSM,
To expand on what @Jeroen is saying here, your original backup *was* successful but only performed a backup of 1 object - from your output, "Total number objects backed up: 1" which is the directory you told it to backup (/data/backups). So, the TSM BA client is performing what you've asked it to do.
Now, assuming your intention was to backup the content of the /data/backups directory you may wish to issue a command along the lines of dsmc inc /data/backups/ - note the trailing '/'. Now observe in the output of your backup command that all of the objects will be backed up, not just the directory.
HTH,
___________
David Mc
London, UK
-
The Following User Says Thank You to mccleld For This Useful Post:
unixandtsm (08-28-2012)
-
08-28-2012, 10:13 AM #4Member
- Join Date
- Feb 2011
- Posts
- 300
- Thanks
- 14
- Thanked 0 Times in 0 Posts
Hi Jeroen and David,
Thank you both !.
As suggested used a trailing '/' and it seems everything is fine now.
Similar Threads
-
Instant restore on FastBack v 6.1.4.0 - cannot view restored files during restore
By alinseth in forum TSM FastbackReplies: 1Last Post: 12-30-2011, 11:11 AM -
After restore db, I get database must be restored to start
By konatide in forum Restore / Recovery DiscussionReplies: 1Last Post: 10-31-2008, 12:48 AM -
TSM server says fail schedule log says successful
By ricky30000 in forum Backup / Archive DiscussionReplies: 1Last Post: 05-31-2008, 11:32 AM -
Full Restore not all data restored
By jellyfish in forum Restore / Recovery DiscussionReplies: 4Last Post: 05-22-2008, 07:05 PM -
Backup successful Log File
By TSMGuru88 in forum Backup / Archive DiscussionReplies: 1Last Post: 02-28-2005, 06:06 PM


Reply With Quote