Storage File
  • 06 Apr 2022
  • 9 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Storage File

  • Dark
    Light
  • PDF

Article Summary

Introduction

Cerebrata makes managing the data stored in your file storage relatively painless. Cerebrata provides a complete set of features with full fidelity with Azure File Storage REST API from managing file share-s to files and folder.
Packed with features like upload, download, copy, bulk operations on shares, one-click share restore and more, Cerebrata is essentially the one-stop shop for managing the file storage assets.

New Folder

Using Cerebrata, the user can easily create a Folder in a File Share.
Following are the steps to create a Folder in File Share:

  1. Open the File Share, select + New Folder
  2. Provide the Name of the Folder in the popup opened
  3. Click Save to a Folder in File Share

Storage Filess -New Folder

Upload Items

Cerebrata allows user to upload files and folders from the local storage.
Following are the steps to upload Files and Folders into File Share:

  1. Open the File Share, select Upload -> Upload Files/Folders.
  2. Select the Files/Folders to be uploaded and provide Chunk Size, Overwrite behaviour, Compress file extensions.
  3. Hit Upload to upload the Files/Folders

Storage Files -upload files or folder

Download

Consider if the need is to back up the File shares into a local machine. Cerebrata allows users to download the files/folders into the required folders.
Following are the steps to download files/folders in Cerebrata:

  1. Open the File Share, select the files/folders to be downloaded and Click Download
  2. In the popup opened, select the folder when the files/folders to be downloaded, provide Overwrite behaviour and hit Download to download the files/folders

Storage Files - download files

If a File Share is compressed with GZIP or DEFLATE compression algorithm, i.e., File share's content encoding is set as either "gzip" or "deflate", you can instruct Cerebrata to automatically decompress it after Download.

Delete File Share

User can delete either selected files/folders or all using Cerebrata.
Following are the steps to delete the files/folders from Storage File Share:

  1. Open the File Share, select the files/folders to be deleted and Click Delete
  2. It will open a popup and ask the user to enter the numbers in "VERIFICATION CODE" box into "CONFIRM CODE" box beside it.
  3. Once the Verification code is entered, Click Delete to delete the appropriate files/folders

Storage Queues - delete files or folders in  fileshare

Set File Content Properties

  1. Open the File Share, select the folders to set properties, click Set Properties then select Files and Click Set File Content Properties
  2. It will open a popup and ask the user to enter Cache-control, Control Type, Content-Encoding and Content-Language.
  3. Once the properties are provided, click Submit to set the properties

Storage Files - set content properties

Set File/Folder Attributes

  1. Open the File Share, select the folders to set attributes, click Set Properties and select Set File/Folder Attributes
  2. Select the attributes to be set and click Submit to set attributes

Storage Files - set file attributes

Set File/Folder Permissions

  1. Open the File Share, select the folders to set attributes, click Set Properties and select Set File/Folder Permissions
  2. Enter the required permissions to create on the files in Security Descriptor Definition Language and click Submit to set Permissions

Storage Files - set file or folder permission

Change Lease State

The Lease File operation creates and manages a lock on files in a File Share for write and deletes operations. Using Cerebrata, the user can change the lease state of a Storage file in a File Share. The lease duration can be fixed (between 15 to 60 seconds) or never expiring. Below are five modes Lease state available,
The Lease File operation can be called in one of five modes:

  • Acquire, to request a new lease.
  • Change, to change the ID of an existing lease.
  • Release, to free the lease if it is no longer needed so that another client may immediately acquire a lease against the blob.
  • Break, to end the lease but ensure that another client cannot acquire a new lease until the current lease period has expired.

Storage Files - change lease state

Add File Share

Cerebrata offers the capability to create File Shares themselves. It makes developers life more comfortable and saves time switching to Azure Portal to create a File Share.
Following are the steps to create a File Share:
1. Click + button in the File Share node. It will open a dialog box
2. Provide a File Share name and provide Share Quota and Access Tier as required
3. Click Save to add a Storage File Share

Storage Files - create file share

CORS Settings

CORS is an HTTP feature that enables a web application running under one domain to access resources in another domain. Cerebrate also offers the capability to manage CORS Rules from the tool itself. Using Cerebrata, User can create, delete, edit the CORS Rules
Following are steps to create the CORS Rule:

  1. Select the context menu of the File Share node and click CORS Settings
  2. It will open a popup showing list of CORS Rules that are already available. User can even the CORS Rules.
  3. Click New CORS Rule and provide appropriate information like Allowed Domains, Allowed methods, Allowed Headers, Exposed Headers, Max Age
  4. Click Ok to save the CORS Rule

Storage Files - cors settings

Analytics Settings

Azure Storage Analytics performs logging and provides metrics data for a storage account. You can use this data to trace requests, analyze usage trends, and diagnose your storage account issues. Cerebrata offers options to changes the settings for Azure Storage Analytics as well. Analytics Setting provides two types of settings. they are,
1. Hourly Settings: Hourly settings allows User to log the operations on an Hourly basis along with Retention policy
2. Minutes Settings: Minutes settings allows User to log the operations on every minute along with Retention policy

Storage Files - analytics settings

Delete All Shares

Consider when a QA team created multiple Storage File Shares to perform testing. When the testing is over, the QA engineer would need to delete all the File Shares in a Storage Account. Here comes Delete All Shares option in Cerebrata.
Following are the steps to delete all Storage File Shares:

  1. Select the context menu of the File Share node and click Delete All Shares
  2. It will open a popup and ask the User to enter the numbers in the "VERIFICATION CODE" box into "CONFIRM CODE" box beside it.
  3. Once the Verification code is entered, Click Delete to delete all the File Shares in a Storage Account

Storage Files - delete file shares

File Shares will be deleted through a background task. You can track the progress of this task by clicking on "Tasks" in the bottom left corner of the application window.

Manage Metadata

User-defined metadata consists of one or more name-value pairs that you specify for a File Share resource. You can use metadata to store additional values with the resource. Metadata values are for your own purposes only and don't affect how the resource
behaves. Using Cerebrata, the User can create, delete, edit the File Share metadata.
Following are the steps to create metadata:

  1. Select the context menu of the File Share and click Metadata
  2. It will open a popup "Share Metadata" that shows a list of existing Key-Value metadata
  3. Click New Metadata and Add Your Key Value Metadata and hit Save

Storage Files - metadata

Properties

For Storage File Share, the User can check the Storage File Share properties like the present lease state or when the File Share last modified.

Following are the steps to view the properties of a File Share.

  1. Select the context menu of the File Share and click Properties
  2. It will open a popup "File Share Properties" that shows the properties like Lease state, Last modified, ETAG and more.
    Storage Files - properties

Change Quota

Using Cerebrata, User can manage quota of a file share. In other words, you can increase or decrease the capacity of a file share.

Following are the steps to change File Share Quota:

  1. Select the context menu of the File Share and click Change Quota
  2. It will open a popup "Change File Share Quota" that provides an option to increase or decrease the File Share quota
  3. Once the Quota provided, Click Save

Storage Files - change quota

Change Access Tier

Similar to Quota, the User can even change the Access tier of the Storage File Share using Cerebrata.

  1. Select the context menu of the File Share and click Change Access Tier
  2. It will open a popup "Change File Share Access Tier" that provides an option to change the access tier to either Hot or Cold
  3. Once the Access Tier provided, Click Save

Storage Files - change access tier

Shared Access Signature & Permissions

Using Cerebrata, User can even manage Shared access Signature for File Shares. It also provides an option to define the access level that needs to be provided for a SAS Token. It also Permissions to manage the Access Policy of the SAS Token. Click here to know about Shared Access Signature

Following are the steps to create SAS Token and URL for Storage File Share by defining the granular access:

  1. Select the context menu of appropriate Storage File Share and click Shared Access Signature
  2. This will open a Popup "File Share Shared Access Signature (SAS)"
  3. Select the level of access that needs to be provided along with the Expiry date of the SAS Token

Storage Files - shared access signature

  1. Click Next to get the SAS URL and Token for the selected Storage File Share.
Note

Cerebrata also offers an option to restrict the IP Address and protocol using Advanced settings. Click More Settings in the left bottom of the dialog to open Advanced SAS Settings.

Export Files/Folders list

Consider if the User wants to export all the File Shares in a CSV format for a Local Backup. Using the Export File Share list, the User can easily export all the File Shares in a File Share.
Following are steps to export the File/Folders list:
1.Select the context menu of appropriate Storage File Share and click Export Files/Folders list
2. It will ask User to select the Folder to which the File Share list needs to be exported
3. Once the Folder is selected, choose the Properties that need to be exported along with Name, URL, Type, Size.
4. Clicking "Export" will trigger a Background Task to export the list of File Shares available in a CSV format.

Storage Files - export file or folders list

Manage Snapshots

File share snapshot created a read-only copy of a file share when the snapshot was taken. Cerebrata provides comprehensive functionality to manage file share snapshots. It is also possible to restore files and folders from a file share snapshot.
Following are steps to manage Snapshots for File Share:

  1. Select the context menu of the appropriate File Share, and click Manage Snapshots
  2. Click New Snapshot to create a new snapshot for the selected File Share

It will create a snapshot of File Share with URL and Identifier as shown below:

Storage Files - manage snapshot

Delete File Share

Consider when a QA team created a Storage File Share to perform testing. When the testing is over, the QA engineer would need to delete that File Share Container in a Storage Account. Here comes Delete option in Cerebrata.
Following are the steps to delete a Storage File Share:

  1. Select the context menu of the appropriate File Share and click Delete
  2. It will open a popup and ask User to enter the numbers in "VERIFICATION CODE" box into "CONFIRM CODE" box beside it.
  3. Once the Verification code is entered, Click Delete to delete the Storage File Share

Storage Files - delete file shares


Was this article helpful?

What's Next