summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2016-04-15 03:38:43 +0200
committerThomas Waldmann <tw@waldmann-edv.de>2016-04-15 03:38:43 +0200
commit43b4fda393b0f1f9c49c71306d15bd65fa4d655f (patch)
tree29b88e66d3eb197db4b1529319e65549bf5c31a9
parentbc854e3e64597bf9ead710d5749c798b226571ae (diff)
docs: fix confusing usage of "repo" as archive name
-rw-r--r--docs/quickstart.rst6
-rw-r--r--docs/usage.rst16
2 files changed, 11 insertions, 11 deletions
diff --git a/docs/quickstart.rst b/docs/quickstart.rst
index 15b8c75dd..1d15f5d23 100644
--- a/docs/quickstart.rst
+++ b/docs/quickstart.rst
@@ -134,17 +134,17 @@ or high compression:
If you have a fast repo storage and you want some compression: ::
- $ borg create --compression lz4 /path/to/repo::repo ~
+ $ borg create --compression lz4 /path/to/repo::arch ~
If you have a less fast repo storage and you want a bit more compression (N=0..9,
0 means no compression, 9 means high compression): ::
- $ borg create --compression zlib,N /path/to/repo::repo ~
+ $ borg create --compression zlib,N /path/to/repo::arch ~
If you have a very slow repo storage and you want high compression (N=0..9, 0 means
low compression, 9 means high compression): ::
- $ borg create --compression lzma,N /path/to/repo::repo ~
+ $ borg create --compression lzma,N /path/to/repo::arch ~
You'll need to experiment a bit to find the best compression for your use case.
Keep an eye on CPU load and throughput.
diff --git a/docs/usage.rst b/docs/usage.rst
index 6a59ef3ea..a9e5bda75 100644
--- a/docs/usage.rst
+++ b/docs/usage.rst
@@ -290,16 +290,16 @@ Examples
$ dd if=/dev/sdx bs=10M | borg create /path/to/repo::my-sdx -
# No compression (default)
- $ borg create /path/to/repo::repo ~
+ $ borg create /path/to/repo::arch ~
# Super fast, low compression
- $ borg create --compression lz4 /path/to/repo::repo ~
+ $ borg create --compression lz4 /path/to/repo::arch ~
# Less fast, higher compression (N = 0..9)
- $ borg create --compression zlib,N /path/to/repo::repo ~
+ $ borg create --compression zlib,N /path/to/repo::arch ~
# Even slower, even higher compression (N = 0..9)
- $ borg create --compression lzma,N /path/to/repo::repo ~
+ $ borg create --compression lzma,N /path/to/repo::arch ~
# Format tags available for archive name:
# {now}, {utcnow}, {fqdn}, {hostname}, {user}, {pid}
@@ -696,16 +696,16 @@ After the backup has completed, you remove the snapshots again. ::
$ # create snapshots here
$ lvdisplay > lvdisplay.txt
- $ borg create --read-special /path/to/repo::repo lvdisplay.txt /dev/vg0/*-snapshot
+ $ borg create --read-special /path/to/repo::arch lvdisplay.txt /dev/vg0/*-snapshot
$ # remove snapshots here
Now, let's see how to restore some LVs from such a backup. ::
- $ borg extract /path/to/repo::repo lvdisplay.txt
+ $ borg extract /path/to/repo::arch lvdisplay.txt
$ # create empty LVs with correct sizes here (look into lvdisplay.txt).
$ # we assume that you created an empty root and home LV and overwrite it now:
- $ borg extract --stdout /path/to/repo::repo dev/vg0/root-snapshot > /dev/vg0/root
- $ borg extract --stdout /path/to/repo::repo dev/vg0/home-snapshot > /dev/vg0/home
+ $ borg extract --stdout /path/to/repo::arch dev/vg0/root-snapshot > /dev/vg0/root
+ $ borg extract --stdout /path/to/repo::arch dev/vg0/home-snapshot > /dev/vg0/home
Append-only mode