Amanda-Users

"include" syntax?

2003-12-09 18:02:28
Subject: "include" syntax?
From: "Kurt Yoder" <kylist AT shcorp DOT com>
To: "AMANDA Users" <amanda-users AT amanda DOT org>
Date: Tue, 9 Dec 2003 17:55:35 -0500 (EST)
Hello list

I installed amanda server 2.4.4p1 and am trying to manually break up
a DLE into multiple smaller entries. Here is what I have:

borneo.shcorp.com /home/shared/creative_services/graphics_photos
/home/shared/creative_services/graphics_photos {
        comp-user-tar
        exclude "./PHOTOS\ 2/[a-z]*"
}
borneo.shcorp.com /home/shared/creative_services/graphics_photos01
/home/shared/creative_services/graphics_photos {
        comp-user-tar
        include "./PHOTOS\ 2/[a-z]*"
}

When run with amcheck, this results in

Amanda Backup Client Hosts Check
--------------------------------
ERROR: borneo.shcorp.com: [Can't open disk
'/home/shared/creative_services/graphics_photos']
ERROR: borneo.shcorp.com: [No include for
'/home/shared/creative_services/graphics_photos01']


If the second entry above reads

borneo.shcorp.com /home/shared/creative_services/graphics_photos01
/home/shared/creative_services/graphics_photos {
        comp-user-tar
        exclude "./PHOTOS\ 2/[!a-z]*"
}

amcheck and dump work fine. However, I don't think it's doing what I
intend, which is "include everything from './PHOTOS\ 2/[a-z]*' in
photos01, and put everything else in photos". So what am I doing
wrong with my "include" syntax?

-- 
Kurt Yoder
Sport & Health network administrator


<Prev in Thread] Current Thread [Next in Thread>