증분, 압축, 암호화 및 버전별 백업을 생성. 다양한 백엔드 서비스에 백업을 업로드할 수도 있음. 버전에 따라 일부 옵션을 사용하지 못할 수도 있음 (예: 2.0.0의
--gio
). 더 많은 정보: https://duplicity.gitlab.io.
FTP_PASSWORD={{ftp_로그인_비밀번호}} PASSPHRASE={{암호_비밀번호}} duplicity {{경로/대상/소스/디렉토리}} {{ftps://사용자@호스트명/타겟/디렉토리/경로/}}
duplicity --full-if-older-than {{1M}} s3://{{버킷_이름[/접두사]}}
FTP_PASSWORD={{webdav_로그인_비밀번호}} duplicity remove-older-than {{1Y}} --force {{webdav[s]://사용자@호스트명[:포트]/일부_디렉토리}}
duplicity collection-status "file://{{절대/경로/대상/백업/디렉토리}}"
duplicity list-current-files --time {{YYYY-MM-DD}} scp://{{사용자@호스트명}}/{{경로/대상/백업/디렉토리}}
PASSPHRASE={{gpg_키_비밀번호}} duplicity restore --encrypt-key {{gpg_키_아이디}} --path-to-restore {{상대/경로/복원된디렉토리}} file://{{절대/경로/대상/백업/디렉토리}} {{경로/대상/디렉토리/대상/복원/대상}}