Exporting to Object Storage
Export files to an Object Storage bucket from a File Storage with Lustre file system.
On the first export for a link, all files in the Lustre file system are copied to the Object Storage bucket because everything is new. Items that existed in the bucket before the export are unchanged. For later exports, only files that are new or have been updated since the last job are copied - deletions aren't mirrored in either direction.
You can export data concurrently with other import or export jobs on the same Lustre file system when each job uses a different Object Storage link. Only one job can run at a time for a given link. If a job is already running for the selected link, the export request is rejected.
Wait until the sync job (import or export) is finished before you add, remove, move, rename, or edit any files or folders inside the folder being synced. Changing files while a sync job is in progress can lead to unexpected results, such as files being ignored or overwritten.
After you start an export, you can check its progress or cancel it at any time.
Using the Console
Using the API
Run the StartExportToObject operation with required attributes to start an export to Object Storage.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.
Using the CLI
Use the oci lfs object-storage-link start-export-to-object command and required parameters to export to Object Storage:
oci lfs object-storage-link start-export-to-object --object-storage-link-id <object_storage_link_ocid> [OPTIONS]For a complete list of parameters and values for CLI commands, see the CLI Command Reference.