Amanda-Users

Re: Can't determine disk and mount point from $CWD

2004-03-23 11:59:26
Subject: Re: Can't determine disk and mount point from $CWD
From: "edwin valencia" <kapachov AT latinmail DOT com>
To: "amanda-users AT amanda DOT org" <amanda-users AT amanda DOT org>
Date: Tue, 23 Mar 2004 11:54:22 -0500 (EST)
HI..

>> Hi, edwin

ev> No index records for disk for specified date
ev> If date correct, notify system administrator
ev> any idea,suggestion?

>> To use the indexes with amrecover, they have to be there.
>> Check that your dumptypes use the option "index yes".
>> Verify this by:
>> amadmin <yourconfig> disklist


[root@servidor-backup restore]# amadmin DailySet1 disklist
line 71:
    host servidor-backup:
        interface default
    disk /boot:
        program "GNUTAR"
        priority 2
        dumpcycle 14
        maxdumps 1
        strategy STANDARD
        compress CLIENT FAST
        comprate 0.50 0.50
        auth BSD
        kencrypt NO
        holdingdisk NO
        record YES
        index YES
        skip-incr NO
        skip-full NO

line 72:
    host nucleo0:
        interface default
    disk /home:
        program "DUMP"
        priority 2
        dumpcycle 14
        maxdumps 1
        strategy STANDARD
        compress CLIENT FAST
        comprate 0.50 0.50
        auth BSD
        kencrypt NO
        holdingdisk NO
        record YES
        index YES
        skip-incr NO
        skip-full NO


>> and look for the lines containing index.
>> If no, edit dumptypes in amanda.conf to contain "index yes".

--
My amanda.conf in the section globas have :
--

define dumptype global {
    comment "Global definitions"
    index yes
    record yes
}

--
and amanda.conf section tar and dump
--

define dumptype hard-disk-dump {
    global
    comment "Back up to hard disk instead of tape - using dump"
    holdingdisk no
    index yes
    priority high
}   

define dumptype hard-disk-tar {
    hard-disk-dump
    comment "Back up to hard disk instead of tape - using tar"
    program "GNUTAR"
}   


thanks for the attention lent...

http://www.latinmail.com - La forma más cómoda de enviar y recibir tus e-mails