全量与增量到本地仓库
全量与增量到本地仓库
export PASSPHRASE='在安全位置保管的口令'
duplicity full /data file:///backup/dup
duplicity incr /data file:///backup/dup
duplicity collection-status file:///backup/dup恢复
恢复
duplicity restore file:///backup/dup /restore
# 恢复到指定时间点(如 3 天前)
duplicity restore -t 3D file:///backup/dup /restore对接 S3 等后端时使用对应 URL 形式(如 s3://bucket/prefix),凭据通过环境变量提供。