Results 1 to 2 of 2

Thread: Problem with rait - dump into vtapes and real tape simultaneously

  1. #1
    Join Date
    Mar 2016
    Posts
    2

    Unhappy Problem with rait - dump into vtapes and real tape simultaneously

    Hi,

    I,ve been using amanda 3.3.7 for the last few months. Initially my amanda config worked fine independently for real tape and virtual tape. however i was trying to merge both real tape and virtual tape to run simultaneously as I,ve seen that chg-rait was one of the method to do so. I have diffilculty to find good example on how to put the right config on my amanda.conf for that purpose. my amdump command threw an error like below

    Amanda Tape Server Host Check
    -----------------------------
    ERROR: no tapetype specified; you must give a value for the 'tapetype' parameter
    Holding disk /hold1/holdingdisk: 489623552 kB disk space available, using 479137792 kB
    ERROR: Cannot specify both 'tapedev' and 'tpchanger' unless using an old-style changer script
    NOTE: host info dir /etc/amanda/DailyBackup/curinfo/hqweb01 does not exist
    NOTE: it will be created on the next run.
    NOTE: index dir /etc/amanda/DailyBackup/index/hqweb01 does not exist
    NOTE: it will be created on the next run.
    NOTE: host info dir /etc/amanda/DailyBackup/curinfo/sagarcpt_v2 does not exist
    NOTE: it will be created on the next run.
    NOTE: index dir /etc/amanda/DailyBackup/index/sagarcpt_v2 does not exist
    NOTE: it will be created on the next run.
    Server check took 0.207 seconds

    Amanda Backup Client Hosts Check
    --------------------------------
    Client check: 3 hosts checked in 2.127 seconds. 0 problems found.

    ###### Here is my amanda.conf ###########


    org "MAMBRA"
    mailto "azrim@perda.icu.gov.my"
    netusage 10000 Kbps

    dumpcycle 1 week
    runspercycle 5
    tapecycle 12 tapes

    tpchanger "chg-rait:{vtapes,my_robot}"

    define changer vtapes {
    tpchanger "chg-disk:/hold2/vtapes/slots"
    property "slots" "1-23"
    property "tapetype" "HARDDISK"
    }

    define changer my_robot {
    tpchanger "chg-robot:/dev/sg3"
    property "tape-device" "0=tape:/dev/nst0"
    device-property "LEOM" "TRUE"
    device-property "BLOCK_SIZE" "512k"
    property "FAST-SEARCH" "TRUE"
    property "havereader" "1"
    property "havereader" "TRUE"
    property "use-slots" "1-23"
    property "tapetype" "LTO4"
    }

    #tapedev "vtapes"
    #tapedev "my_robot"
    #tapetype LTO4
    #tapetype HARDDISK

    labelstr "^DailyBackup-[0-9][0-9]*$"


    holdingdisk hd1 {
    comment "main holding disk"
    directory "/hold1/holdingdisk"
    use -10 Gb
    chunksize 1Gb
    }

    infofile "/etc/amanda/DailyBackup/curinfo"
    logdir "/etc/amanda/DailyBackup/logs"
    indexdir "/etc/amanda/DailyBackup/index"

    define tapetype HARDDISK {
    length 100000 mbytes
    }

    define tapetype LTO4 {
    comment "IBM TS3100 LTO4 800Gb Compression Off"
    length 802816 mbytes
    filemark 0 kbytes
    speed 52616 kps
    blocksize 2048 kbytes
    }

    amrecover_changer "changer"

    define dumptype global {
    maxdumps 2
    #estimate calcsize
    estimate client
    holdingdisk yes
    index yes
    }

    define dumptype root-tar {
    global
    program "GNUTAR"
    comment "root partitions dumped with tar"
    compress none
    index
    priority low
    }

    define dumptype user-tar {
    root-tar
    comment "user partitions dumped with tar"
    priority medium

    define dumptype comp-user-tar {
    user-tar
    compress client fast
    }

    define dumptype zwc-normal {
    global
    auth "bsdtcp"
    maxdumps 1
    program "DUMP"
    }


    ** really appreciate any helps or suggestion on this. I really need to make sure this happen as this would be my major task for disaster recovery implementation.

  2. #2
    Join Date
    Mar 2016
    Posts
    2

    Default

    ** my mistake not amdump but amcheck threw an error. sorry

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •