RE: amcheckdump xfsrestore errors
"Hugh E Cruickshank" <[email protected]> Thu, 6 Nov 2025 16:17:43 -0800
| Newsgroups | gmane.comp.archivers.amanda.user |
|---|---|
| Organization | Forward Informaiton Systems Inc. |
| Message-ID | <02ae01dc4f7b$efb41340$cf1c39c0$@com> |
From: Pieter Bowman Sent: November 6, 2025 14:49 > > After looking at the amenda sources and the command you found, there > appears to be a missing argument to the xfsrestore command. The > missing argument is a single trailing '-', which specifies that > xfsrestore reads from stdin. I suspect that either this functionality > was never tested/used or that the xfsrestore command on Linux has > changed. The place that this needs to be added is in > perl/Amanda/Extract.pm. There are two lines where xfsrestore arguments > are specified: > > "XFSDUMP" => [ $Amanda::Constants::XFSRESTORE, qw(-v silent) ], > "XFSDUMP" => [ $Amanda::Constants::XFSRESTORE, qw(-t -v silent) ], > > I'm pretty sure the lines should be: > > "XFSDUMP" => [ $Amanda::Constants::XFSRESTORE, qw(-v silent -) ], > "XFSDUMP" => [ $Amanda::Constants::XFSRESTORE, qw(-t -v silent -) > ], > > You can probably edit the perl file in your installation tree to test > to see if this corrects the amcheckdump behavior. Bingo! Give the man a cigar! That did it. It is now working correctly. Thank you one and all for the assist. Regards, Hugh -- Hugh E Cruickshank, Payroll Guardian, www.PayrollGuardian.com