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

Reply via email to