Managing Folder Regions
As an administrator, you can manage the storage region setting of any folder within your Files.com site using the CLI App.
List All Folders Assigned to Storage Regions
files-cli behaviors list --filter-by="behavior=storage_region"
Apply a Storage Region to a Folder
files-cli behaviors create --path="path/to/folder" --behavior="storage_region" --value="VALUE"
In the above example, replace VALUE
with the value that corresponds to the storage region:
Region | Value |
---|---|
USA, Virginia | us-east-1 |
Australia, Sydney | ap-southeast-2 |
Canada, Toronto | ca-central-1 |
UK, London | eu-west-2 |
EU - Germany, Frankfurt | eu-central-1 |
Japan, Tokyo | ap-northeast-1 |
Singapore | ap-southeast-1 |
Update the Storage Region of a Folder
Find the ID of the behavior by listing all folders that are assigned to a storage region. Then use the ID in the following command:
files-cli behaviors update --id=12345 --value="VALUE"
Remove a Storage Region from a Folder
Removing a storage region from a folder will return the folder to inheriting the storage region of its parent.
Find the ID of the behavior by listing all folders that are assigned to a storage region. Then use the ID in the following command:
files-cli behaviors delete --id=12345
Get Instant Access to Files.com
The button below will take you to our Free Trial signup page. Click on the white "Start My Free Trial" button, then fill out the short form on the next page. Your account will be activated instantly. You can dive in and start yourself or let us help. The choice is yours.
Start My Free Trial