Rclone as a helper for external backups
Browser or Terminal
After copy
or sync
actions, you can see in the browser whether the transfer was successful. Simply call the corresponding service's web front end (Figure 4). For a faster response, use the following command at the command line:
rclone lsd gdrv:/Pictures
This call tells Rclone to display the last action in relation to the specified folder.
For more information, use
rclone ls gdrv:/Pictures
which lists each transferred file and its size (Figure 5). If you omit the folder for both commands (assuming that you selected the 1
option for full access to cloud storage during configuration), Rclone will list all of the drive instance's folders or files.
Encryption Must-Have
As previously mentioned, any data you store on Google Drive should be encrypted to protect your privacy. Now that you know that Rclone is working as expected, it's time for automatic encryption during the upload [7].
Call rclone config
again, and select 9
to create a new remote of the type Encrypt/Decrypt a remote. The configuration is similar to before. In addition to passwords, you are also prompted to decide whether the system should encrypt the file and folder names (Figure 6). During the test, I named this remote secret
.
As the target, I specified gdrv:Images
and told Rclone to encrypt file names but not folder names. Then I used the command from the first line of Listing 3 to save the test data that I had previously deleted from the online storage for more clarity. After that, the encrypted file names were visible in the terminal (line 2), as well as in the browser (Figure 7).
Listing 3
Making Encrypted File Names Visible
Working Graphically
If you want to use Rclone with a graphical user interface (GUI), the Rclone Browser [8] front end lets you do so; it covers most of the Rclone functions (Figure 8). The program lets you upload and download data and mount Google Drive in your home directory, supporting many parameters. If several remotes are used, you manage them together within the GUI.
Rclone Browser can be found in the package sources of Debian and Ubuntu. However, if you have built Rclone yourself, you will also want to compile the latest version of Rclone Browser. The package manager will again try to set up the Rclone version from the repository together with the GUI, which will tend to lag behind the current state of development.
The GUI turned out to be bottleneck in the test. In tests over several days, Rclone Browser only achieved a little more than half the throughput that I achieved at the command line. I couldn't find an explanation for this. You should therefore always start a big initial upload via the terminal.
« Previous 1 2 3 4 Next »
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
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.