[Dar-support] Par2 not available on Ubuntu 20.04
For full, incremental, compressed and encrypted backups or archives
Brought to you by:
edrusb
|
From: <sm8...@wi...> - 2022-07-08 09:48:41
|
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
|