Koozali.org: home of the SME Server

Can Affa backup a non SME Linux server?

Offline kevinb

  • *
  • 237
  • +0/-0
Can Affa backup a non SME Linux server?
« on: December 20, 2007, 05:25:40 AM »
Hello everyone,

I have been using Affa for our backups and have been very please with it. It is a very nice contrib.

I have two questions about Affa that someone may be able to answer.

1.)   I have setup an internal SME box to backup the production box and its working great. Now, can I move this box offsite and backup across the internet? Is it secure if I do so?

2.)   I would like to use the Affa box to backup a non-SME Linux server (Centos 5). I gave it a try and it failed when I attempted to send the public key to the Centos box with:
Quote
bash: /root/.ssh/authorized_keys2.8394: No such file or directory
/bin/mv: cannot stat `/root/.ssh/authorized_keys2.8394': No such file or directory
Sending public key to 192.168.1.2 failed.

Does anyone have any thoughts about this?

Thank you in advance for your help.


Kevin

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Re: Can Affa backup a non SME Linux server?
« Reply #1 on: December 20, 2007, 10:42:27 AM »
Kevin,

? Have you seen this post http://forums.contribs.org/index.php?topic=36499.msg168352#msg168352 

(Which btw is mentioned in the affa wiki )

Regards
Reinhold

............

Offline kevinb

  • *
  • 237
  • +0/-0
Re: Can Affa backup a non SME Linux server?
« Reply #2 on: December 20, 2007, 03:28:49 PM »
Yes I saw the link but I was not sure how the remote box made contact with the server. Via VPN, SShel, Telnet, Internet or?

Offline m

  • *****
  • 276
  • +0/-0
  • Peet
Re: Can Affa backup a non SME Linux server?
« Reply #3 on: December 20, 2007, 09:43:51 PM »

1.)   I have setup an internal SME box to backup the production box and its working great. Now, can I move this box offsite and backup across the internet? Is it secure if I do so?

Affa was designed for running backups over the internet.
It _is_ secure on the understanding that ssh password logins are _disabled_ on all servers which are reachable from the internet.

Offline m

  • *****
  • 276
  • +0/-0
  • Peet
Re: Can Affa backup a non SME Linux server?
« Reply #4 on: December 20, 2007, 09:47:23 PM »
Yes I saw the link but I was not sure how the remote box made contact with the server. Via VPN, SShel, Telnet, Internet or?
ssh only using private/public key authentication

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Can Affa backup a non SME Linux server?
« Reply #5 on: December 21, 2007, 03:26:54 PM »
Quote
bash: /root/.ssh/authorized_keys2.8394: No such file or directory
/bin/mv: cannot stat `/root/.ssh/authorized_keys2.8394': No such file or directory
Sending public key to 192.168.1.2 failed.
Make sure that "/root" exists on the target box - not all distros create /root by default. You may also need to change the home folder location for the root user on the CentOS box (I figured this out with Ubuntu, but didn't take any notes...)

Offline kevinb

  • *
  • 237
  • +0/-0
Re: Can Affa backup a non SME Linux server?
« Reply #6 on: December 21, 2007, 04:18:06 PM »
Thanks

Yes "/root" does exist. "/root/.ssh" does not.

I installed rsync via "yum install rsync".

do I need to do something else?


Kevin