mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-11 12:05:35 +03:00
duplicity: remove bad options (#12057)
* duplicity: replace changed option "--file-to-restore" from commands * duplicity: remove invalid option "--use-new-style" from commands
This commit is contained in:
parent
41b7426b43
commit
d4115451e4
@ -10,7 +10,7 @@
|
||||
|
||||
- Esegui il backup di una directory in un server Amazon S3, facendo un backup completo ogni mese:
|
||||
|
||||
`duplicity --full-if-older-than {{1M}} --use-new-style s3://{{nome_bucket[/prefisso]}}`
|
||||
`duplicity --full-if-older-than {{1M}} s3://{{nome_bucket[/prefisso]}}`
|
||||
|
||||
- Elimina le versioni più vecchie di un anno da un backup salvato in un server WebDAV:
|
||||
|
||||
@ -26,4 +26,4 @@
|
||||
|
||||
- Ripristina una sotto-directory da un backup locale cifrato con GnuPG in una posizione precisa:
|
||||
|
||||
`PASSPHRASE={{password_chiave_gpg}} duplicity restore --encrypt-key {{id_chiave_gpg}} --file-to-restore {{percorso/relativo/sotto_directory}} file://{{percorso/assoluto/della/directory/di/backup}} {{percorso/della/directory/dove/ripristinare}}`
|
||||
`PASSPHRASE={{password_chiave_gpg}} duplicity restore --encrypt-key {{id_chiave_gpg}} --path-to-restore {{percorso/relativo/sotto_directory}} file://{{percorso/assoluto/della/directory/di/backup}} {{percorso/della/directory/dove/ripristinare}}`
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
- Backup a directory to Amazon S3, doing a full backup every month:
|
||||
|
||||
`duplicity --full-if-older-than {{1M}} --use-new-style s3://{{bucket_name[/prefix]}}`
|
||||
`duplicity --full-if-older-than {{1M}} s3://{{bucket_name[/prefix]}}`
|
||||
|
||||
- Delete versions older than 1 year from a backup stored on a WebDAV share:
|
||||
|
||||
@ -26,4 +26,4 @@
|
||||
|
||||
- Restore a subdirectory from a GnuPG-encrypted local backup to a given location:
|
||||
|
||||
`PASSPHRASE={{gpg_key_password}} duplicity restore --encrypt-key {{gpg_key_id}} --file-to-restore {{relative/path/restoredirectory}} file://{{absolute/path/to/backup/directory}} {{path/to/directory/to/restore/to}}`
|
||||
`PASSPHRASE={{gpg_key_password}} duplicity restore --encrypt-key {{gpg_key_id}} --path-to-restore {{relative/path/restoredirectory}} file://{{absolute/path/to/backup/directory}} {{path/to/directory/to/restore/to}}`
|
||||
|
Loading…
Reference in New Issue
Block a user