SV: Problems restoring files with amrecover on my backup client!
2005-02-22 10:26:59
How do I rewind the tape?
I would like to make a full backup every day of my system/samba shares (other
linux boxes)
/Thomas
-----Oprindelig meddelelse-----
Fra: owner-amanda-users AT amanda DOT org [mailto:owner-amanda-users AT amanda
DOT org] På vegne af Gene Heskett
Sendt: 22. februar 2005 13:59
Til: amanda-users AT amanda DOT org
Emne: Re: Problems restoring files with amrecover on my backup client!
On Tuesday 22 February 2005 06:52, Thomas Løjmann Jørgensen wrote:
>Hi list,
>
>
>
>I have a small problem when I want to restore from my DLT tape.
>
>When doing the backup I don't see any errors (only one warning:
> driver: WARNING: ignoring holding disk /space: No such file or
> directory)
>
>
>
>When trying to restore a file I got this:
>
>
>
>amrecover> extract
>
>
>
>Extracting files using tape drive /dev/nst0 on host npdev.
>
>The following tapes are needed: NP_TEST-00
>
>
>
>Restoring files into directory /home/samba/Users
>
>Continue [?/Y/n]? Y
>
>
>
>Extracting files using tape drive /dev/nst0 on host npdev.
>
>Load tape NP_TEST-00 now
>
>Continue [?/Y/n/s/t]?
>
>EOF, check amidxtaped.<timestamp>.debug file on npdev.
>
>amrecover: short block 0 bytes
>
>UNKNOWN file
>
>amrecover: Can't read file header
>
>extract_list - child returned non-zero status: 1
>
>Continue [?/Y/n/r]?
>
>I rely can't figure out what is wrong!
You did rewind the tape didn't you?
>My disklist contain this line:
>
>gandalf /home/samba/Users/_rod comp-user-tar
Oh oh, samba. Because of missing time fields in a samba (windows
filesystems) access, it will get essentially a level 0 full backup
every night.
>org "My TEST"
>
>mailto "tlj"
>
>dumpuser "backup"
>
>
>
>inparallel 4
>
>netusage 600
>
>
>
>dumpcycle 1 days
Why are you forcing a level 0, aka a full backup every night?
>tapecycle 5 tapes
>
>
>
>bumpsize 20 MB
>
>bumpdays 1
>
>bumpmult 4
>
>
>
>tapedev "/dev/nst0"
>
>
>
>tapetype DLTNP
>
>labelstr "^NP_TEST-[0-9]*$"
>
>
>
>diskdir "/space"
>
>disksize 290 MB
For a typical system today, you need /space to be measured in
gigabytes, with a relative small percentage held in reserve for
incrementals. But with samba, you won't get incrementals even if it
says its doing a level 4 because every file will be considered new
every night.
>infofile "/var/lib/amanda/TEST/curinfo"
>
>logfile "/var/log/amanda/TEST/log"
>
>
>
>indexdir "/var/lib/amanda/ TEST/index"
>
>
>
>
>
>define tapetype DLTNP {
>
> comment "DLT tape drives"
>
> length 80000 mbytes # 80 Gig tapes
>
> filemark 8000 kbytes # I don't know what this means
Thats how much space is used between files on that drive. It probably
doesn't use that much, 32k would be typical, but thats what the math
spits out.
> speed 8000 kbytes
This isn't used by amanda
>
>}
>
>
>
>(and then the default dump-types in AMANDA)
>
>
>
>Can anybody help me with figure out what is wrong with my setup?
>
See above comments.
>
>Kind Regards,
>
>Thomas Løjmann Jørgensen
|
|
|