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 run only one import or export job at a time per file system. If many links belong to the same file system, their jobs can't run concurrently. However, jobs on different file systems can run at the same time.
Only update the content of a file when you're certain it isn't being imported or exported. 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.