Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#56007 - [borg] error: unrecognized arguments
Attached to Project:
Community Packages
Opened by waitnsea (waitnsea) - Monday, 16 October 2017, 08:36 GMT
Last edited by Balló György (City-busz) - Saturday, 27 January 2018, 01:18 GMT
Opened by waitnsea (waitnsea) - Monday, 16 October 2017, 08:36 GMT
Last edited by Balló György (City-busz) - Saturday, 27 January 2018, 01:18 GMT
|
DetailsDescription:
With borg 1.1.0 (update since 2017-10-14) : Though listing and mounting still working well, create new daily archive isn't possible anymore Additional info: * package version(s) : 1.1.0-1 * config and/or log files etc. using this command which worked perfectly daily since 2017-06-01 borg create -v --stats --compression zlib,6 /media/bkp/my_name_bkp::my_name_{now:%Y-%m-%d} --exclude-from /home/my_name/.borg/exclusions /home/my_name I obtain : borg: error: unrecognized arguments: /home/my_name Steps to reproduce: launching daily Script as well as simple above command (both unmodified since June) |
This task depends upon
Closed by Balló György (City-busz)
Saturday, 27 January 2018, 01:18 GMT
Reason for closing: Not a bug
Saturday, 27 January 2018, 01:18 GMT
Reason for closing: Not a bug
borg create --help lists its options in the following order:
borg create [Options/Flags] ARCHIVE [PATH [PATH [...]]]
So, changing
borg create -v --stats --compression zlib,6 /media/bkp/my_name_bkp::my_name_{now:%Y-%m-%d} --exclude-from /home/my_name/.borg/exclusions /home/my_name
to
borg create -v --stats --compression zlib,6 --exclude-from /home/my_name/.borg/exclusions /media/bkp/my_name_bkp::my_name_{now:%Y-%m-%d} /home/my_name
should work.
I had the exact same problem.
Solved for me - french Wiki amended accordly