When CopyStorm writes data to an S3 partition, each Salesforce record is stored as one or more files in your S3 bucket. The location of every file is derived entirely from the Salesforce record ID. There are no date folders, job ID folders, or table name folders.
s3://[bucket]/[folder]/[chars 0β4]/[chars 5β6]/[chars 7β8]/[chars 9β10]/[chars 11β12]/[filename]The folder hierarchy is constructed by slicing the first 13 characters of the Salesforce record ID into five segments:
Level 1
Full example path for the example ID:
Each record produces at least one file and potentially more.
Main record file: Always present, contains all standard field values as XML:
Large field files: Created for any field whose value exceeds 5 KB (e.g. Body on ContentVersion). The main XML file references these by name; the data is stored separately:
Example for a file attachment:
0β4 (5 chars)
001ZZ
Level 2
5β6 (2 chars)
01
Level 3
7β8 (2 chars)
00
Level 4
9β10 (2 chars)
00
Level 5
11β12 (2 chars)
00
s3://my-bucket/my-folder/001ZZ/01/00/00/00/001ZZ010000000000AA.xml[recordId].xml[recordId].[fieldName].txt001ZZ010000000000AA.xml
001ZZ010000000000AA.Body.txtBucket name
Yes (configurable)
Folder prefix
Yes (configurable, may be empty)
AWS region
Configured separately, not part of the path
Salesforce record ID
Yes. Determines all subfolders and filename
Salesforce object/table name
No
Org ID
No
Backup date or job ID
No