Backing Up to a Remote Server

snap2 will only back up to remote servers using public key authentication. rsync MUST be installed on the remote server, but not in daemon mode.

Snap2 can automatically set up ssh password-less (public key) authentication for you to a remote server running ssh.  If you prefer that a passphrase be used to lock your public key, you should create your key pair yourself before running snap2, and you will need to set up ssh-agent to tie your passphrase to your local user account.

To get ssh public key authentication set up, you will will need a backup user account on the remote server with shell access and a login password.  Enter the remote hostname and remote username on the BACKUP STORAGE tab of snap2.  Then open the ADVANCED SETTINGS tab and click the 'Remote Authentication' button.  You will be prompted for the password for the 'Username for Remote Login' you indicated on the BACKUP STORAGE tab.

If all goes well, after this is done you will be able to back up to the remote server.  At this point, ssh access to the remote server will not require a password.

Note that this procedure gives full access to your local user to the specified backup user account.  That is, anyone with access to your local machine will be able to log in to your backup user account with no password. To reduce any security risk this may introduce, the remote user account should have limited privileges.  It is NOT recommended that the remote account be root.  root access is not necessary for snap2 to save backups, even when snap2 is run as root on the local machine.

If you are in doubt about the security risks associated with public key ssh authentication to a remote server, I suggest you do not use snap2 to back up to a remote server.  I specifically disclaim all responsibility for any mishaps associated with backup to remote servers.

If you have any trouble with snap2's remote authentication setup, please report that here.  Note that you can always "manually" set up public key authentication.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br> <img> <alt> <h1> <h2> <h3>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is to prevent automated spam submissions.
  _____       _   _   _   _   _   _____         
|___ / | | | \ | | | | | | | ____| _ _
|_ \ _ | | | \| | | | | | | _| | | | |
___) | | |_| | | |\ | | |_| | | |___ | |_| |
|____/ \___/ |_| \_| \___/ |_____| \__, |
|___/
Enter the code depicted in ASCII art style.