我正在使用双重性来备份我的一些文件。关于包含/排除模式,手册页有点令人困惑。我想备份以下内容:
/storage/include
/otherthings
Run Code Online (Sandbox Code Playgroud)
但不是
/storage/include/exclude
Run Code Online (Sandbox Code Playgroud)
包含文件目前看起来:
+ /storage/include
- /storage/include/exclude
+ /otherthings
- **
Run Code Online (Sandbox Code Playgroud)
双重性被称为如下:
/usr/bin/duplicity --include-globbing-filelist /Path/to/file/above / target
Run Code Online (Sandbox Code Playgroud)
它根本行不通。每次备份时,它还包括 /storage/include/exclude 中的文件。
duplicity ×1