Discussion:
anybody using dump/restore
Heiko Schlittermann
11 years ago
Permalink
Hello,

my application plugin for dump/restore is almost done. But now I
discovered a grave bug in restore (https://sourceforge.net/p/dump/bugs/157/).

I'm a bit shocked. And now I'm asking myself how useful the application
plugin is, after that. dump/restore are beta (according to the
sourceforce project page). Does anybody know of any activity on the
project recently?

I'd consider it as dead otherwise. Should Amanda support such an
unreliable tool? How does it work on other platforms? Do they have
dump/restore? BTW: the Debian package of dump is orphaned too.

Does anybody have experience with dump/restore ext2/3/4 filesystems on
Linux? How do you cope with this above mentioned bug? (summary: can't
restore incremental backups if a directory was removed)

Best regards from Dresden/Germany
Viele GrÌße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
gnupg fingerprint: 9288 F17D BBF9 9625 5ABC 285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B)-
Dustin J. Mitchell
11 years ago
Permalink
That's frightening! Amanda has certainly seen its share of bugs in
other apps, too, especially GNU Tar.

Our solution with tar is to verify the version of tar, or better the
behavior, and work around, warn, or fail for versions with known bugs.

I say "behavior" because distros often backport fixes, so it may be
that version X.Y.Z of upstream tar has a bug, but version X.Y.Z in
RHEL does not.

In this case, assuming that there exist working versions of dump -
either on Linux or on other platforms - I think it's worth having a
good interface that ships with Amanda. Better yet if Amanda can issue
loud warnings to those using known-buggy versions.

Dustin
Heiko Schlittermann
11 years ago
Permalink
Hi Dustin,
Post by Dustin J. Mitchell
That's frightening! Amanda has certainly seen its share of bugs in
other apps, too, especially GNU Tar.
Our solution with tar is to verify the version of tar, or better the
behavior, and work around, warn, or fail for versions with known bugs.
I say "behavior" because distros often backport fixes, so it may be
that version X.Y.Z of upstream tar has a bug, but version X.Y.Z in
RHEL does not.
ACK.

I could test for the version of dump/restore, but the restore bug will
bite you at restore time, this warning at dump time is only part of the
game


When amcheck runs with the proper permissions I even can *test* for the
bug
 But anyway, it may bite us years later or never.
Post by Dustin J. Mitchell
In this case, assuming that there exist working versions of dump -
either on Linux or on other platforms - I think it's worth having a
good interface that ships with Amanda. Better yet if Amanda can issue
loud warnings to those using known-buggy versions.
I've an application/amdumpext plugin (written in Perl). Is there anybody
willing to review/test it?

The source is at

hg clone \
https://ssl.schlittermann.de/hg/amanda-plugin-dumpext/

Best regards from Dresden/Germany
Viele GrÌße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
gnupg fingerprint: 9288 F17D BBF9 9625 5ABC 285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B)-
Loading...