Re: Par2 not available on Ubuntu 20.04

Per Jensen via Dar-support <[email protected]> Fri, 08 Jul 2022 10:51:02 +0000
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
Hi Stefan,

I am using the par2 functionality with dar. If you are interested, take
a look at my github repo:

https://github.com/per2jensen/dar-backup

/Per


Den 08.07.2022 kl. 11.30 skrev sm8ps.dar-Gimgv0ypFf5BDLzU/[email protected]:
> Hello
>
> I have studied the documentation of Dar and wanted to start off with a
> first full backup with redundancy provided by Par2.
>
> However, the a command like
> dar --create INIT --fs-root=/tmp par2
> results in the error message
> Parse error: Given user target(s) could not be found: par2
>
> This happens on Ubuntu 20.04 with the packages dar (version 2.6.8) and
> par2 (version 0.8.1) installed and /etc/darrc containing the lines
> par2:
>     -B "/usr/share/doc/dar/examples/dar_par.dcf"
> and the file /usr/share/doc/dar/examples/dar_par.dcf
> containing the lines
> create:
>           -E '/usr/share/dar/samples/dar_par_create.duc "%p" "%b" %N %e %c 2'
> test:
>           -E '/usr/share/dar/samples/dar_par_test.duc "%p" "%b" %N %e %c'
>
> However, the folder /usr/share/dar is empty, and even manually copying
> the files* dar_par_create.duc and dar_par_test.duc from the source
> tar-ball into a sub-folder named samples (* made executable) did not do
> the trick.
>
> Is this a known problem with a solution? I have tried searching the
> mailing list archives but the key "par2 target not found" returns almost
> 4'000 pages dating back to the year 2002 and the first one containing
> "par2" in the title is from 2013; similar for "parchive" instead of
> "par2". I gave up and am hoping for some support from the list members.
> Thanks in advance!
>
> Stefan Mueller
>