Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Feb 2011
    Posts
    306
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Default 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
    Code:
    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 of query backup command

    Code:
    # 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
    below is the output when i ran the restore

    Code:
    # 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
    and below is the location where i resotred files to

    Code:
    # pwd
    /tmp/tempRestore/backups
    # ls -ltrh
    total 0
    Not sure what is wrong here ?

  2. #2
    Senior Member
    Join Date
    Oct 2002
    Location
    netherlands
    Posts
    329
    Thanks
    0
    Thanked 9 Times in 9 Posts

    Default

    dsmc q backup /data/backups/
    notice the / on the end

  3. The Following User Says Thank You to Jeroen For This Useful Post:

    unixandtsm (08-28-2012)

  4. #3
    Member mccleld's Avatar
    Join Date
    Jun 2003
    Location
    London, UK
    Posts
    261
    Thanks
    1
    Thanked 3 Times in 3 Posts

    Default

    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

  5. The Following User Says Thank You to mccleld For This Useful Post:

    unixandtsm (08-28-2012)

  6. #4
    Member
    Join Date
    Feb 2011
    Posts
    306
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Default

    Hi Jeroen and David,

    Thank you both !.
    As suggested used a trailing '/' and it seems everything is fine now.

Similar Threads

  1. Replies: 1
    Last Post: 12-30-2011, 11:11 AM
  2. After restore db, I get database must be restored to start
    By konatide in forum Restore / Recovery Discussion
    Replies: 1
    Last Post: 10-31-2008, 12:48 AM
  3. TSM server says fail schedule log says successful
    By ricky30000 in forum Backup / Archive Discussion
    Replies: 1
    Last Post: 05-31-2008, 11:32 AM
  4. Full Restore not all data restored
    By jellyfish in forum Restore / Recovery Discussion
    Replies: 4
    Last Post: 05-22-2008, 07:05 PM
  5. Backup successful Log File
    By TSMGuru88 in forum Backup / Archive Discussion
    Replies: 1
    Last Post: 02-28-2005, 06:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •