"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
docs: rclone backend restore
kapitainskye66675d346a7
diff --git a/backend/s3/s3.go b/backend/s3/s3.goindex 6c0cf435c..07ed4c384 100644--- a/backend/s3/s3.go+++ b/backend/s3/s3.go@@ -4421,17 +4421,17 @@ to normal storage.Usage Examples:- rclone backend restore s3:bucket/path/to/object [-o priority=PRIORITY] [-o lifetime=DAYS]- rclone backend restore s3:bucket/path/to/directory [-o priority=PRIORITY] [-o lifetime=DAYS]- rclone backend restore s3:bucket [-o priority=PRIORITY] [-o lifetime=DAYS]+ rclone backend restore s3:bucket/path/to/object -o priority=PRIORITY -o lifetime=DAYS+ rclone backend restore s3:bucket/path/to/directory -o priority=PRIORITY -o lifetime=DAYS+ rclone backend restore s3:bucket -o priority=PRIORITY -o lifetime=DAYSThis flag also obeys the filters. Test first with --interactive/-i or --dry-run flags- rclone --interactive backend restore --include "*.txt" s3:bucket/path -o priority=Standard+ rclone --interactive backend restore --include "*.txt" s3:bucket/path -o priority=Standard -o lifetime=1All the objects shown will be marked for restore, then- rclone backend restore --include "*.txt" s3:bucket/path -o priority=Standard+ rclone backend restore --include "*.txt" s3:bucket/path -o priority=Standard -o lifetime=1It returns a list of status dictionaries with Remote and Statuskeys. The Status will be OK if it was successful or an error message