Amanda-Users

Re: backups on file:

2006-03-14 14:00:29
Subject: Re: backups on file:
From: Jochen Kaechelin <fvgi242ss AT wlanhacking DOT de>
To: sgw AT amanda DOT org
Date: Tue, 14 Mar 2006 19:57:46 +0100
Am Dienstag, 14. März 2006 19:25 schrieb Jochen Kaechelin:
> Am Dienstag, 14. März 2006 18:33 schrieb Stefan G. Weichinger:
> > Jochen Kaechelin schrieb:
> > >> You need multiple vtapes to run Amanda correctly and senseful.
> > >>
> > >> Following the file-driver-howto will give you more than one vtape.
>
> amdump mail.wlanhacking.de gives the following error:
>
> *** A TAPE ERROR OCCURRED: [new tape not found in rack].
> Some dumps may have been left in the holding disk.
> Run amflush to flush them to tape.
> The next tape Amanda expects to use is: a new tape.
>
> FAILURE AND STRANGE DUMP SUMMARY:
>   mail.wlanhacking.de  /etc  lev 0  FAILED [no more holding disk space]
>   mail.wlanhacking.de  /var  lev 0  FAILED [no more holding disk space]
>
>
> STATISTICS:
>                           Total       Full      Incr.
>                         --------   --------   --------
> Estimate Time (hrs:min)    0:04
> Run Time (hrs:min)         0:04
> Dump Time (hrs:min)        0:00       0:00       0:00
> Output Size (meg)           0.0        0.0        0.0
> Original Size (meg)         0.0        0.0        0.0
> Avg Compressed Size (%)     --         --         --
> Filesystems Dumped            0          0          0
> Avg Dump Rate (k/s)         --         --         --
>
> Tape Time (hrs:min)        0:00       0:00       0:00
> Tape Size (meg)             0.0        0.0        0.0
> Tape Used (%)               0.0        0.0        0.0
> Filesystems Taped             0          0          0
> Avg Tp Write Rate (k/s)     --         --         --
>
> DUMP SUMMARY:
>                                      DUMPER STATS            TAPER STATS
> HOSTNAME     DISK        L ORIG-kB OUT-kB COMP% MMM:SS  KB/s MMM:SS  KB/s
> -------------------------- --------------------------------- ------------
> mail.wlanhac /etc        0 FAILED ---------------------------------------
> mail.wlanhac /var        0 FAILED ---------------------------------------
>
> (brought to you by Amanda version 2.4.5p1)
>
> ---------------------------------------------
> My configuration:
> ---------------------------------------------
>
> amanda.conf:
>
> org "mail.wlanhacking.de"
> mailto "root"
> dumpuser "backup"
> inparallel 4
> netusage  600
>
> dumpcycle       0
> tapecycle       6
> tapetype        VTAPES
> tpchanger       "chg-disk"
> changerfile     "/etc/amanda/mail.wlanhacking.de/changer"
> tapedev         "file:/SICHERUNG/amandatapes/mail.wlanhacking.de"
>
> bumpsize 20 MB
> bumpdays     1
> bumpmult     4
>
> includefile "dumptypes"
> includefile "tapetypes"
> includefile "interfaces"
>
> labelstr "^mail.wlanhacking.de-[0-9]*$"
>
> infofile "/var/lib/amanda/mail.wlanhacking.de/curinfo"
> logfile  "/var/log/amanda/mail.wlanhacking.de/log"
> indexdir "/var/lib/amanda/mail.wlanhacking.de/index"
>
> tapetypes:
>
> define tapetype VTAPES {
>         comment "vtapes on notebook fvgi242ss"
>         length 3072 mbytes
> }
>
>
> /SICHERUNG/amandatapes/mail.wlanhacking.de:
>
> lrwxrwxrwx 1 backup backup   48 2006-03-14 19:11 data
> -> /SICHERUNG/amandatapes/mail.wlanhacking.de/slot2
> -rw-r--r-- 1 backup root     11 2006-03-14 19:11 info
> drwxr-xr-x 2 backup backup 4096 2006-03-14 19:10 slot1
> drwxr-xr-x 2 backup backup 4096 2006-03-14 19:10 slot2
> drwxr-xr-x 2 backup backup 4096 2006-03-14 19:01 slot3
> drwxr-xr-x 2 backup backup 4096 2006-03-14 19:11 slot4
> drwxr-xr-x 2 backup backup 4096 2006-03-14 19:11 slot5
> drwxr-xr-x 2 backup backup 4096 2006-03-14 19:11 slot6
>
>
> amcheck mail.wlanhacking.de:
>
> Amanda Tape Server Host Check
> -----------------------------
> amcheck-server: slot 1: not an amanda tape
> amcheck-server: slot 2: not an amanda tape
> amcheck-server: slot 3: date 20060314 label mail.wlanhacking.de-3 (active
> tape)
> amcheck-server: slot 4: not an amanda tape
> amcheck-server: slot 5: not an amanda tape
> amcheck-server: slot 6: not an amanda tape
> ERROR: new tape not found in rack
>        (expecting a new tape)
> NOTE: skipping tape-writable test
> Server check took 0.348 seconds
>
> Amanda Backup Client Hosts Check
> --------------------------------
> Client check: 1 host checked in 0.487 seconds, 0 problems found
>
> (brought to you by Amanda 2.4.5p1)
>
>
> amadmin mail.wlanhacking.de info:
>
> Current info for mail.wlanhacking.de /etc:
>   Stats: dump rates (kps), Full:  106.0,  -1.0,  -1.0
>                     Incremental:   -1.0,  -1.0,  -1.0
>           compressed size, Full:  19.3%,-100.0%,-100.0%
>                     Incremental: -100.0%,-100.0%,-100.0%
>   Dumps: lev datestmp  tape             file   origK   compK secs
>           0  20060314  mail.wlanhacking.de001     1    6100    1176   11
>
> Current info for mail.wlanhacking.de /var:
>   Stats: dump rates (kps), Full:  227.0,  -1.0,  -1.0
>                     Incremental:   -1.0,  -1.0,  -1.0
>           compressed size, Full:  26.2%,-100.0%,-100.0%
>                     Incremental: -100.0%,-100.0%,-100.0%
>   Dumps: lev datestmp  tape             file   origK   compK secs
>           0  20060314  mail.wlanhacking.de001     2 2268830  595477 2620


Ok, I got it:

amtape mail.wlanhacking.de show
amtape: scanning all 6 slots in tape-changer rack:
slot 6: date X        label mail.wlanhacking.de-6
slot 1: date X        label mail.wlanhacking.de-1
slot 2: date X        label mail.wlanhacking.de-2
slot 3: date X        label mail.wlanhacking.de-3
slot 4: date X        label mail.wlanhacking.de-1
slot 5: date X        label mail.wlanhacking.de-5

I ahd to manually erase als tapelist* files and
re-run the amlable procedure.

What do you think, should I give it a try:

"amdump mail.wlanhacking.de" ??
-- 
Jochen Kaechelin, fvgi242ss, wlanhacking.de
http://mail.wlanhacking.de/cgi-bin/mailman/listinfo


<Prev in Thread] Current Thread [Next in Thread>