How to configure Back in Time to back up over SSH

Do you need to back up the data on a remote server enabled for SSH? Try to go back in time.


Image: iStock Photo

Back In Time is one of the most flexible and easy to use GUI backup tools for Linux. It includes more than enough features to satisfy almost anyone who needs to back up the user's data. This set of functions includes the ability to perform backups on a remote server through SSH.

When backing up through SSH, you can be sure that the transfer of your data is securely wrapped within an encrypted channel, so the chances of someone tracking you are less likely than it is. what they would be if they were transferring through the FTP protocol.

VIEW: Recruitment kit: network administrator (TechRepublic Premium)

But how is this done? I'm going to show you.

What you need

You need some things to make this happen:

  • A user account with sudo privileges (to install Back In Time).
  • A server that runs the SSH daemon accepting connections.
  • Some data to back up.

That's it. Let's go to work.

Installing Back In Time

The first thing to do is install Back In Time. To do this, you must add the necessary repository. Open a terminal window and run the following command:

  sudo add-apt-repository ppa: bit-team / stable 

Once the repository is added, install Back In Time with the following two commands:

  ] sudo apt -get update
sudo apt-get install backintime-qt4 

With the application installed, you should find the startup program in your desktop menu. Open Back In Time and get ready to set up your first remote backup.

Creating an SSH key

In order to properly use Back In Time for SSH, you must create an encryption key and send it to the remote server. Here's how:

  1. Create the key by issuing command ssh -keygen .
  2. Copy the newly created key to the server with the command ssh-copy-id USER @ SERVER_IP (where USER is the remote user name and SERVER_IP is the IP address of the remote server).

Creating the remote backup

From the Back In Time profile editor ( Figure A ), select SSH from the Mode drop-down menu.


Figure A: The Back In Time profile editor.

Complete the necessary information for the remote host, adding a path to host the backup copy. From the Cipher drop-down menu, make sure that the default option is selected and that your private key is configured (it should be set by default). If the private key option is not set, it is most likely /home/USER/.ssh/id_rsa (where USER is your local user name).

Enter your SSH authentication key password in the text area of ​​the SSH private key (not your local or remote user password).

On the Include tab ( Figure B ), click Add File or Add Folder to include the data that will be backed up.


Figure B: Add files and / or directories for backup.

Add as many files and / or folders as necessary for your backup. Finally, scroll down and be sure to select the programming option you want (from every minute until weekly to customize). Once you take care of that, click on OK to save your settings in the default profile and close the window. If Back In Time does not appear again, open it from your desktop menu and then click the Take Snapshot button (the leftmost button on the toolbar – Figure C ).


Figure C: the main Back In Time window.

After pressing the Snapshot button, you should be informed that a snapshot is not necessary (since it will automatically execute one after saving the profile).

You can then secure the shell to the remote server to see that the snapshot, in fact, has been saved ( Figure D ).


Figure D: Our snapshot has been taken.

Congratulations, your Back In Time snapshot instance is now automatically configured (and regularly … if you programmed it as such) backup on a remote server, through SSH. Enjoy the security that your data is now safe, in the event of a disaster.

See also

For More Updates Check out Blog, Windows Softwares Drivers, Antivirus, Ms Office, Graphic Design Don’t Forget to Look Our Facebook Page Get Into Pc like us & follow on Twitter- @getinpc

Please Note: This content is provided and hosted by a 3rd party server. Sometimes these servers may include advertisements. does not host or upload this material and is not responsible for the content.