mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 01:06:50 +00:00
docs: add auto compression example to borg create examples
This commit is contained in:
parent
0ec6c920b9
commit
3f16d91fd3
1 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,9 @@ Examples
|
||||||
# Even slower, even higher compression (lzma, N = 0..9)
|
# Even slower, even higher compression (lzma, N = 0..9)
|
||||||
$ borg create --compression lzma,N /path/to/repo::arch ~
|
$ borg create --compression lzma,N /path/to/repo::arch ~
|
||||||
|
|
||||||
|
# Only compress compressible data with lzma,N (N = 0..9)
|
||||||
|
$ borg create --compression auto,lzma,N /path/to/repo::arch ~
|
||||||
|
|
||||||
# Use short hostname, user name and current time in archive name
|
# Use short hostname, user name and current time in archive name
|
||||||
$ borg create /path/to/repo::{hostname}-{user}-{now} ~
|
$ borg create /path/to/repo::{hostname}-{user}-{now} ~
|
||||||
# Similar, use the same datetime format as borg 1.1 will have as default
|
# Similar, use the same datetime format as borg 1.1 will have as default
|
||||||
|
|
Loading…
Reference in a new issue