Backup Files Through SSH on Ubuntu
Backing up files is very important because it protects you from hardware breaks, natural disasters or other errors. In this tutorial i will teach you how to use your ssh server to backup your files. This wonderful tool, called Deja Dup can backup
your files to remote servers such as FTP, SSH, WebDav and Windows Share. A very good and useful feature of this tool is the ability to encrypt your backups and password protect them. Security is very important and Deja Dup does this for you very well. If you want you can choose to not password protect your backup, but i do not recommend that to anyone. I introduced Deja Dup in a previous article and explained how to backup files in a local folder. You can find it here. You cand find the backup utility in the system settings like shown in Figure 1.
Why do i use ssh for backing up my files? I use ssh often because it is very secure and offers encryption. If someone or a third party tries to sniff my data while i am using ssh, ssh detects it and reports it to us.
Dejadup backup tool has a very user friendly interface and it organises everything in four panels. These four panels are the Overview panel, the Storage panel, the Folders panel and the Schedules panel. The Overview pan gives you information about your backup settings, such as your backup location, folders to backup or ignore, most recent backup and next automatic backup. As you can see from Figure 2, my backup settings under Overview panel show that i want to backup my home(oltjano) directory to a local folder, to my Desktop. We can not backup to another computer with such settings so we have to change them.
Storage panel allows us to choose the backup location. Since we want to backup files through ssh protocol, we go under Storage folder and choose SSH like shown in Figure 3.
Now we need to specify the server ip address, the port number, the folder in the server where our files will be backed up and the username of our ssh server. The default port of ssh service is 22, but maybe you do no use the default port so it is up to you to put a port number or not. If your ssh server is listening on port 22 you can leave the Port box empety. I prefer to put the port number, even if i use the default ssh port number. My configuration for ssh is shown in Figure 4.
After you have configured your settings under Storage panel it is time to choose folders you want to back up, edit Schedule settings and finish the backup process.
After you have choosen your folders you can choose how often you want to backup under Schedule panel like shown in Figure 7.
No more chit chat! Go under Overview panel, verify your settings and if you have done any mistake or want to make any change take your time and do the changes you want. If everything is ok then click Back Up Now. After that, deja dup will use your ssh client to request the ssh server and if this is your first time you login to the server through ssh a small dialog box will warn you like shown in Figure 8. If you like to continue click Login Anyway.
After you choose to Log in , the ssh server will ask you to type your password like shown in Figure 9.
After you are logged in a dialog box will appear and ask you if you want to password protect your backup or not. After that, the Deja Dup tool will start backing up and uploding to the server. I am gone now. Do not forget to share this post with your friends, family or on social sites.
Like us on Facebook
We need your assistance to stay live
This week Top Posts
- Top Things To Do After Installing Ubuntu 13.10 'Saucy Salamander' : Ubuntu 13.10 Saucy Salamander will be released on coming October 17th with many new salient featur...0 comments |
- Fedora 21 Scheduled For Release In October : For Fedora users, just keep calm and use Fedora 20 for now. Fedora Developers has announced that F...1 comment |
- How To Upgrade From Ubuntu 13.04 Raring To Ubuntu 13.10 Saucy Salamander : Ubuntu 13.10 Saucy will be released on October 17th. Hope it will come with lot of improvements and ...0 comments |
- Install LAMP Server (Apache, MySQL or MariaDB, PHP) On Ubuntu 13.10 : Updated January 12, 2014 LAMP is a combination of operating system and open-source software stack. ...0 comments |
- Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comments |
- DNS Server Installation Step by Step Using CentOS 6.5/6.4/6.3 : DNS, Domain Name System, translates hostnames or URLs into IP addresses. For example if we type www....0 comments |
- Fedora 21 Scheduled For Release In October
- Install Uget Download Manager In Ubuntu, Fedora, Debian
- Download Elementary OS ‘Luna’ Official Wallpapers
- Install Power Commands 0.1.5 On Ubuntu 14.04/13.10/12.10/12.04
- 5 Android Apps that’s Going to Make Running Your Business Less Stressful
- Puppet agent Install Using Script
- Install Corosync and Pacemaker On CentOS 6.5
- Install Fail2Ban On Ubuntu Server 13.04/13.10
- How To Install Google Chrome in Fedora 20, 19, 18
- How to surf using Tor Browser Bundle
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .