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
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 |
- How To Install Netflix In Ubuntu : Hi unixmen readers! How are you? In this article we will teach you how to install the desktop vers...1 comment |
- How To Configure Linux Clients To Authenticate Using OpenLDAP : This is the continuation of our previous tutorial. In our previous tutorial we learned how to instal...2 comments |
- 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 |
- Setup IT And Asset Management System With GLPI On Debian/Ubuntu : GLPI is the Information Resource-Manager with an additional Administration Interface. You can use it...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 |
- Manage Databases And Hosted Servers Remotely With DbNinja
- Install FrostWire 5.6.9 In Elementary OS ‘Luna’/ Ubuntu / Linux Mint
- Setup IT And Asset Management System With GLPI On Debian/Ubuntu
- How To Configure Linux Clients To Authenticate Using OpenLDAP
- How To Install Netflix In Ubuntu
- cowsay And fortune Combined Together
- How To Show Username On Panel In Ubuntu 13.04/13.10
- Setup DNS Server On openSUSE 13.1
- TeamViewer 9 Final Has Been Released!
- Twelve Vulnerabilities Have Been Fixed In Ubuntu 12.04, Time To Update
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .