Hi, I am attempting to vault from disk based vtapes to a real tape. I
have a policy called "Linux_Corp", I have defined the vtapes and the
real library in there (config is below) When I run the following command
:

 

amvault Linux_Corp latest vault Linux_Corp_Vault-%%%

 

I get the following error

 

Loading source volume Linux_Corp-007

Loading destination slot current

parse error: could not open conf file
"/etc/amanda/Linux_Corp-vault/amanda.conf": No such file or directory

errors processing config file at /usr/sbin/amdevcheck line 93.

Volume in destination slot 1 is not empty; going to next slot

 

so I have two problems here, one is it is looking for an no existing
Linux_Corp-vault policy which does not exist and it thinks my tapes are
not empty. These are brand new tapes nothing on them, I even dd
/dev/zero to the first 10 MB to make sure they were zeroed out.

 

org "xx"

mailto "[email protected]"

tpchanger "chg-disk"

tapedev "file:///amanda_vtl/Linux_Corp/"

tapetype HARDDISK

dumpuser "amandabackup"

dumpcycle 7

runspercycle 7

tapecycle 40

dtimeout 1800

ctimeout 30

etimeout 300

diskfile "disklist.conf"

dumporder "sssS"

taperalgo first

displayunit "g"

netusage 10000 Kbps

bumpsize 20m

bumppercent 20

bumpdays 1 days

usetimestamps on

device_output_buffer_size 2m

maxdumpsize 0m

amrecover_do_fsf on

amrecover_check_label on

bumpmult 4

amrecover_changer "changer"

autoflush on

infofile "/etc/amanda/Linux_Corp/curinfo"

logdir "/etc/amanda/Linux_Corp/log"

indexdir "/etc/amanda/Linux_Corp/index"

maxdumps 5

inparallel 20

label_new_tapes "Linux_Corp-%%%"

 

 

define dumptype root-tar {

auth "ssh"

ssh_keys "/var/lib/amanda/.ssh/id_rsa_amdump"

program "GNUTAR"

exclude "./media/*"

exclude "./var/spool/postfix/private/*"

exclude "./tmp/.X11-unix/*"

exclude "./var/tmp/.oracle/*"

exclude "./tmp/orbit-oracle/*"

exclude list "/var/lib/amanda/excludelist"

}

 

define dumptype root-star {

auth "ssh"

ssh_keys "/var/lib/amanda/.ssh/id_rsa_amdump"

program "STAR"

}

 

define dumptype ext-dump {

auth "ssh"

ssh_keys "/var/lib/amanda/.ssh/id_rsa_amdump"

program "DUMP"

}

 

define tapetype HARDDISK {

length 824850784 kbytes

}

 

define changer vault {

tpchanger "chg-zd-mtx"

# used with 'mtx -f'

changerdev "/dev/changer"

changerfile "chg-zd-mtx.conf"

tapedev "tape:/dev/nst2"

}

 

define tapetype LTO4 {

comment "Created by amtapetype; compression disabled"

length 824850784 kbytes

filemark 1829 kbytes

speed 89765 kps

blocksize 32 kbytes

}

 

holdingdisk Linux_Corp {

directory "/amanda_stg/amanda/staging/Linux_Corp"

use 30G

 

 

Thanks for any help you can provide.

Thanks.

Robert

Reply via email to