mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 23:02:49 +00:00
Update cheatsheets
This commit is contained in:
@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Delete versions older than 1 year from a backup stored on a WebDAV share:
|
||||
|
||||
`FTP_PASSWORD={{webdav_login_password}} duplicity remove-older-than {{1Y}} --force {{webdav[s]://user@hostname[:port]/some_dir}}`
|
||||
`FTP_PASSWORD={{webdav_login_password}} duplicity remove-older-than {{1Y}} --force {{webdav[s]://user@hostname[:port]/some_directory}}`
|
||||
|
||||
- List the available backups:
|
||||
|
||||
@@ -28,7 +28,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List the files in a backup stored on a remote machine, via SSH:
|
||||
|
||||
`duplicity list-current-files {{[-t|--time]}} {{YYYY-MM-DD}} scp://{{user@hostname}}/{{path/to/backup/dir}}`
|
||||
`duplicity list-current-files {{[-t|--time]}} {{YYYY-MM-DD}} scp://{{user@hostname}}/{{path/to/backup_directory}}`
|
||||
|
||||
- Restore a subdirectory from a GnuPG-encrypted local backup to a given location:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user