Amanda-Users

Re: Example Disklist for a disk larger than 1 tape.

2004-02-03 09:42:06
Subject: Re: Example Disklist for a disk larger than 1 tape.
From: "mnmis mnmis" <mnmis AT hotmail DOT com>
To: gene.heskett AT verizon DOT net, amanda-users AT amanda DOT org
Date: Tue, 03 Feb 2004 08:38:22 -0600



From: Gene Heskett <gene.heskett AT verizon DOT net>
Reply-To: gene.heskett AT verizon DOT net
To: amanda-users AT amanda DOT org
Subject: Re: Example Disklist for a disk larger than 1 tape.
Date: Mon, 2 Feb 2004 19:02:12 -0500
MIME-Version: 1.0
Received: from neoguinness.omniscient.com ([64.134.101.104]) by mc12-f26.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Mon, 2 Feb 2004 16:06:09 -0800 Received: from neoguinness.omniscient.com (localhost [127.0.0.1])by neoguinness.omniscient.com (8.12.10/8.12.10) with ESMTP id i1303VhD028568(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO);Mon, 2 Feb 2004 19:03:31 -0500 (EST) Received: from localhost (daemon@localhost)by neoguinness.omniscient.com (8.12.10/8.12.10/Submit) with SMTP id i1303SPO028567;Mon, 2 Feb 2004 19:03:28 -0500 (EST) Received: by neoguinness.omniscient.com (bulk_mailer v1.13); Mon, 2 Feb 2004 19:01:16 -0500 Received: from neoguinness.omniscient.com (localhost [127.0.0.1])by neoguinness.omniscient.com (8.12.10/8.12.10) with ESMTP id i1301GhD028372(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO)for <amanda.org.amanda-users-list AT neoguinness.omniscient DOT com>; Mon, 2 Feb 2004 19:01:16 -0500 (EST) Received: (from majordom@localhost)by neoguinness.omniscient.com (8.12.10/8.12.10/Submit) id i1301GjY028371for amanda.org.amanda-users-list; Mon, 2 Feb 2004 19:01:16 -0500 (EST) Received: from guinness.omniscient.com (guinness.omniscient.com [64.134.101.78])by neoguinness.omniscient.com (8.12.10/8.12.10) with ESMTP id i1301FhD028367(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO)for <amanda-users AT amanda DOT org>; Mon, 2 Feb 2004 19:01:15 -0500 (EST) Received: from sapphire.omniscient.com (sapphire.omniscient.com [64.134.101.71])by guinness.omniscient.com (8.12.10/8.12.10) with ESMTP id i1302GYJ027073(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO)for <amanda-users AT amanda DOT org>; Mon, 2 Feb 2004 19:02:17 -0500 (EST) Received: from out005.verizon.net (out005pub.verizon.net [206.46.170.143])by sapphire.omniscient.com (8.12.10/8.12.10) with ESMTP id i1302GSD028917for <amanda-users AT amanda DOT org>; Mon, 2 Feb 2004 19:02:16 -0500 (EST) Received: from coyote.coyote.den ([151.205.53.166]) by out005.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040203000215.YULF2677.out005.verizon.net AT coyote.coyote DOT den> for <amanda-users AT amanda DOT org>; Mon, 2 Feb 2004 18:02:15 -0600
X-Message-Info: vAu4ZEtdRih7QhPkreAJ5jW1pQN/EM/H
X-Authentication-Warning: neoguinness.omniscient.com: majordom set sender to owner-amanda-users AT amanda DOT org using -f
Organization: Organization: None, detectable by casual observers
User-Agent: KMail/1.6
References: <BAY99-F679cZZ7le5ib00004d93 AT hotmail DOT com>
In-Reply-To: <BAY99-F679cZZ7le5ib00004d93 AT hotmail DOT com>
Message-Id: <200402021902.12525.gene.heskett AT verizon DOT net>
X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.205.53.166] at Mon, 2 Feb 2004 18:02:15 -0600
Return-Path: owner-amanda-users AT amanda DOT org
X-OriginalArrivalTime: 03 Feb 2004 00:06:09.0892 (UTC) FILETIME=[870CCA40:01C3E9E9]

On Monday 02 February 2004 15:29, mnmis mnmis wrote:
>>From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
>>To: mnmis mnmis <mnmis AT hotmail DOT com>
>>CC: amanda-users AT amanda DOT org
>>Subject: Re: Example Disklist for a disk larger than 1 tape.
>>Date: Mon, 2 Feb 2004 15:19:33 -0500 (EST)
>>
>>
>>On Mon, 2 Feb 2004 at 2:01pm, mnmis mnmis wrote
>>
>> > I am wondering if anyone has an example disklist file for
>> > backing up a
>>
>>drive
>>
>> > to multible tapes?
>> >
>> > I am using Amanda to backup a local drive (sda1) that is too
>> > large for 1 tape.
>> > I would like to spread it across to multible tapes.
>> >
>> > I cannot seem to figure out how to do it with the sample
>> > disklist.
>>
>>You cannot have one DLE (disk list entry) that is larger than a
>> tape.  To split it up, use GNUTAR as your backup program and put
>> subdirectories of the partition in the disklist.
>>
>>--
>>Joshua Baker-LePain
>>Department of Biomedical Engineering
>>Duke University
>
>I am using GNUTAR, but what is the format of the disklist file?
>
>I want to backup the whole disk except /var/www/htdocs on 1 tape and
> the directory /var/www/htdocs on another tape.
>
>How would I do this?
>
>mnmis
>
Make two nearly identical dumptypes, but give one the base dir and an
exclude pattern.  Call this one A.

Give the other one a full path to the desired directory and no exclude
file.  Call this one B.

Then use a dumptype of A or B in the disklist entry.

--

Here is my example of the disklist file.

webmn.checkpt.com sda1 a {
       comp-root-tar-a
       exclude "./var/www/htdocs/jobfiles/*"
       } -1 local

webmn.checkpt.com sda1 b {
       comp-root-tar-b
       } -1 local

Sample dumptypes.

define dumptype comp-root-tar-a {
   global
   program "GNUTAR"
   comment "root partitions dumped with tar"
   index
   exclude "./var/www/htdocs/jobfiles/*"
   priority low
   compress client fast
}

define dumptype comp-root-tar-b {
   global
   program "GNUTAR"
   comment "root partitions dumped with tar"
   index
   include "./var/www/htdocs/jobfiles/*"
   priority low
   compress client fast
}

Here are the errors that I receive.

"/usr/local/etc/amanda/amanda.conf/disklist", line 22: duplicate disk record, previous on line 17 "/usr/local/etc/amanda/amanda.conf/disklist", line 24: dumptype custom(webmn.checkpt.com:sda1) already defined on line 17
amcheck: could not load disklist /usr/local/etc/amanda/amanda.conf/disklist


What am I doing wrong?

mnmis

_________________________________________________________________
Scope out the new MSN Plus Internet Software ? optimizes dial-up to the max! http://join.msn.com/?pgmarket=en-us&page=byoa/plus&ST=1