Monthly Status Updates/June 2007
This page is in progress: wiki changes are up to date; remainder is current through 6/11.
June saw the release of Amanda 2.5.2p1 on June 6, a patch release which was thoroughly tested with the help of the Platform Experts and many users from the mailing lists and forums. This patch release has proven quite stable, and development has shifted to feature development for the next release.
Wiki Changes
- Marc Muehlfeld provided a link to a useful script for performing backups of MySQL databases.
- Harald Schioeberg provided Lto-barcode, a perl script to generate barcode labels for LTO Tapes.
- Erik W wrote a detailed How To:Install Amanda Server on AIX.
- Harald Schioeberg provided Chg-multiplex, a wrapper to use multiple Amanda configs in a single restore operation.
- Paul Bijnens contributed a multitude of minor edits all over the wiki, increasing readability and clarity.
Forums Discussions
- tamiral asked several interesting questions:
- How can I verify that AMANDA has successfully backed-up files? -- Shailen Patel suggested using amrecover to test a full restore, which is more thorough than the tape verification performed by amverify.
- I'm concerned that because my defined tape size is larger than the amount of diskspace I have... -- Shailen Patel and Dustin J. Mitchell responded that yes, this could cause a problem, and referencing wiki pages describing the optimal configuration.
- Basically, I'd rather use 'dd' for those kind of jobs (even unmount the filesystem so it won't change), but I guess I can't with AMANDA. What is the recommended dumptype for this kind of backup...? -- Paddy Sreenivasan suggested a dumptype with always-full, compression off, and encryption off.
- George Reeke had a client machine which exceeded Amanda's connect timeout because its hard drives took too long to spin up. Paddy Sreenivasan suggested increasing ctimeout and etimeout.
- Andrew Rakowski asked whether Amanda's bandwidth configuration variables are in bits or bytes per second. Gregory Grant responded that they are, indeed, bytes per second.
Mailing List Discussions
amanda-users
- Jon LaBadie tried running amtapetype on a vtape, and the results spawned an interesting discussion on what amtapetype should do in such a situation.
- Robert P. McGraw, Chris Hoogendyk, and Brian Cuttler discussed the relative merits of hardware and software compression, noting that Amanda has a difficult time calculating the number of dumps it can fit on a tape when hardware compression is enabled.
- Marc Muehlfeld wondered how Amanda can fill a tape to more than 100% capacity. Cyrille Bollu and Paul Bijnens answered, pointing out that tapes differ in actual capacity, and that Amanda only uses the tapelength for planning purposes, but will happily consume any extra space it finds.
- Paul Crittenden discovered an error in the file-locking support detection, which caused Solaris builds of Amanda to use no file locking at all. Chris Hoogendyk, Jon LaBadie, Jean-Louis Martineau, and Dustin J. Mitchell chased down a solution.
- Alan Jedlow discovered a bug in chg-zd-mtx, which was fixed by Dustin J. Mitchell.
- Jordan Desroches had errors backing up a subdirectory of an NFS mount. Paul Bijnens, Dustin J. Mitchell, Olivier Nicole, and Jean-Louis Martineau contributed advice, eventually determining that the amanda user did not have adequate permissions on the subdirectory.
- "fedora" saw "file changed as we read it" in his backup report for MySQL data files. This triggered a lengthy discussion:
- Oliver Nicole pointed out that this is just a "STRANGE" warning, not an error, and that it is caused by tar being unable to back up a large file while that file is changing.
- Marc Muehlfeld, Bruce Thompson and Linda Pahdoco offered pointers to scripts for backing up MySQL databases via mysqldump or mysqlhotcopy.
- Dustin J. Mitchell pointed out that ZRM for MySQL is designed to back up MySQL databases without making textual dumps.
- Jean-Francois Malouin had trouble with estimates timing out after 6 hours. Jean-Louis Martineau provided a patch to reset this limit for each estimate.
- Sebastian Marten asked about the relationship of runtapes to tape_splitsize. Marc Muehlfeld replied to say that splitting dumps across tapes is impossible with only one tape (runtapes=1). Sebastian does not have a changer, but nightly backups are larger than his media (DVD-RAM), so Marc suggested using multiple DVD drives, spooling some dumps to holding and flushing between dumps, or using chg-manual to use two DVD-RAMs per dump.
- Charlie Reitsma asked if any work had been done on migrating dumps from vtapes to real tapes. Dustin Mitchell, Gene Heskett, and Jon LaBadie replied with some pointers, and Charlie started work on an implementation to suit his needs.
amanda-hackers
- Ladislav Michnovic alerted amanda-hackers to a regression in SUSE Linux, reported by Matthias Andree, relating to multihomed machines. The issue has stalled without any feedback from Matthias.
Code Development
- Dustin J. Mitchell committed a number of bugfixes, including:
- a fix for broken file-locking support on Solaris, as reported by Paul Crittenden (r422)
- Jean-Louis Martineau fixed a number of bugs, including:
- a bug discovered by Marc Muehlfeld where hosts running in a mixed IPv4/IPv6 environment would encounter errors (r397)
- a bug discovered by Christopher McCrory where amfetchdump sent messages to stdout, corrupting the resulting tarfiles (r410)
- Franz Fischer submitted a patch to make amtapetype close the tape device after rewinding, to work around a hardware/OS bug on his system. The patch was modified and committed by Jean-Louis Martineau (r416)