Re: duplicity: error: no such option: --exclude /proc
Thomas Laubrock via Duplicity-talk <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.duplicity.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Jeff, regardless of the duplicity version, without a duplicity command line, it is hard to help. The advantage of using an old version is that it has not been changed. You error message tells, that duplicity is launched with wrong arguments, so you should take a look into the script that generating the arguments. `--exclude` is not supported with many other operations of duplicity. Bye Thomas P.S. there are many ways to update duplicity out of the packages stream from debian. On 05.02.25 09:41, Jeffrey Walton wrote: > On Wed, Feb 5, 2025 at 3:37 AM Thomas Laubrock <[email protected]> wrote: >> Please share the duplicity command line which is effectively executed. Otherwise it is hard to guess what's going on. >> '--exclude' is a supported parameter. I assume an issue with the script. >> >> Keep in mind, that your duplicity Version is pretty old. > Yeah, that's what Debian provides. I have no control over it. > > Jeff > >> On 5 February 2025 09:02:53 CET, Jeffrey Walton via Duplicity-talk <[email protected]> wrote: >>> Hi Everyone, >>> >>> I'm working on Debian 12/Bookworm. I am trying to take a backup using >>> Duplicity 0.8.22. The backup script is located at >>> <https://github.com/weidai11/website/blob/master/systemd/bitvise-backup#L184>. >>> >>> When the script runs it produces an error: >>> >>> Usage: >>> duplicity [full|incremental] [options] source_dir target_url >>> duplicity [restore] [options] source_url target_dir >>> ... >>> duplicity: error: no such option: --exclude /proc >>> >>> Here are machine details: >>> >>> # command -v duplicity >>> /usr/bin/duplicity >>> # duplicity --version >>> duplicity 0.8.22 >>> >>> # lsb_release -a >>> Distributor ID: Debian >>> Description: Debian GNU/Linux 12 (bookworm) >>> Release: 12 >>> Codename: bookworm >>> >>> The script used to work. I don't recall any recent changes. >>> >>> Does someone see anything wrong with the script? >>> >>> Thanks in advance. _______________________________________________ Duplicity-talk mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/duplicity-talk