NOTICE: This Documentation is for JetBackup 4 for Linux.

Please CLICK HERE for the latest JetBackup 5 for Linux Documentation.

Rsync.net

Step 1 Create a Rsync account

  1. Create an account at http://rsync.net using one of the pricing plans from http://rsync.net/pricing.html.
  2. After filling up your details at https://www.rsync.net/signup/order.html wait for your account to be created and for rsync welcome email titled "Your rsync.net filesystem is ready".

Step 2 Generate SSH keys

Login to your Server using SSH:

SSH login

In your SSH console generate the SSH Keypair by running:

ssh-keygen -t rsa -f ~/.ssh/rsyncnet_rsa
Upload your public key by running the following commands.
On the first one please change the USER_ID and HOST_ADDRESS to the username and host address mailed to you from rsync.net.
On the second one, you will be asked to enter your Rsync.net password a few times.
JBRSYNCHOST=USER_ID@HOST_ADDRESS;
JBKEY=`cat ~/.ssh/rsyncnet_rsa.pub`; JBPK='/usr/local/jetapps/tmp/rsync-net-pk' && scp $JBRSYNCHOST:.ssh/authorized_keys $JBPK && grep "$JBKEY" $JBPK &>/dev/null || echo "$JBKEY" >> $JBPK && scp $JBPK $JBRSYNCHOST:.ssh/authorized_keys; rm -f $JBPK
After running those command please verify that your key was registered successfully by running the following command
ssh -i ~/.ssh/rsyncnet_rsa $JBRSYNCHOST ls
This command shouldn't ask for password and should print the ls output on the remote server.

Step 3 Create a backup destination

  1. Specify "Type" as "Rsync.net".
  2. Write a name for your destination.
  3. Write your remote hostname and account username as mailed to you from rsync.net.
  4. Write you private key: ~/.ssh/rsyncnet_rsa
  5. Click the "save" button.

An example configuration page for the destination:

create RsyncNet destination

Destination Name

A generic name for your internal ease of use, so it will be easier to recognize the backup destination roll, in case you have more than one.
Max length is 40 characters.


Backup Directory

This will be our starting point when accessing this destination.
There are two ways to get to each directory: Relative, Absolute
Let say your home dir is '/home'
Relative path ./ will point to the absolute path /home/USERNAME
- on the same principle FOLDER will be the remote user's home dir subdirectory /home/USERNAME/FOLDER.
Make sure that you always have the right permission to the path you're using.

Please make sure that your destination path is secure and has the appropriate privileges.
For more information click on How To Secure Local Backup Storage.

Free Disk Space Limit

This option will check if destination disk space reached the specified limit before it performs the backup. If you enable this option and available disk space is less than the amount specified, the system will not perform the backup.


Remote Host

The remote host to log in with. Your host address as mailed to you from rsync.net.


Port

Your remote port. Default port is 22.


Remote Username

The remote user to login with. Your username as mailed to you from rsync.net.


Private Key

Since we are using rsync for backups, we will need to set up access keys between the servers, so we can log in to the remote server without prompting for a password. If empty, it will be automatically created by JetBackup. To find a guide for that, search for ssh without password.


Connection Timeout

Timeout for the connection. The default value is 30 (The connection time out in seconds), you can increase this if the connection to the remote server is poor and you might face longer timeout issues.


Rsync Bandwidth Limit

Limit rsync bandwidth.


Rsync Prefer IPv4/IPv6

Choose your preferred IP version.