Note the use of “google-drive”, which is the name we gave to this remote connection during the the rclone config sequence. “google-drive:LinuxDocs”: The destination directory in the remote storage.“/home/dave/Documents”: The local directory to we’re going to copy to the remote storage.This sets the frequency of update of the statistics to one second. –stats 1s: rclone can provide statistics on the transferred files.This value sets the limit for the number of retries. –low-level-retries 10: A low-level retry tries to repeat one failing operation, such as a single HTTP request.–retries 3: If there are this many errors, the entire copy action will be restarted.–timeout 300s: If a transfer becomes idle for this amount of time, it is considered broken and is disconnected.It sets the time that rclone will try to make a connection to the remote storage. –contimeout 60s: The connection timeout.Checkers monitor the transfers that are in progress., –checkers 8: How many “checkers” to run in parallel.–transfers 30: This sets the number of files to copy in parallel.–verbose: Gives information about every file that is transferred.–update: Skip any files that are on the remote storage that have a modified time that is newer than the file on the local computer.copy: Copy the files from the local computer to the remote storage, skipping over files that are already present on the remote storage.usr/bin/rclone copy -update -verbose -transfers 30 -checkers 8 -contimeout 60s -timeout 300s -retries 3 -low-level-retries 10 -stats 1s "/home/dave/Documents" "google-drive:LinuxDocs" You can call it whatever makes sense to you. Type (or copy and paste) this into a text editor and save it to your computer. We’re using this as a basic form of off-site backup. This is a one-way copy to the cloud it isn’t a two-way synchronization between your Google Drive and your local computer-although rclone can do that. The command we’re going to look at below copies files from your local computer to your Google Drive. That’s great, but it does mean there are a lot of options. The rclone application is very feature-rich. At the “Yes, Edit, Delete” menu type “y” and then press “Enter.”Īt the final menu, type “q” and press “Enter.”
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |