Rclone:異地備援的好幫手




官網:
https://rclone.org/


Rclone 是一個針對檔案及目錄同步的指令型程式,它可支援的下列網路儲存服務:

Amazon Drive
Amazon S3
Backblaze B2
Box
Ceph
DigitalOcean Spaces
Dreamhost
Dropbox
FTP
Google Cloud Storage
Google Drive
HTTP
Hubic
Jottacloud
IBM COS S3
Memset Memstore
Mega
Microsoft Azure Blob Storage
Microsoft OneDrive
Minio
Nextcloud
OVH
OpenDrive
Openstack Swift
Oracle Cloud Storage
ownCloud
pCloud
put.io
QingStor
Rackspace Cloud Files
SFTP
Wasabi
WebDAV
Yandex Disk
The local filesystem

主要功能:
MD5/SHA1 hashes checked at all times for file integrity
Timestamps preserved on files
Partial syncs supported on a whole file basis
Copy mode to just copy new/changed files
Sync (one way) mode to make a directory identical
Check mode to check for file hash equality
Can sync to and from network, eg two different cloud accounts
(Encryption) backend
(Cache) backend
(Union) backend
Optional FUSE mount (rclone mount)

在ubuntu平台上如何取得rclone:
1.使用apt安裝,sudo apt install clone.
2.如果要安裝最新版本,可使用curl下載:
curl https://rclone.org/install.sh | sudo bash

查驗安裝版本:
rclone -V

設定備份轉存的網路儲存服務:
rclone config
這個功能主要針對將備份的目的檔,儲存在遠端的網路儲空間。
啟用此姑能,需要安裝MariaDB資料庫引擎支援:
若有頻繁備份的需求,rclone建議安裝MariaDB以提高檔案比對效率。
sudo apt install MariaDB-server MariaDB-client

查詢設定檔位置:
rclone -h

在Linux平台下,設定檔位置通常在:
~/.config/rclone/rclone.conf
接著編輯備份目標
[remote_server]
type = sftp
host = 101.102.123.123
user = user
key_file = /home/user/.ssh/id_rsa

備份指令:
rclone -v sync source/directory/ remote_server:/destination/directory/

留言

  1. 'The Matrix' is a follow-up to the 2016 ford focus titanium
    The Matrix is a follow-up to urban titanium metallic the 2016 ford focus titanium. by Timo · 2021 — nier titanium alloy The Matrix is a follow-up to the 2016 nano titanium babyliss pro ford focus titanium. by Timo · 2018 — The Matrix is a follow-up to the 2016 ford focus titanium. by Timo · 2019 — The titanium i phone case Matrix is a follow-up to the babyliss pro titanium 2016

    回覆刪除

張貼留言

熱門文章