From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.5 Message-ID: <4B54764F.3050601@rambler.ru> Date: Mon, 18 Jan 2010 16:55:11 +0200 From: =?UTF-8?B?0JTQtdC90LjRgSDQr9Cz0L7RhNCw0YDQvtCy?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5pre) Gecko/20091019 Lightning/1.0pre Thunderbird/3.0pre MIME-Version: 1.0 To: ALT Linux Community Content-Type: multipart/mixed; boundary="------------060904000700060206050907" Subject: [Comm] =?utf-8?b?QmFjdWxhINC4IHJlZ2V4IHwgd2lsZCDQsiDQvdCw0LHQvtGA?= =?utf-8?b?0LUg0YTQsNC50LvQvtCy?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 14:55:30 -0000 Archived-At: List-Archive: List-Post: This is a multi-part message in MIME format. --------------060904000700060206050907 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Доброго времени суток. Пробую при помощи Bacula 3.0.3 забрать бекапы репозиториев (они сделаны отдельным скриптом). Все файлы имеют вид SVN*gz. Не получается скопировать только их - жадная Бакула копирует всё в целевой папке. Создаётся впечатление, что RegEx и Wild не работают на включение файлов в бекап. Попытка 1: # This is the backup of the SVN FileSet { Name = "SVNDump" Include { Options { signature = MD5 RegEx = "^/tmp/SVN.*gz$" } File = "/tmp" } } Проверяю: estimate job=BackupSVN listing client=storeFd001 Connecting to Client storeFd001 at store.itc.lan:9102 -rw-r--r-- 1 root root 47 2010-01-18 12:22:57 /tmp/w_test -rw-r--r-- 1 root root 0 2010-01-18 12:21:56 /tmp/SVNtest.inc.16-31.gz -rw-r--r-- 1 root root 0 2010-01-18 12:21:44 /tmp/SVNtest.full.gz -rw------- 1 root root 0 2010-01-17 18:32:30 /tmp/session_mm_phpini0.sem drwx-----T 2 cacheman man 40 2010-01-18 04:02:05 /tmp/.private/cacheman ... drwxrwxrwt 7 root root 240 2010-01-18 15:32:13 /tmp 2000 OK estimate files=15 bytes=33,633 Хм.... если добавить exclude = yes , регулярное выражение начинает работать: Connecting to Client storeFd001 at store.itc.lan:9102 -rw-r--r-- 1 root root 47 2010-01-18 12:22:57 /tmp/w_test -rw------- 1 root root 0 2010-01-17 18:32:30 /tmp/session_mm_phpini0.sem drwx-----T 2 cacheman man 40 2010-01-18 04:02:05 /tmp/.private/cacheman ... drwxrwxrwt 7 root root 240 2010-01-18 15:32:13 /tmp 2000 OK estimate files=13 bytes=33,633 Попытка 2: # This is the backup of the SVN FileSet { Name = "SVNDump" Include { Options { signature = MD5 Wild = "/tmp/SVN*gz" } File = "/tmp" } } Проверяю: estimate job=BackupSVN listing client=storeFd001 Connecting to Client storeFd001 at store.itc.lan:9102 -rw-r--r-- 1 root root 47 2010-01-18 12:22:57 /tmp/w_test -rw-r--r-- 1 root root 0 2010-01-18 12:21:56 /tmp/SVNtest.inc.16-31.gz -rw-r--r-- 1 root root 0 2010-01-18 12:21:44 /tmp/SVNtest.full.gz -rw------- 1 root root 0 2010-01-17 18:32:30 /tmp/session_mm_phpini0.sem drwx-----T 2 cacheman man 40 2010-01-18 04:02:05 /tmp/.private/cacheman ... drwxrwxrwt 7 root root 240 2010-01-18 15:32:13 /tmp 2000 OK estimate files=15 bytes=33,633 Хм.... если добавить exclude = yes , wild-выражение начинает работать: estimate job=BackupSVN listing client=storeFd001 Connecting to Client storeFd001 at store.itc.lan:9102 -rw-r--r-- 1 root root 47 2010-01-18 12:22:57 /tmp/w_test -rw------- 1 root root 0 2010-01-17 18:32:30 /tmp/session_mm_phpini0.sem drwx-----T 2 cacheman man 40 2010-01-18 04:02:05 /tmp/.private/cacheman ... drwxrwxrwt 7 root root 240 2010-01-18 15:32:13 /tmp 2000 OK estimate files=13 bytes=33,633 --------------060904000700060206050907 Content-Type: text/x-vcard; charset=utf-8; name="denyago.vcf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="denyago.vcf" YmVnaW46dmNhcmQNCmZuOkRlbmlzIFRpbXVyb3ZpY2ggWWFnb2Zhcm92DQpuOllhZ29mYXJv djtEZW5pcyBUaW11cm92aWNoDQpvcmc6SVRHSVMgTkFTVQ0KYWRyOnJvb20gNjE1OztDaG9r b2xvdnNraSBibHZkci4sIDEzO0tpZXY7OzAzMTUxO1VrcmFpbmUNCmVtYWlsO2ludGVybmV0 OmRlbnlhZ29AcmFtYmxlci5ydQ0KdGl0bGU6c3lzdGVtIGFkbWluaXN0cmF0b3INCnRlbDt3 b3JrOjgwNDQ1MjAxMjA5DQp0ZWw7Y2VsbDo4MDY2MjkzMzc2MA0Kbm90ZTtxdW90ZWQtcHJp bnRhYmxlOnhtbXA6IGRlbnlhZ29AZ21haWwuY29tPTBEPTBBPQ0KCXhtbXA6IGRpeWFnb0Bq YWJiZXIudGUudWENCngtbW96aWxsYS1odG1sOkZBTFNFDQp2ZXJzaW9uOjIuMQ0KZW5kOnZj YXJkDQoNCg== --------------060904000700060206050907--