Re: Tar backup to DAT drive failing. Assistance requested

From: Joe Filla (foo_at_example.com)
Date: 08/13/03


Date: Tue, 12 Aug 2003 16:16:05 -0700


<phn@icke-reklam.ipsec.nu> wrote in message
news:bhbntc$8jo$2@nyheter.ipsec.se...
> Joe Filla <foo@example.com> wrote:
> > Good Day,
> > I'm running a FreeBSD 4.8-Release box and in the past week or so, my
backups
> > (tar to a HP DAT DDS-4 drive) have been
>
> Must be a mistake here. You mantioned "backup" and "tar" in the same
sentence.

Not mistaken. I'm backing up via tar. If you really meant to say I shouldn't
be backing up via tar then just say that.
>
> Which is it ?
>
>
> > failing with the oh so helpful message:
>
> > tar: Removing leading `/' from member names
> > Total bytes written: 27712798720 (26GB, 2.3MB/s)
> > tar: /dev/sa0: Wrote only 0 of 10240 bytes
> > tar: Error is not recoverable: exiting now
> > Mode Density Blocksize bpi Compression
> > Current: 0x26:DDS-4 variable 97000 DCLZ
> > ---------available modes---------
> > 0: 0x26:DDS-4 variable 97000 DCLZ
> > 1: 0x26:DDS-4 variable 97000 DCLZ
> > 2: 0x26:DDS-4 variable 97000 DCLZ
> > 3: 0x26:DDS-4 variable 97000 DCLZ
> > ---------------------------------
> > Current Driver State: at rest.
> > ---------------------------------
> > File Number: 0 Record Number: 0 Residual Count 0
> > Rewinding tape
>
> > Here's the basic meat of my script:
> > mt blocksize 0
> > tar --totals -cpS /dev/sa0 / --exclude "/var/run/*" --exclude
> > "/home/*/nobackup" --exclude "*.sock" --exclude "*/dev/*" --exclude
> > "*/lost+found/*" --exclude "*pagefile.sys*" --exclude
"/proc/*" --exclude
> > /mnt --exclude /tmp
>
> > This is supposed to backup my entire drive. It runs for about 3 hours,
and
> > generates the aforementioned message.
>
> > What's strange is that if I run a command just to backup my home
partition
> > for example, it runs ok without any problem.
>
> > Any advice? I've tried setting the tape blocksize via mt (mt blocksize
> > 10240) to match tar's default blocking but no go. There are no
meaningful
> > error messages anywhere (syslog or mt errstat). I've run this script for
> > months without any problems until recently.
>
> You probably went "out-of-tape". dump will allow multi-volume backups.

If I ran out of tape, would I not receive an "tape full" or similar message?

>
> > Thanks,
>
> > Joe
>
> > P.S (RELEASE-4.8)
>
>
>
> --
> Peter Håkanson
> IPSec Sverige ( At Gothenburg Riverside )
> Sorry about my e-mail address, but i'm trying to keep spam out,
> remove "icke-reklam" if you feel for mailing me. Thanx.



Relevant Pages

  • Re: backup concerns
    ... and as I get into more detail about backing up servers, ... tape to make sure i can do it. ... I *think* I'm backing up more than I ... you may need to be able to go back to 10 even 20 year old backups to prove your claim in a court proceeding... ...
    (microsoft.public.windows.server.general)
  • Re: Backup solutions
    ... > I was wondering what the general consensus was on backups. ... > to the remote file system or possibly using bacula. ... > because I'm not really interested in pushing the stuff to tape. ... I then roll certain snaps to tape (using either tar or bacula), ...
    (freebsd-isp)
  • Re: Exchange Backup to disk backup/restore issues?
    ... Disk to Disk backups should be faster (for both backups and ... restores) than backing up to tape. ... and are planning on backing up our server based Exchange Server ...
    (microsoft.public.exchange.admin)
  • Re: Checking tarfiles created date from tape?
    ... >> I have written a tarfile to tape and need to read its create date to ... a tar archive does not contain a creation date. ... If you are backing up the directory /dev tar will ... and once as the first object to back up.) ...
    (comp.unix.shell)
  • Re: newbie: suse 8.0 backup to tape
    ... I've got old HP JetStore6000 external tape drive on Adaptec 2940UW PCI, ... tar and mt commands (try "tar cvf /dev/st0 filedirname" without quotes, ... backups to dds-2 tapes...it's easy and efficient, ... interface)...the compressed dds-2 tape is up to 6-8GB, ...
    (alt.os.linux.suse)

Loading