Re: duplicity: error: no such option: --exclude /proc
Reto via Duplicity-talk <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.duplicity.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
On 05.02.25 10:02, Jeffrey Walton via Duplicity-talk wrote:
>
> Usage:
> duplicity [full|incremental] [options] source_dir target_url
> duplicity [restore] [options] source_url target_dir
> ...
> duplicity: error: no such option: --exclude /proc
Did by any chance the Bash version change?
Also your Bash array looks suspicious:
exclude_opts+=("--exclude /proc")
In line 162 and following:
https://github.com/weidai11/website/blob/master/systemd/bitvise-backup#L162
What I think is happening is that the argument is given as:
'--exclude /proc'
Also with the space in between. And there is no such option
'--exclude /proc'
Try to change you array to:
exclude_opts+=(--exclude /proc)
Also without the quotes.
And as others mentioned, it would be good to know what the actual
command was, so add a 'set -x' in line 183 in case further debugging is
needed.
best regards,
Reto
_______________________________________________
Duplicity-talk mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk