Hello I'm currently updating Amanda on some NetBSD/amd64 5.2_STABLE systems from 2.5.2p1 to 3.3.1; Amanda has been built from pkgsrc. So far the Amanda server and one Amanda client have been updated. The first thing I tried after the update was to check the latest backup (created by the "old" Amanda), but this failed:
$ amcheckdump Daily </dev/null You will need the following volume: DAILY07 Press enter when ready Validating image foo.salmi.ch:/usr dumped 20130512032500 level 1 amcheckdump: Can't locate object method "new" via package "Amanda::Xfer::Source::Recovery" (perhaps you forgot to load "Amanda::Xfer::Source::Recovery"?) at /usr/pkg/lib/perl5/vendor_perl/5.16.0/Amanda/Recovery/Clerk.pm line 551. I haven't run amdump(8) yet, thus e.g. $logdir/amdump.$n is still from an Amanda 2.5.2p1 run. Could this be the reason for the failure and I should just run amdump(8)? Another potential issue I noticed is with amstatus(8): $ amstatus Daily ** (process:13775): WARNING **: Use of uninitialized value $gdatestamp in hash element at /usr/pkg/sbin/amstatus line 450, <AMDUMP> line 82. ** (process:13775): WARNING **: Use of uninitialized value $gdatestamp in hash element at /usr/pkg/sbin/amstatus line 451, <AMDUMP> line 82. ** (process:13775): WARNING **: Use of uninitialized value $datestamp in concatenation (.) or string at /usr/pkg/sbin/amstatus line 1428, <AMDUMP> line 106. ** (process:13775): WARNING **: Use of uninitialized value $datestamp in hash element at /usr/pkg/sbin/amstatus line 1429, <AMDUMP> line 106. ** (process:13775): WARNING **: Use of uninitialized value $datestamp in concatenation (.) or string at /usr/pkg/sbin/amstatus line 1428, <AMDUMP> line 107. [...] Using /var/amanda/Daily/amdump.1 >From Sun May 12 03:25:00 CEST 2013 bar.salmi.ch:/ 0 14166k dump done (3:27:58), process terminated while waiting for writing to tape bar.salmi.ch:/ 0 no estimate bar.salmi.ch:/etc 0 1748k dump done (3:27:29), process terminated while waiting for writing to tape bar.salmi.ch:/etc 0 no estimate bar.salmi.ch:/usr 0 3k dump done (3:27:22), process terminated while waiting for writing to tape bar.salmi.ch:/usr 1 no estimate bar.salmi.ch:/var 0 72858k dump done (3:32:11), process terminated while waiting for writing to tape bar.salmi.ch:/var 0 no estimate [...] The rest of the amstatus(8) output looks ok. Are those Perl warnings and the "process terminated [...]" messages to be expected because amdump(8) has not been run since Amanda was updated, or is this a serious issue which should be fixed before running amdump(8)? TIA & cheers, Jukka -- This email fills a much-needed gap in the archives.