v.23.7Improvement

Add Option to Disable Native Copy for S3 in Backup/Restore Settings

Add ability to disable native copy for S3 (setting for BACKUP/RESTORE allow_s3_native_copy, and s3_allow_native_copy for s3/s3_plain disks). #51448 (Azat Khuzhin).
Introduces the ability to disable native copy operations for S3 storage, controlled via new settings for backup/restore processes and S3 disks.

Why it matters

This feature solves compatibility or operational issues where native copy for S3 is undesirable. By disabling native copy, users gain more control over the data transfer method used during backup and restore operations involving S3, improving flexibility and reliability in specific environments.

How to use it

To disable native copy for S3 during backup or restore, set the allow_s3_native_copy setting to 0. For S3 and S3 Plain disks, set the s3_allow_native_copy setting to 0 in the disk configuration or query settings.