Results 1 to 4 of 4

Thread: Exclude lists?

  1. #1
    Join Date
    Aug 2011
    Location
    Great White North
    Posts
    6

    Default Exclude lists?

    I found the following info as far as managing exclude lists:

    Code:
    Info Description:
    
    In case where multiple files and directories need to be excluded "exclude list file" should be used:
    
    On the Amanda server:
    
    
    Edit the disklist.conf file of the amanda backup set and add the "exclude list" line below into the disklist item you would like to use the exclude list on:
    
    host.domain "/backup" {
        gui-default
        exclude list "/var/lib/amanda/excludelist"
    }
    
    
    On the Amanda client:
    
    1. Create file /var/lib/amanda/excludelist
    2. chown amandabackup:disk /var/lib/amanda/excludelist
    3. Add the files and directory names you want to exclude to the file
    
    ./tmp
    ./trash
    ./old/file.tmp
    ./*.gz
    ./*.tar
    Using Zmanda Enterprise, would this still apply? Can the same include list be use "at large" on all backupsets and DLEs? or would we have to edit the disklist.conf for each backupsets? and worse yet, edit each backupsets and each DLEs involved?

    Do we have to do anything on the GUI portion of the DLE/What page, where we would normally insert an exclude statement in the "Exclude Files:" field?
    Last edited by Stephan26; March 14th, 2012 at 07:44 AM.

  2. #2
    Join Date
    Aug 2011
    Location
    Great White North
    Posts
    6

    Default

    So here is what i've done so far.

    I create the exclude list and tried adding the exclude statement within the disklist of my intended backupset...

    Code:
    server1.domain.ca "/opt" "/opt" {
            zmc_unix_base
            gui_default
            encrypt none
            compress        none
            estimate        calcsize server
            property        "zmc_type"      "unix"
            property        "zmc_disklist"  "LX_NonProd_BDC_OS_01"
            property        "zmc_version"   "3"
            property        "zmc_extended_attributes"       "gtar"
            property        "zmc_amanda_app"        "gtar"
            property        "creation_time" "2012-02-29 16:18:12"
            property        "zmc_occ"       "21787814567"
            property        "last_modified_by"      "admin"
            property        "last_modified_time"    "2012-03-19 12:39:41"
            property        "zmc_show_advanced"     "on"
            property        "zmc_amcheck"   "\"/etc/amanda/LX_NonProd_BDC_OS_01/disklist.20120319123941.conf\", line 22:\ndumptype parameter expected\namcheck: errors processing config file"
            exclude list "/var/lib/amanda/excludelist_linux"
            property        "zmc_amcheck_code"      "1"
            property        "zmc_amcheck_warn"      ""
            property        "zmc_amcheck_date"      "20120319123941"
            zmc_gtar_app
    I added the "gui_default" and I've tried it without. Still fails. But without the gui_default, it fails with this instead:

    Code:
    server1.domain.ca "/opt" "/opt" {
            zmc_unix_base
            encrypt none
            compress        none
            estimate        calcsize server
            property        "zmc_type"      "unix"
            property        "zmc_disklist"  "LX_NonProd_BDC_OS_01"
            property        "zmc_version"   "3"
            property        "zmc_extended_attributes"       "gtar"
            property        "zmc_amanda_app"        "gtar"
            property        "creation_time" "2012-02-29 16:18:12"
            property        "zmc_occ"       "21789532601"
            property        "last_modified_by"      "admin"
            property        "last_modified_time"    "2012-03-19 12:42:33"
            property        "zmc_show_advanced"     "on"
            property        "zmc_amcheck"   "Amanda Backup Client Hosts Check\n--------------------------------\nERROR: server1.domain.ca: [Can't open exclude file\n/var/lib/amanda/excludelist_linux (No such file or directory)]\nClient check: 1 host checked in 7.069 seconds.  1 problem found."
            exclude list "/var/lib/amanda/excludelist_linux"
            property        "zmc_amcheck_code"      "1"
            property        "zmc_amcheck_warn"      ""
            property        "zmc_amcheck_date"      "20120319124233"
            zmc_gtar_app
    }

  3. #3
    Join Date
    Mar 2013
    Posts
    6

    Default

    I really wish there was a global excludes list for Amanda Enterprise, I have brought it up with their support team and it doesn't currently exist.

  4. #4

    Default

    We need to look at the logs. Can you open a case and send us the logs?

    thanks
    Paddy

Posting Permissions

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