Community Packages

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!
Tasklist

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
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
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
Comment by waitnsea (waitnsea) - Monday, 16 October 2017, 10:56 GMT
downgrading to 1.0.11 restores normal function
Comment by Benedikt Heine (bebehei) - Friday, 20 October 2017, 21:27 GMT
The change is quite small:

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.
Comment by waitnsea (waitnsea) - Saturday, 21 October 2017, 03:32 GMT
Thank you very much Benedikt
Solved for me - french Wiki amended accordly

Loading...