summaryrefslogtreecommitdiff
path: root/manual/en
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-08-15 15:09:50 +0300
committerLars Wirzenius <liw@liw.fi>2014-08-15 15:09:50 +0300
commita9583a4e957a6c5633c6f4d2900f17ea3ed7fa81 (patch)
tree7f2bc16e3c5a1a2a52320aeaa076c21de800ff25 /manual/en
parent88aca2c8ee146044a88931873c677d69a7354f1e (diff)
downloadobnam-a9583a4e957a6c5633c6f4d2900f17ea3ed7fa81.tar.gz
Expand on pull backups (set client name)
Diffstat (limited to 'manual/en')
-rw-r--r--manual/en/060-backing-up.mdwn18
1 files changed, 16 insertions, 2 deletions
diff --git a/manual/en/060-backing-up.mdwn b/manual/en/060-backing-up.mdwn
index 311f1174..16ccc5d2 100644
--- a/manual/en/060-backing-up.mdwn
+++ b/manual/en/060-backing-up.mdwn
@@ -210,8 +210,22 @@ instead: you run Obnam on a different machine, and read the live data
over the SFTP protocol.
To do this, you specify the live data location (the `root` setting, or
-as a command line argument to `obnam backup`) using an SFTP URL.
-That's all there is to it.
+as a command line argument to `obnam backup`) using an SFTP URL. You
+should also set the client name explicitly. Otherwise Obnam will use
+the hostname of the machine on which it runs as the name, and this can
+be highly confusing: the client name is `my-laptop` and the server is
+`down-with-clowns` and Obnam will store the backups as if the data
+belongs to `my-laptop`.
+
+It gets worse if you backup your laptop as well to the same backup
+repository. Then Obnam will store both the server and the laptop
+backups using the same client name, resulting in much confusion to
+everyone.
+
+Example:
+
+ obnam backup -r /mnt/backups sftp://server.example.com/home \
+ --client-name=server.example.com
Configuration files: a quick intro
----------------------------------