Online backup and synchronization
Dropbox

© Spectral-Design, Fotolia
Have you ever dreamed of backing up your laptop data on the Internet and synchronizing multiple computers independently of the operating system? The Dropbox online service grants this wish with just a couple of mouse clicks.
One of the current trends for many companies is to store data on the Internet rather than just on local disks. In line with this, many companies offer online storage. Major players include Hewlett-Packard's Upline and Microsoft's Windows Live SkyDrive, and it probably won't be long until Google starts offering GDrive. All of these offerings allow users to store backups externally and to access their data stores via the Internet.
Besides the big names, numerous smaller providers populate this sector. Particularly for Linux users, the Dropbox [1] service is a good choice because the Startup client program is available for the free operating system. Dropbox does not use its own server farm to store the uploaded data; rather, it relies on web storage provided courtesy of Amazon's Simple Storage Service (S3) [2].
Dropbox developers maintain that they have taken suitable measures to guarantee data security. According to the Dropbox developers' blog, the provider's tools encrypt the data before uploading [3]. On this basis, Dropbox is confident that customer data is safe; however, the current crop of tools does not let users choose their own keys, which means that the operator theoretically has the option of viewing customer data.
Dropbox offers various approaches to storing or accessing data on the Internet. An Internet browser will let you do so from any machine, without having to install client software, but more convenient tools are also available (Figure 1). Dropbox offers software for Windows, Mac OS X, and Linux. This kind of flexibility makes smaller operators such as Dropbox more interesting than the big players. As of this writing, Dropbox is available as a public beta.
Customers who register now will be eligible for an extra 1GB of storage free of charge. After the official release, newly created Dropbox accounts will only be eligible for 1GB of free online storage and can purchase additional storage. Prices quoted in the developers' blog range from US$ 9.99 per month to US$ 99 per year for 50GB.
The Linux client includes a plugin for the Nautilus file manager and a daemon. Dropbox offers the plugin in the form of RPM and Debian packages for Fedora Core 9 and Ubuntu 8.04, both in 32- and 64-bit versions, which makes it easy to install Dropbox on these two distributions. The Nautilus plugin source code is also GPL'd, but only the Nautilus code so far. The service itself is released under a proprietary license.
After installing the package, you can relaunch Nautilus by typing killall nautilus. Then you will see an icon in the message box. The icon takes you to a program that automatically downloads a tool and installs the tool in ~/.dropbox-dist/dropboxd. Later, the service will synchronize the content of the ~/Dropbox directory with your webspace as a background task.
Graphical Display
To copy data to Dropbox, you just need to drop it into the ~/Dropbox folder. For each file, the file manager displays an additional icon to let you know the synchronization status. A check mark means that the file has already been uploaded to the server. Two rotating arrows mean that the software is currently uploading the file. If you edit a document that you copied to the remote machine previously, the software will only transfer the changes, which reduces the upload volume.
To synchronize data, you first need to register your own machine with Dropbox. After completing the installation, the software automatically launches a dialog in which you can either create a new account or add the machine to an existing account.
After registering your machine, the Dropboxd service handles synchronization. The program runs in the background and does not need a graphical interface, which makes it possible to use the software from a terminal or any desktop environment. The only drawback is the dependency on Nautilus.
To use the sync application with KDE or Xfce, you will need to install Nautilus (including all dependencies) via your distribution's package manager and then call Nautilus once only by typing nautilus --no-desktop. This gives you the Dropboxd service, and you will not need Nautilus again after this. The service works in the background; the graphical status display is only available to Gnome users.
Conclusions
After you complete the Dropbox setup, using the service is very convenient. The full set of folders and files on Dropbox is sent to each computer that you register. If you save new data in ~/Dropbox, the service automatically uploads them onto the server, and the Dropbox icon in the message box gives you a status update (Figure 2). If you have a narrowband Internet connection, you can click the icon to access the configuration tool and set the maximum bandwidth for uploads and downloads.
Dropbox can do more than upload and download files to and from an Internet repository. If you edit a file in the ~/Dropbox folder, the program will remember the previous version. If, at some later date, you need a previous version of the file, you can launch Nautilus, right-click the file in ~/Dropbox, and select Revisions (Figure 3). This takes you to a website where you can see and restore any previous version. In fact, you can even use the web front end to restore a deleted file.
Forum and blog postings by the developers confirm that the company is still very interested in Linux. For example, the roadmap includes KDE integration. The developers are also looking into a service that does not need a GUI, which would make Dropbox easier to use on servers. Despite the benefits of Dropbox, the ability to choose a key and make the application completely trustworthy would make it more appealing.
Infos
- Dropbox: http://www.getdropbox.com
- Amazon Web Services: http://en.wikipedia.org/wiki/Amazon_Web_Services
- Dropbox blog: http://blog.getdropbox.com/?p=13
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Find SysAdmin Jobs
News
-
CarbonOS: A New Linux Distro with a Focus on User Experience
CarbonOS is a brand new, built-from-scratch Linux distribution that uses the Gnome desktop and has a special feature that makes it appealing to all types of users.
-
Kubuntu Focus Announces XE Gen 2 Linux Laptop
Another Kubuntu-based laptop has arrived to be your next ultra-portable powerhouse with a Linux heart.
-
MNT Seeks Financial Backing for New Seven-Inch Linux Laptop
MNT Pocket Reform is a tiny laptop that is modular, upgradable, recyclable, reusable, and ships with Debian Linux.
-
Ubuntu Flatpak Remix Adds Flatpak Support Preinstalled
If you're looking for a version of Ubuntu that includes Flatpak support out of the box, there's one clear option.
-
Gnome 44 Release Candidate Now Available
The Gnome 44 release candidate has officially arrived and adds a few changes into the mix.
-
Flathub Vying to Become the Standard Linux App Store
If the Flathub team has any say in the matter, their product will become the default tool for installing Linux apps in 2023.
-
Debian 12 to Ship with KDE Plasma 5.27
The Debian development team has shifted to the latest version of KDE for their testing branch.
-
Planet Computers Launches ARM-based Linux Desktop PCs
The firm that originally released a line of mobile keyboards has taken a different direction and has developed a new line of out-of-the-box mini Linux desktop computers.
-
Ubuntu No Longer Shipping with Flatpak
In a move that probably won’t come as a shock to many, Ubuntu and all of its official spins will no longer ship with Flatpak installed.
-
openSUSE Leap 15.5 Beta Now Available
The final version of the Leap 15 series of openSUSE is available for beta testing and offers only new software versions.