lundi 18 avril 2016

New backup host pc-lili

  1. Add the new host using the web GUI
  2. On the new host:
    1. sudo apt-get install openssh-server
  3. On base (backuppc server) :
    1. sudo apt-get update
    2. sudo apt-get upgrad
    3. sudo -iu backuppc
    4. cd /etc/backupp
    5. sudo cp -p existinghost.pl newhost.pl
    6. ssh-copy-id luc@newhost
    7. ssh luc@newhost
    8. (confirm key ID)
    9. login should proceed without a password request
  4. On the new host
    1. sudo -i
    2. cat ~luc/.ssh/authorized_keys >> ~root/.ssh/authorized_keys
    3. chmod 750 ~root/.ssh/authorized_keys
  5. On the backuppc server:
    1. sudo -u backuppc ssh -l root newhost
    2. (confirm key ID)
    3. login should proceed without a password request
  6. Login to the web GUI and check the new host config (select rsync as the XFER method for example)
  7. Start full backup using the web GUI