1.2 docs: update --prefix to --glob-archives
https://borgbackup.readthedocs.io/en/stable/quickstart.html#automating-backups
Warning: "--prefix" has been deprecated. Use "--glob-archives 'yourprefix*'" (-a) instead.
Also, we maybe should remove that final line-continuation backslash in the commands.
Hello @ThomasWaldmann , I'd love to take this up, but I can't find --prefix in the quickstart file. Could you please show me the file that is to be updated.
Also, I don't understand what you mean here: we maybe should remove that final line-continuation backslash in the commands.
@Mannuel25 did you look into the 1.2-maint branch (not: master)?
borg prune \
--list \
--prefix '{hostname}-' \
--show-rc \
--keep-daily 7 \
--keep-weekly 4 \
--keep-monthly 6 \
The last backslash there is not needed, because the command is not really continued on the next line (which is empty).
One change for prune, once for create.
@Mannuel25 did you look into the 1.2-maint branch (not: master)?
Oh, I didn't. I've seen it now. Thanks
borg prune \ --list \ --prefix '{hostname}-' \ --show-rc \ --keep-daily 7 \ --keep-weekly 4 \ --keep-monthly 6 \The last backslash there is not needed, because the command is not really continued on the next line (which is empty).
One change for
prune, once forcreate.
Got that. Thank you.
Is this still Open for contribution?
@i-m-karanagarwal sure, it is still open, just make a PR!
@i-m-karanagarwal sure, it is still open, just make a PR!
Hi @ThomasWaldmann , I thought I fixed this already
@Mannuel25 oops, yes, correct: https://github.com/borgbackup/borg/pull/7039
In master, a similar fix was done, so this is solved.