Re: Question about using --exclude
EricZolf <[email protected]> Sun, 23 Feb 2025 07:51:07 +0000
| Newsgroups | gmane.comp.sysutils.backup.rdiff-backup.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,=20 are you sure this is the right command? It should have source and target d= irectory, but this one has only target=2E Which version of rdiff-backup are= you using?=20 KR, Eric (too) On February 23, 2025 5:13:15 AM UTC, Eric Beversluis via Any discussion of= rdiff-backup <rdiff-backup-users@nongnu=2Eorg> wrote: >I'm trying to back up my home directory while excluding the /VirtualBox V= Ms directory=2E I came up with this new command that, according to the synt= ax instructions, should mean rdiff-backup would henceforth skip that direct= ory=2E > > rdiff-backup --api-version 201 backup=C2=A0 --exclude > '/home/eric/VirtualBox VMs' --include /home/eric > --exclude '**' /run/media/eric/backup > > >Yet, when I ran this command, it proceeded to backup the 'VirtualBox VMs'= folder=2E I thought I understood the syntax as saying that the --exclude F= older, coming before the --include /home/eric would take precedence and lea= ve Folder out of the /home/eric backup=2E > >What am I getting wrong here?