-1

I want to backup all homes of my lxc containers with duplicity and i use (commandline simplified to the problem):

duplicity --include '/data/lxc/**/rootfs/home' --exclude '/data/lxc'

which does not match the homes, while

duplicity --include '/data/lxc/oneofthecontainers/rootfs/home' --exclude '/data/lxc'

works.

further testing shows, that

duplicity --include '/data/lxc/oneofthecontainers/rootfs/home/**' --exclude '/data/lxc'

does not work either. The manpage of duplicity tells me first match wins and * and ** are allowed as wildcards, where ** matches everything and * only one path component.

4

1 に答える 1

0

なぜこれが機能しないのかはまだわかりませんが、ファイルリストとインクルード/--include-globbing-filelistエクスクルードの"+ "エントリ"- "で解決したところ、機能するようになりました。

于 2015-01-25T14:09:43.160 に答える