Synchronize cloud storage services on Linux with Rclone
Copying data between servers is the main job of the system administrator. Copy data must be accurate, error-free and accessible when necessary. Previously, administrators used Rsync to copy data between servers through Terminal but with the advent of cloud computing and cloud storage, data was stored on many different services with Hundreds of users, this is where the Rclone tool works.
Rclone has the same function as Rsync but can be used for many cloud storage. It is a Terminal-based utility that synchronizes folders and files on local systems and on other cloud storage services like Google Drive, OneDrive, Dropbox, Amazon, etc.
Set up Rclone
You can install Rclone from the website or from the repository of the main Linux distributions. This tutorial uses Ubuntu distro and installs Rclone via Terminal.
sudo apt install rclone
After installation, users need to make some changes by entering the following command:
rclone config
You will see the following screen appear:
It has many options that make users feel vague, but here we just need a new connection, so just choose n . Terminal will ask you to choose the hosting service to use. In this example use Google Drive.
Rclone will then ask if you want to set it up automatically, select Yes if you want to set it up automatically and click on the link that appears to log in to the service and authorize Rclone to view and manage the service.
The terminal will notify you when it is successful and ask if you want to continue and provide access information, then encrypt the connection and password.
With encryption settings, you can type the following command to list files in your cloud service. Note, you need to use the selected storage name, in this case Google. You can set it to anything you want, but it's easy to remember that you should name your company or brand, especially when there are multiple cloud storage accounts.
rclone ls Google:
This command will display all the files you have. If there are multiple files, you should search by ink, using the following command:
rclone lsd Google:
Use Rclone
You can now copy the file to the cloud memory by entering the following commands into Terminal:
rclone copy / path / to Google: Foldername
In this example, we will copy the screenshot for this tutorial into a folder called ' Toshiba ' in Google Drive. The screenshot below shows local files and files in the cloud memory. Change the path / to command to the folder you want to copy. Here is the command for this example:
rclone copy home / ubuntu / Pictures Google: Toshiba
Rclone can also delete files and folders. Rclone provides a fast and relatively safe way for users to back up the required files from Terminal
I wish you all success!
See more:
- 6 safe ways to backup and restore data on Windows 7 and Windows 8
- Instructions for basic steps to backup Outlook data
- How to backup Facebook data to your computer
You should read it
- How to add the cloud icon to the Windows 10 right-click menu
- The best 'cloud storage' data storage services today
- Introducing G Cloud - cloud storage application for Android
- Unlimited online data storage on Sendit.cloud
- Instructions for syncing extended folders into SkyDrive
- Where does the data on 'cloud' really save?
- Top 5 best cloud data storage service
- Is it good or bad for Google to store medical data in the cloud?
May be interested
- Does storing on 'cloud' become a new technology bubble?cloud hosting companies are attracting more capital from investors to prepare for a new competition.
- 7 best cloud storage services for backing up and sharing filesthe best way to store and share files is to use the cloud. however, there are so many cloud storage services available on the market that it can be difficult to choose the best option for your needs.
- Top 5 best cloud data storage serviceto meet the current technology development trend, there are many methods of data storage and protection. the following article introduces you to the top 5 best cloud data storage services.
- Share experience in selecting and using cloud services effectivelycurrent cloud services appear quite a lot, so we have quite a few options to use in normal life as well as for work. however, how much should one choose, how should they be coordinated so that the services cloud really serves can best be for us?
- How to install ownCloud on Linuxcloud storage must not be unfamiliar, but have you ever thought you could create your own archives? this article will show you how to create private cloud storage using owncloud application on linux.
- 6 best ways to protect your Dropboxdropbox offers you 2gb of free storage space, unlimited download bandwidth, easy to use, fast, stable and capable of working on multiple platforms from pc to mobile.
- Tencent offers cloud services of 10 TB capacity for freewhile other online storage services currently only offer '10 gb' of standard capacity, china's tencent in 2014 will provide 10 tb for free to users around the globe.
- Evaluation table of operating systems supporting cloud servicesthe use of cloud storage through services like dropbox, google drive, onedrive or icloud drive is no longer strange to us. however, for those who haven't used it yet, deciding on which platform is a very difficult problem when each service has its own advantages.
- 10 tips to keep cloud storage safe and securecloud storage has made it easy to sync files, share them, keep multiple versions of a file, etc. not only limited to backups, cloud storage has also completely replaced disk storage. physical storage for some users.
- 8 Cheapest Cloud Storage Providerslet's take a look at the cheapest online cloud storage options available. we'll look at prices both in absolute terms and per gigabyte (per month) so you can choose what's best for you.