From owner-freebsd-ports Sun Nov 24 10:11:11 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA03163 for ports-outgoing; Sun, 24 Nov 1996 10:11:11 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA03115; Sun, 24 Nov 1996 10:10:47 -0800 (PST) Received: from news1.gtn.com (news1.gtn.com [192.109.159.3]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id DAA07558 ; Sun, 24 Nov 1996 03:40:27 -0800 (PST) Received: (from uucp@localhost) by news1.gtn.com (8.7.2/8.7.2) with UUCP id MAA01883; Sun, 24 Nov 1996 12:30:51 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by klemm.gtn.com (8.8.2/8.8.2) with ESMTP id MAA08866; Sun, 24 Nov 1996 12:16:45 +0100 (MET) Date: Sun, 24 Nov 1996 12:16:41 +0100 (MET) From: Andreas Klemm Reply-To: Andreas Klemm To: Yuri Gindin cc: gpalmer@freebsd.org, Michael Reifenberger , FreeBSD-Ports Subject: Re: amanda 2.3.0 anyone under current? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk -----BEGIN PGP SIGNED MESSAGE----- On Mon, 4 Nov 1996, Yuri Gindin wrote: > On Thu, 31 Oct 1996, Michael Reifenberger wrote: > > > Hi, > > The subject says it. > > I tried it with no success. > > I suspect a changed DUMP format but > > before digging into it I would like to ask If > > anyone had success... > > Thanks. > > > > > Michael, > It works fine for me. I send some patches to Gary Palmer (the port maintainer of amanda) some time ago, but didn't receive a response. I found out, that one has to fiddle around much with amanda. The docu doesn't fit FreeBSD paths and devices much and such things. Additionally I found out, that some paths could be configured more suitable to BSD 4.4 paths. Gary, since the topic comes up here again, could you please tell me, if you got my patches and if you think that it's worth, to include some or all of them ?! BTW, I didn't get amanda working out of the box as well. Could the port be changed, that the amount of work, to get it up and running decreases to a small amount of work ? It would be fine, Gary, if you could check and perhaps merge my changes, since you are certainly someone, who got it running and who could deceide faster than I if the patches are ok, or if I have broken something. Although I think not. Don't ask me, which error messages I got. I started to patch the amanda port, because it wasnÄt working out of the box. Just for the case, that someone want's to see, what I 'hacked' in this port, here again the diffs. Andreas /// *** man/amadmin.8.orig Wed Sep 25 11:06:05 1996 - --- man/amadmin.8 Wed Sep 25 11:07:14 1996 *************** *** 23,29 **** .I hostname, if no disks are specified. The .I disks ! parameters are prefixes, for example "sd0" will match disks "sd0a" and "sd0g". .HP 5 .B force - --- 23,30 ---- .I hostname, if no disks are specified. The .I disks ! parameters are prefixes, for example "sd0" will match disks "sd0a" and ! "sd0s1g". .HP 5 .B force *** man/amanda.8.orig Wed Sep 25 11:11:28 1996 - --- man/amanda.8 Wed Sep 25 11:20:32 1996 *************** *** 135,153 **** All the files are stored in a .I config ! directory under /etc/amanda. Often a single site will have more than ! one configuration; these configurations are named by the directories that their config files are in. For example, a site might have a .I normal configuration for every-day backups, and a .I archive configuration for 6-month full archival backups. The config files for ! these two would be stored under /etc/amanda/normal and ! /etc/amanda/archive, respectively. All log and database files generated by Amanda go in corresponding ! directories under /usr/adm/amanda. In our example, the logs would go ! in /usr/adm/amanda/normal and /usr/adm/amanda/archive. .SH CONFIG FILE PARAMETERS - --- 135,153 ---- All the files are stored in a .I config ! directory under /usr/local/etc/amanda. Often a single site will have more ! than one configuration; these configurations are named by the directories that their config files are in. For example, a site might have a .I normal configuration for every-day backups, and a .I archive configuration for 6-month full archival backups. The config files for ! these two would be stored under /usr/local/etc/amanda/normal and ! /usr/local/etc/amanda/archive, respectively. All log and database files generated by Amanda go in corresponding ! directories under /var/log/amanda. In our example, the logs would go ! in /var/log/amanda/normal and /var/log/amanda/archive. .SH CONFIG FILE PARAMETERS *************** *** 210,216 **** .TP .B diskdir Default: ! .I /dumps/amanda. The path name of the holding disk. Backups are deposited under this directory when no tape is available. - --- 210,216 ---- .TP .B diskdir Default: ! .I /var/spool/amdumps. The path name of the holding disk. Backups are deposited under this directory when no tape is available. *************** *** 223,229 **** .TP .B tapedev Default: ! .I /dev/rmt8. The path name of the tape device file. .TP - --- 223,229 ---- .TP .B tapedev Default: ! .I /dev/rst0. The path name of the tape device file. .TP *************** *** 312,324 **** .TP .B infofile Default: ! .I /usr/adm/amanda/curinfo. The file name for the historical information database file. .TP .B logfile Default: ! .I /usr/adm/amanda/log The file name for the nightly log file. .TP - --- 312,324 ---- .TP .B infofile Default: ! .I /var/log/amanda/curinfo. The file name for the historical information database file. .TP .B logfile Default: ! .I /var/log/amanda/log The file name for the nightly log file. .TP *** man/amcheck.8.orig Wed Sep 25 11:21:05 1996 - --- man/amcheck.8 Wed Sep 25 11:22:18 1996 *************** *** 41,47 **** If the -m option is given, nothing is printed, but mail is sent to the "mailto" address (as specified by the .I amanda.conf ! file in /etc/amanda/\fIconfig\fR) if any errors are detected. .PP See the .IR amanda(8) - --- 41,47 ---- If the -m option is given, nothing is printed, but mail is sent to the "mailto" address (as specified by the .I amanda.conf ! file in /usr/local/etc/amanda/\fIconfig\fR) if any errors are detected. .PP See the .IR amanda(8) *************** *** 71,77 **** .TP % amcheck -m csd If the line "mailto csd-amanda" is in ! /etc/amanda/csd/amanda.conf, mail will be sent to csd-amanda if the tape check returns an error. .SH AUTHOR - --- 71,77 ---- .TP % amcheck -m csd If the line "mailto csd-amanda" is in ! /usr/local/etc/amanda/csd/amanda.conf, mail will be sent to csd-amanda if the tape check returns an error. .SH AUTHOR *** man/amcleanup.8.orig Wed Sep 25 11:23:08 1996 - --- man/amcleanup.8 Wed Sep 25 11:24:13 1996 *************** *** 31,37 **** ..PP .nf ! if [ -s /usr/adm/amanda/csd/amanda.log ] then /usr/local/sbin/amcleanup csd fi - --- 31,37 ---- .PP .nf ! if [ -s /var/log/amanda/csd/amanda.log ] then /usr/local/sbin/amcleanup csd fi *** man/amdump.8.orig Wed Sep 25 11:24:26 1996 - --- man/amdump.8 Wed Sep 25 11:25:02 1996 *************** *** 10,16 **** .B Amdump switches to the appropriate Amanda configuration directory, usually ! /etc/amanda/\fIconfig\fR, then attempts to back up every disk as specified by the .I amanda.conf file. - --- 10,16 ---- .B Amdump switches to the appropriate Amanda configuration directory, usually ! /usr/local/etc/amanda/\fIconfig\fR, then attempts to back up every disk as specified by the .I amanda.conf file. *************** *** 21,27 **** .IR amanda(8) man page for more details about Amanda. ! If the file /etc/amanda/\fIconfig\fR/hold exists on startup, .B amdump will wait until the file is removed before proceeding with the night's backups. This allows the operators to delay the scheduled backups when the - --- 21,27 ---- .IR amanda(8) man page for more details about Amanda. ! If the file /usr/local/etc/amanda/\fIconfig\fR/hold exists on startup, .B amdump will wait until the file is removed before proceeding with the night's backups. This allows the operators to delay the scheduled backups when the *** man/amflush.8.orig Wed Sep 25 11:25:40 1996 - --- man/amflush.8 Wed Sep 25 11:25:59 1996 *************** *** 22,28 **** .B Amflush will look in the holding disk specified by the .I amanda.conf ! file in /etc/amanda/\fIconfig\fR for any non-empty Amanda work directories. It then prompts the operator to select the correct directory. The work directories on the holding disk are named by the date at the time - --- 22,28 ---- .B Amflush will look in the holding disk specified by the .I amanda.conf ! file in /usr/local/etc/amanda/\fIconfig\fR for any non-empty Amanda work directories. It then prompts the operator to select the correct directory. The work directories on the holding disk are named by the date at the time *** man/amlabel.8.orig Wed Sep 25 11:26:11 1996 - --- man/amlabel.8 Wed Sep 25 11:26:58 1996 *************** *** 11,17 **** .B Amlabel writes an Amanda label on the tape in the tape drive specified by the .I amanda.conf ! file in /etc/amanda/\fIconfig\fR. The .I label can be any string that does not contain whitespace, and that matches the .I amanda.conf - --- 11,17 ---- .B Amlabel writes an Amanda label on the tape in the tape drive specified by the .I amanda.conf ! file in /usr/local/etc/amanda/\fIconfig\fR. The .I label can be any string that does not contain whitespace, and that matches the .I amanda.conf *************** *** 25,33 **** .SH EXAMPLE .TP % amlabel csd VOL1 ! If the line "tapedev /dev/tape/1n" is in ! /etc/amanda/csd/amanda.conf, an Amanda label with the name "VOL1" is ! written on the /dev/tape/1n device. .SH AUTHOR James da Silva - --- 25,33 ---- .SH EXAMPLE .TP % amlabel csd VOL1 ! If the line "tapedev /dev/nrst0" is in ! /usr/local/etc/amanda/csd/amanda.conf, an Amanda label with the name "VOL1" is ! written on the /dev/nrst0 device. .SH AUTHOR James da Silva *** man/amrestore.8.orig Wed Sep 25 11:27:27 1996 - --- man/amrestore.8 Wed Sep 25 11:33:27 1996 *************** *** 38,48 **** may be regular expressions that can match many dumps. For example, if a .I diskname of ! .B rz[23]a is given, it would match backups of disks ! .B rz2a and ! .B rz3a. .PP Matching backup files from the tape are normally extracted to files in the current directory named .I hostname.diskname.datestamp.dumplevel. - --- 38,48 ---- may be regular expressions that can match many dumps. For example, if a .I diskname of ! .B rsd[01]a is given, it would match backups of disks ! .B rsd0a and ! .B rsd1a. .PP Matching backup files from the tape are normally extracted to files in the current directory named .I hostname.diskname.datestamp.dumplevel. *************** *** 98,119 **** .SH EXAMPLES .TP ! % amrestore -p /dev/nrmt9 seine rz3g | restore ivbf 2 - ! This does an interactive restore of disk /dev/rz3g from host seine, to restore particular files. Note the use of the "b 2" option to restore, which means read in units of 2 512-byte blocks (== 1 Kbyte) at a time. This keeps restore from complaining about short reads. .TP ! % amrestore /dev/nrmt9 seine This extracts all backup files for host seine. This is the usual way to extract all the data for a host after a disk crash. If the datestamp for the backups is 19910125 and seine has level 0 backups of filesystems ! rz1a and rz1g on the tape; the following files will be created in the current directory: ! seine.rz1a.19910125.0 .br ! seine.rz1g.19910125.0 .SH AUTHOR James da Silva - --- 98,119 ---- .SH EXAMPLES .TP ! % amrestore -p /dev/nrst0 seine rsd0s3g | restore ivbf 2 - ! This does an interactive restore of disk /dev/rsd0s3g from host seine, to restore particular files. Note the use of the "b 2" option to restore, which means read in units of 2 512-byte blocks (== 1 Kbyte) at a time. This keeps restore from complaining about short reads. .TP ! % amrestore /dev/nrst0 seine This extracts all backup files for host seine. This is the usual way to extract all the data for a host after a disk crash. If the datestamp for the backups is 19910125 and seine has level 0 backups of filesystems ! rsd0a and rsds3g on the tape; the following files will be created in the current directory: ! seine.rsd0a.19910125.0 .br ! seine.rsds3g.19910125.0 .SH AUTHOR James da Silva *** common-src/conffile.c.orig Wed Sep 25 13:48:43 1996 - --- common-src/conffile.c Wed Sep 25 13:51:24 1996 *************** *** 205,220 **** /* defaults for exported variables */ init_string(&conf_org.s, "YOUR ORG"); ! init_string(&conf_mailto.s, "operators"); ! init_string(&conf_dumpuser.s, "bin"); ! init_string(&conf_tapedev.s, "/dev/rmt8"); init_string(&conf_tpchanger.s, ""); init_string(&conf_labelstr.s, ".*"); init_string(&conf_tapelist.s, "tapelist"); ! init_string(&conf_infofile.s, "/usr/adm/amanda/curinfo"); ! init_string(&conf_logfile.s, "/usr/adm/amanda/log"); init_string(&conf_diskfile.s, "disklist"); ! init_string(&conf_diskdir.s, "/dumps/amanda"); init_string(&tapetype_id.s, "EXABYTE"); conf_dumpcycle.i = 10; - --- 205,220 ---- /* defaults for exported variables */ init_string(&conf_org.s, "YOUR ORG"); ! init_string(&conf_mailto.s, "dumper"); ! init_string(&conf_dumpuser.s, "root"); ! init_string(&conf_tapedev.s, "/dev/rst0"); init_string(&conf_tpchanger.s, ""); init_string(&conf_labelstr.s, ".*"); init_string(&conf_tapelist.s, "tapelist"); ! init_string(&conf_infofile.s, "/var/log/amanda/curinfo"); ! init_string(&conf_logfile.s, "/var/log/amanda/log"); init_string(&conf_diskfile.s, "disklist"); ! init_string(&conf_diskdir.s, "/var/spool/amdumps"); init_string(&tapetype_id.s, "EXABYTE"); conf_dumpcycle.i = 10; *** man/amanda.8.orig Wed Sep 25 14:42:23 1996 - --- man/amanda.8 Wed Sep 25 14:44:25 1996 *************** *** 168,175 **** .TP .B mailto Default: ! .I operators. ! The list of recipients for the nightly mail report. .TP .B mincycle - --- 168,175 ---- .TP .B mailto Default: ! .I dumper. ! The list of dump operators that get the nightly mail report (see /etc/aliases). .TP .B mincycle - -- andreas@klemm.gtn.com /\/\___ Wiechers & Partner Datentechnik GmbH Andreas Klemm ___/\/\/ Support Unix -- andreas.klemm@wup.de pgp p-key http://www-swiss.ai.mit.edu/~bal/pks-toplev.html >>> powered by <<< ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz >>> FreeBSD <<< -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQCVAwUBMpgunfMLpmkD/U+FAQHjBAP/Vx0q2bnYG2E3vcbTAfNCDBgP6bC4YWYK VlCXT261Lc0g+CnLwYci1BVQy5mUMLkAv6iXhSx9FAi3IR1Amkf6fQQhV1STKRTM lyZAHeP6izXyvfW30tgM65/RPM4KVSj8RiIjYK6fkt0mkZ0jHR7ae9oYUOyUkFsU sj953k4S0CE= =Z8ct -----END PGP SIGNATURE-----