From b61a3eb7a4c264847d4e268acb02fbd435a6eed8 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Wed, 8 Feb 2017 10:38:27 -0800 Subject: [PATCH] Clean up backups documentation This adds the now required bup init command to the server to be backed up. Also remove now gone HPCloud backup server and fix quotes around command for catting public ssh key. Change-Id: I607a7c079b16d7f1e94d6b0888cd6e302a04f68f --- doc/source/sysadmin.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/source/sysadmin.rst b/doc/source/sysadmin.rst index c3c31cdd0d..7265618f49 100644 --- a/doc/source/sysadmin.rst +++ b/doc/source/sysadmin.rst @@ -218,9 +218,11 @@ To start backing up a server, some commands need to be run manually on both the backup server, and the server to be backed up. On the server to be backed up:: + sudo su - ssh-keygen -t rsa -f /root/.ssh/id_rsa -N "" + bup init -And then ''cat /root/.ssh/id_rsa.pub'' for use later. +And then ``cat /root/.ssh/id_rsa.pub`` for use later. On the backup servers:: @@ -238,7 +240,6 @@ and add this to the authorized_keys file:: Switching back to the server to be backed up, run:: ssh $BUPUSER@ci-backup-rs-ord.openstack.org - ssh $BUPUSER@ci-backup-hp-az1.openstack.org And verify the host key. Note this will start the bup server on the remote end, you will not be given a pty. Use ^D to close the connection