mirror of https://github.com/borgbackup/borg.git
Merge pull request #3054 from ThomasWaldmann/update-create-docs-1.1
Update create docs (1.1-maint)
This commit is contained in:
commit
fa66015cb3
|
@ -41,18 +41,21 @@ Examples
|
|||
# Backup a raw device (must not be active/in use/mounted at that time)
|
||||
$ dd if=/dev/sdx bs=10M | borg create /path/to/repo::my-sdx -
|
||||
|
||||
# No compression (default)
|
||||
# No compression (none)
|
||||
$ borg create --compression none /path/to/repo::arch ~
|
||||
|
||||
# Super fast, low compression (lz4, default)
|
||||
$ borg create /path/to/repo::arch ~
|
||||
|
||||
# Super fast, low compression
|
||||
$ borg create --compression lz4 /path/to/repo::arch ~
|
||||
|
||||
# Less fast, higher compression (N = 0..9)
|
||||
# Less fast, higher compression (zlib, N = 0..9)
|
||||
$ borg create --compression zlib,N /path/to/repo::arch ~
|
||||
|
||||
# Even slower, even higher compression (N = 0..9)
|
||||
# Even slower, even higher compression (lzma, N = 0..9)
|
||||
$ 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
|
||||
$ borg create /path/to/repo::{hostname}-{user}-{now} ~
|
||||
# Similar, use the same datetime format as borg 1.1 will have as default
|
||||
|
|
Loading…
Reference in New Issue