]> git.proxmox.com Git - proxmox-backup.git/commit - src/bin/pxar.rs
pxar: add functionality to pass exclude MatchPatterns on create
authorChristian Ebner <c.ebner@proxmox.com>
Tue, 22 Oct 2019 13:07:51 +0000 (15:07 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 23 Oct 2019 05:31:49 +0000 (07:31 +0200)
commit62d123e50a4e69a0176841f78bcc8be2100f84ef
treeceb813118ef6b3ec38a6dc4f3cea06eff9431837
parentba8165c607481605acf011d8bb0a437990af889a
pxar: add functionality to pass exclude MatchPatterns on create

This exposes the option to pass a list of exclude MatchPattern via the
'--exclude' option.
The list is encoded as file '.pxarexclude-cli' in the archives root directory.
If such a file is present in the filesystem, it is skipped and not included in
the archive in order to avoid conflicting information.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
src/bin/pxar.rs
src/client/pxar_backup_stream.rs
src/pxar/encoder.rs
tests/catar.rs