Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: straight forward installation tutorials

  1. #1

    Default straight forward installation tutorials

    hi guys,
    i wanna be honest to you, im new to linux and i want to utilized amanda as our backup server.

    i've read tons of installation tutorials yet, with all luck im stuck with errors .i.e. :
    /etc/amanda/DailySet1/amanda.conf", line 35: configuration keyword expected
    "/etc/amanda/DailySet1/amanda.conf", line 57: dumptype parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 57: end of line is expected

    i've been using the latest release of amanda and I install it to Centos 5.3 . and my amanda client is windows server 2008 - I already installed windows client on this machine


    any help will do,

  2. #2
    Join Date
    Oct 2005
    Posts
    1,559

    Default

    Quote Originally Posted by mananabasako View Post
    hi guys,
    i wanna be honest to you, im new to linux and i want to utilized amanda as our backup server.

    i've read tons of installation tutorials yet, with all luck im stuck with errors .i.e. :
    /etc/amanda/DailySet1/amanda.conf", line 35: configuration keyword expected
    "/etc/amanda/DailySet1/amanda.conf", line 57: dumptype parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 57: end of line is expected

    i've been using the latest release of amanda and I install it to Centos 5.3 .

    any help will do,
    There is a configuration error in amanda.conf (most likely before line 35).
    Please post the configuration file if you need help.
    Paddy

  3. #3

    Default amanda.conf

    sir here is my amanda.conf

    org "DailySet1"
    mailto "jmalto@segagames.com"
    dumpuser "amandabackup"

    inparallel 4 #max dumpers that will run in parallel
    netusage 600 #max net bandwidth for amanda, in KB per sec

    dumpcycle 5 days # no. of days in the normal dump cycle
    tapecycle 4 tapes # no. of tapes in rotation
    ##line 10
    bumpsize 20 MB # min. savings (threshold) to bump level 1 -> 2
    bumpdays 1 # min. days @ each level
    bumpmult 4 # threshold = bumpsize * (level-1)**bumpmult

    #tpchanger "chg-multi"
    #tapedev "file:/var2/amandadumps"
    #labelstr "^DailySet1[0-9][0-9]*$"

    tapedev "no-such-device" # save to DISK (DISKSAVE)
    changerdev "no-such-device" # save to DISK (DISKSAVE) #line 20
    tapetype DISKSAVE # save to DISK (DISKSAVE)
    reserve 0 # save to DISK (DISKSAVE)

    holdingdisk hd1 { # HoldingDisk - temp staging area for dumps to be written
    directory "/dumps/amanda" # where the holding disk is located
    use -100 Mb # how much space can we use on it
    #diskdir "/dumps/amanda/work" # additionaly holding disks can be specified
    #diskdir "/mnt/disk4"
    chunksize 1000 MB # they are used round-robin
    } ##line 30

    infofile "/var/lib/amanda/DailySet1/curinfo" # database filename
    #logfile "/var/log/amanda/server/DailySet1/log" # log filename
    indexdir "/var/lib/amanda/DailySet1/index" # index file dir.

    define tapetype DISKSAVE {
    comment "Save to disk"
    length 12 gbytes # size of the partition used for tapeless backup
    filemark 0 kbytes
    speed 2000 kbytes ##line 40
    }

    define dumptype global {
    comment "Global Def"
    auth "bsdtcp"
    }

    #define dumptype always-full {
    # comment "Full dump of this filesystem always"
    # compress none ##line 50
    # priority high
    # dumpcycle 0
    #}

    #define dumptype wagner-dump {
    # program "GNUTAR"
    # comment "Non-root partitions on reasonably fast machines"
    # options compress-best, index
    # priority high
    #} ##line 60

    define dumptype samba-dump {
    global
    program "GNUTAR"
    comment "remote windows client backup"
    options compress-fast, index
    }

    thanks for the quick reply

  4. #4
    Join Date
    Oct 2005
    Posts
    1,559

    Default

    Quote Originally Posted by mananabasako View Post
    options compress-fast, index
    Above line is incorrect. It should be
    compress client fast
    index


    Paddy

  5. #5

    Default

    sir thanks for the quick reply

    i already did what you told me, and the errors was cut down.
    yet, i still have an error

    "/etc/amanda/DailySet1/amanda.conf", line 49: dumptype parameter expected
    amcheck: errors processing config file

  6. #6
    Join Date
    Sep 2008
    Location
    New York
    Posts
    6

    Default

    Quote Originally Posted by mananabasako View Post
    "/etc/amanda/DailySet1/amanda.conf", line 49: dumptype parameter expected
    amcheck: errors processing config file

    change your samba-dump section to this instead and let me know:

    define dumptype samba-dump {
    program "GNUTAR"
    comment "remote windows client backup"
    options compress-fast, index
    }
    Last edited by icarus; September 10th, 2009 at 12:52 PM.

  7. #7

    Default

    sir question, are we reverting back the the previous .conf,

    I did what u told me and it returned these sets of errors:


    "/etc/amanda/DailySet1/amanda.conf", line 49: dumptype parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 72: dumptype parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 72: end of line is expected
    "/etc/amanda/DailySet1/amanda.conf", line 73: dumptype parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 73: end of line is expected
    amcheck: errors processing config file

    this is the first error that i've encounter.

    thanks for the quick response

  8. #8

    Default

    btw sir icarus I reverted my .conf to with the one that sir paddy asked me to do and I only have 1 error left :

    "/etc/amanda/DailySet1/amanda.conf", line 49: dumptype parameter expected
    amcheck: errors processing config file

    and it points at this line:

    define dumptype comp-root-tar {
    root-tar
    comment "Root partitions with compression"
    compress client fast
    index
    }

    any help will be very much appreciated
    Last edited by mananabasako; September 11th, 2009 at 04:46 AM.

  9. #9

    Default root-tar?

    did you figure this out? do you have a definition for root-tar dumptype to refer back to? that's what its trying to do when you specify 'root-tar' in the body of the definition. i think you want to change root-tar back to global.
    Last edited by kekiku; September 11th, 2009 at 02:29 PM.

  10. #10

    Default

    sir kekiku,
    im not quite sure if i already have a definition for root-tar.
    where can i can check it - is it the disklist? if thats the case i already have it on /etc/amanda/DailySet1/disklist

    ====
    bartserver.localdomain /myfiles/win_share comp-root-tar
    #this line is for linux client
    linuxclient.domain.com /myfiles comp-root-tar
    ~
    ====

    hope you can help me sir... thank you in advance

Posting Permissions

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