Solved

Reading NTBackup Tapes Under Linux

Posted on 2004-10-31
664 Views
Last Modified: 2007-02-13
I want to read the raw data off an NT Backup tape (no need to interpret the save
 sets I just want to manually patch something so raw reading is fine).

I tried the usual dd stuff with various block sizes (including those reported as
 the ones being used under Windows XP) but I always get incorrect block size errors. Linux can read the tape in so far as it can move about from file to file.

Commands:

dd if=/dev/nst0 ibs=16k > file.1

Win reports the block size as 16384.

MTIA

Tony.
0
Question by:aecooper
    4 Comments
     
    LVL 38

    Expert Comment

    by:wesly_chen
    Hi,

       How about
    dd if=/dev/nst0 ibs=16k of=/tmp/file.1

    Wesly
    0
     
    LVL 1

    Author Comment

    by:aecooper
    I tried this first, it has exactly the same effect - wouldn't make much difference in either form anyway - one is to stdout, one to file...

    Tony.
    0
     
    LVL 38

    Accepted Solution

    by:
    OK, how about use
    bs=32768b instead of ibs=16k.
    It will force to use "block" instead of "bytes" (1 byte=2 blocks)

    Wesly
    0
     
    LVL 1

    Author Comment

    by:aecooper
    Nope this didn't work either and I don't quite understand the logic in the answer.

    I am now using different backup software and the problem has gone away.
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    IT Security CISA, CISSP & CISM Certification

    Master the advanced techniques required to protect network resources from external threats with the IT Cyber Security bundle. Built around industry best-practice guidelines, the IT Cyber Security bundle consists of three in-depth courses.

    This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    875 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now