> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/miria-4.6/admin-guide/getting-started/organise-repositories.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Organise repositories

A repository is a centralized storage location to preserve and manage data for long-term\
retention. This chapter explains how to structure data within repositories Miria.

## Repository Types

There are two types of repositories:

* **Archive**. The process of archiving involves moving data from one location to another\
  location for long-term retention. Data archives are classified in folders and sub-folders that you can organize at your convenience.
* **Backup**. A backup consists of copying data to a repository with the intent to keep the\
  original data in its current location. Backups are useful if the original data are lost or\
  corrupted and you want to restore it to a certain point in time.

## Repository Organization

When you log in to the Web Interface, it displays the projects and repositories that are shared with you and other users.

* Projects Miria provides an organization tool to group repositories into projects. They can\
  be accessed by multiple users.
* Repositories A repository contains folders and sub-folders, in which directories and files\
  are archived. The administrator may define one or multiple repositories that belong to a\
  user and can only be accessed and managed by its owner.

### Folders and Sub-Folders

Folders and sub-folders are used to organize archived data in a file tree structure. Repositories are represented by a blue folder icon.

You can both manually create and organize folders to classify your archived data. Folders can also be generated by automatic archiving tasks set up by the Administrator, or by external tools.

### Archived Directories and Files

Archived directories and files are located in repository folders. When you explore a repository, the archived files are represented by an icon indicating their application. You recognize directories by a yellow folder icon.

## Manage Repositories

When exploring repositories, various object options are accessible.

When holding the mouse pointer over an object, you can perform multiple operations using the button (<mark style="color:blue;">Figure 9</mark>), such as:

* Archive data directly in the **Easy Move** interface.
* View and retrieve the instance of a file.
* View and manage metadata on an object.
* Perform a search by criteria on an object.
* Retrieve data at a specific date by using the time navigation.

The number of options depends on the selected object (file, directory, or folder) and the\
permissions you have on that object.

The number of options depends on the selected object (file, directory, or folder) and the\
permissions you have on that object.

Alternatively, you can select and drag folders and directories to change their location in the repository. When browsing a repository, you can select an item by clicking the item. To display the content of the selected item, double-click the item.

<figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FWXQoQo6gar2X7ADbbamF%2Fimage.png?alt=media&amp;token=bf8d9d62-e1a8-46d5-88fc-f31b14f2b040" alt=""><figcaption></figcaption></figure>

### Add Repository

If you are a super user, you can follow the steps below to add a repository and use the quota management.

1. In the Web Interface, click the **Repositories** tab.
2. Click the **+New repository** button. A new window opens.
3. Enter the new repository name.
4. Select the repository owner in the drop down list.
5. Select a data mover mode, among the following options:
   1. Archiving (default)
   2. Backup
   3. By setting
6. Click the **quota management** toggle to activate it. It enables you to manage a quota at the repository level to put a limitation and guarantee that a set of users cannot overpass the predefined value.
7. Select a value and a unit (GB, TB or PB). If you set it to 0, it means archiving is forbidden. If the quota is exceeded, archiving isn't possible anymore, the jobs status will be on error. It will be possible to see the cause in the general information of the job.
8. Confirm with **New**.

{% hint style="info" %}
You can still set the quota management on an existing repository when you click the button to edit it.
{% endhint %}

### Add Folder

1. In the Web Interface, click the **Repositories** tab.
2. Click on a repository.
3. Explore the repository to highlight the object and click the **Add folder** <img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FSpu4VxTxH6qLHKra9eYc%2Fimage.png?alt=media&amp;token=bc7a9e4b-b00e-41aa-9e54-6078fa197c6c" alt="" data-size="line"> button.
4. Type a folder name.
5. Confirm with **Enter**.

### Rename Object

1. In the Web Interface, click the **Repositories** tab.
2. Select a repository.
3. Explore the repository to highlight the object and click the **Rename** ![](https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FU1Ed76FpHh6PdvRTetbL%2Fimage.png?alt=media\&token=68b0924b-e1d8-4c9e-98a8-1825334f8fd1) button.
4. Type a new name for the object.
5. Confirm with **Enter**.

### Delete Object

1. In the Web Interface, click the **Repositories** tab.
2. Select a repository.
3. Explore the repository to highlight the object and click the **Delete** button.
4. Confirm to delete the object.

### Permissions on the Repositories

The permissions enable you to grant or deny permissions to individual users, user groups, or overall groups to perform actions on a repository.

To access to the permissions, click the Repositories tab, in the repositories list, click the button of one of them and select Permissions. Here you have access to all the permissions created.

**To create a new permission on a repository**

1. Click the button **+ NEW PERMISSION**. A pop-up appears.
2. Click on the drop down list and select a user or a users group. Click **NEW PERMISSION** to validate.
3. Click **Save changes.** The new permission is created, you can now set it.

The interface is divided in two parts:

* **Users and Groups:**\
  Lists all the users and groups for which permissions has been created. Select any of them for which you want to set permissions.
* **Permissions:**\
  Shows all the available permissions for the corresponding user or users group.

The permissions that you can set, depending on the user or users group, are the following:

* Open
* Archive
* Retrieve
* Add a folder
* Rename a folder
* Delete a folder
* Move a folder
* Rename an object
* Delete an object
* Move an object
* Modify file extension
* Manage metadata
* Move a folder to another repository
* Administration
* Validate retention jobs.

To do so, select each time either Inherit, Deny or Allow. Or select one of those options next to the first line Apply to all.

{% hint style="info" %}
The denial of a permission at any level, takes precedence over acceptance.\
If you select Inherit, the values will be those previously set or set by default in the settings
{% endhint %}

### Manage Metadata

Metadata are information about data that is applied to objects during the archiving process or that has been added manually. You can directly view and manage associated metadata from the contextual menu of your repository.

**To view and manage metadata**

1. In the Web Interface, click the **Repositories** tab.
2. Select a repository.
3. Explore the repository to highlight an object and select > **Manage metadata**. The associated metadata are displayed (<mark style="color:blue;">Figure 10</mark>).

<figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FSbTB2A7UWg3rPDxUj6PM%2Fimage.png?alt=media&amp;token=b357e9da-5c65-481e-bd5a-cbf640fb91a1" alt=""><figcaption></figcaption></figure>

4. If needed, modify or remove the associated metadata.
5. If needed, select other metadata (<mark style="color:purple;">Figure 11</mark>):

   a. Expand the tree and select a metadata.

   b. Click **Add**. Repeat this for each metadata you want to include.

   <figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2F3fruk53EC5yTL54mFvJ6%2Fimage.png?alt=media&amp;token=f6092bbc-caec-46fe-a96d-5de781b6d8eb" alt=""><figcaption></figcaption></figure>
6. Click **Validate** to save the modifications.

For more details about how to manage metadata, see the section <mark style="color:blue;">Metadata</mark>.

### Applying Metadata to Repositories

This discussion assumes that you have already created the repositories.\
Once you have created the range of metadata that will be available for use within the Miria\
instance, you can assign these metadata a value and associate them with repositories,\
repositories folders, objects, or instances.

You can create associations between metadata and repositories manually, using either of these methods:

* Associate metadata with objects when they are selected.
* Associate metadata with repositories, or with objects and instances that have already been archived.

**To define setting of metadata values on objects for archiving**

1. Click the **Easy Move** tab.
2. Select a platform or a repository to archive, and a target.
3. Click the **+ADD** button.
4. Click **Validate the basket.**
5. Click **Yes** to validate your basket. A new pop-up appears, enter the values for the metadata that are set as **Mandatory**. You have to complete the Metadata that were set as mandatory. You have to do so every time you perform an archiving. See [<mark style="color:blue;">Metadata</mark> ](#manage-metadata)to know how to set a metadata on mandatory.

**To apply metadata to repositories and objects**

1. Select the **Repositories** tab.
2. Click on one of the repositories to open it.
3. Select the repository, or one of the folders or objects in it by clicking the button.
4. Click **Manage metadata.**
5. Select a metadata and click **ADD**. You can select as many metadata as you want.
6. Select a value for each metadata.
7. Click **Validate to add** them to the repository or to the object(s) selected.

**To apply metadata to a specific instance of an object**

1. Select the **Repositories** tab.
2. Click on one of the repositories to open it.
3. Click the button of one of the objects and select Instance. The list of instances is displayed, ordering by date the past versions of the object.
4. Click an instance button **Manage metadata.** The manage metadata pane opens. It enables you to view and manage existing metadata on this specific instance, but also to add new metadata.
5. Select metadata in the arborescence and click **ADD** to add a new one.
6. Set a value for each metadata that you add, or change the value of the existing metadata if needed.
7. Click **Validate** to finish the procedure.

### Manage Instances

Objects can be archived several times under the same name and the same location. These versions are called instances. You can view details about each instance archived in the Miria Web Interface.

**To obtain information on archived objects and storage details**

1. In the Web Interface, click the Repositories tab.
2. Select a repository.
3. Explore the repositories to highlight an object and select > Instance. The following information is displayed:
   1. Archiving date/Name Specifies the instance archiving date and time and the storage manager associated with the instance.
   2. Type Identifies the archived object.
   3. Date of deletion Indicates the deletion date from the file system.
   4. The Instance Details are displayed on the right.
4. Expand the archiving instance to see the storage that hosts the archived files and directories. You can click the storage to access the Session Details <mark style="color:blue;">(Figure 12).</mark>

<figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2F4GACimDttG9wuJZiJ785%2Fimage.png?alt=media&amp;token=1a83982c-3c47-40ab-b2ba-37b3442c0923" alt=""><figcaption></figcaption></figure>

The **Instances** interface lets you:

* Perform a retrieve in the **Easy Move** interface by clicking the **Retrieve** <img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2Fr6fogpl7Ob8GnfsBHbfD%2Fimage.png?alt=media&amp;token=88e72057-a76e-4b2b-95ae-ed244cd4eea9" alt="" data-size="line"> button.
* Preview an archived video asset file and perform a partial retrieve.
* Manage and view metadata.
* Return to the repositories by clicking the arrow in the top right corner.

**Retrieve Instances**

You can retrieve the latest instance of an archived file, directory, folder, or any instance by selecting it from a list of instances. To retrieve a folder, you also have the possibility to retrieve the instance on a specific date.

**To retrieve an instance of a file or directory**

1. In the Web Interface, click the **Repositories** tab.
2. Select a repository.
3. Explore the repository, choose the object you want to retrieve and:

   • Select <img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FMILFMlpfSPxPqpIHxUAE%2Fimage.png?alt=media&amp;token=cc0bde85-d0a9-446d-8517-c8bb87cd67b1" alt="" data-size="line"> **> Retrieve last instance**. Continue with step 7 of this procedure.

   Or

   • Select <img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FMILFMlpfSPxPqpIHxUAE%2Fimage.png?alt=media&amp;token=cc0bde85-d0a9-446d-8517-c8bb87cd67b1" alt="" data-size="line"> **>** **Instance**. The **Instances** interface is displayed. You can expand an instance to see more details
4. Select the archiving instance to retrieve. The corresponding instance details are displayed to the right of the instance.
5. If needed, click the **Manage metadata** button to view or modify metadata.
6. Click the **Retrieve instance** button.
7. Select whether you want to retrieve at new, original, or default location on the window that just opened (<mark style="color:blue;">Figure 13</mark>).

   <figure><img src="https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FM9nelW0hVKbtBgxM2DlH%2Fimage.png?alt=media&amp;token=3d9ddb15-89f4-4b69-a193-5c132c914d66" alt=""><figcaption></figcaption></figure>
8. To choose a new location, select **Retrieve at new location.** The **Easy Move** interface is displayed and indicates the path to retrieve the instance (<mark style="color:blue;">Figure 14</mark>).
9. In the right field, select Platform as target type and choose your target.
10. Move the object:

    • Click **Add**.

    **Or**

    • Drag the object from the source to the desired location in the target.
11. Validate the basket. The retrieval job is launched.
12. Click the Jobs tab to verify the job progress.

**To retrieve an instance of a folder on a specific date**

1. In the Web Interface, click the **Repositories** tab.
2. Select a repository.
3. Explore the repository, choose the folder you want to retrieve and click > **Retrieve an instance.**
4. In the pop-up window, specify an archiving date and time. Click on **Validation**. The **Easy Move** interface is displayed and indicates the path to retrieve the instance.
5. In the right field, select **Platform** as target type and choose your target.
6. Move the object:

   • Click **Add**.

   Or

   • Drag the object from the source to the desired location in the target.
7. **Validate the basket.** The retrieval job is launched.

**Instance Details**

Check the following overview (<mark style="color:blue;">Table 7</mark>) for information about the instance details.

<table><thead><tr><th width="190.33331298828125">Property</th><th>Description</th></tr></thead><tbody><tr><td><strong>Archiving date</strong></td><td>Date and time the file or directory was sent to the archive</td></tr><tr><td><strong>MIME type</strong></td><td>Specifies the MIME type of the archived file which is a two-part identifier of file formats, for example: <strong>audio/mpeg</strong>, <strong>video/quicktime</strong>, or <strong>text/plain</strong>.It is a more reliable indicator of file format than the file extension. This property displays only if the administrator has configured Miriato recover it.</td></tr><tr><td><strong>File size</strong></td><td>Size of the file or directory.</td></tr><tr><td><strong>Creation date</strong></td><td>Date the file or directory was created, independent of the archive.</td></tr><tr><td><strong>Last update</strong></td><td>Last time the file or directory was modified, independent of the archive.</td></tr><tr><td><strong>Last access</strong></td><td>Last time the file or directory was consulted without modification, independent of the archive.</td></tr><tr><td><strong>Owner user</strong></td><td>User who owns the file or directory.</td></tr><tr><td><strong>Owner group</strong></td><td>Group of the user who owns the file or directory.</td></tr><tr><td><strong>Original location</strong></td><td>Original location of the file on the user’s machine. If the file was archived from a network drive, this displays the path from the network drive (e.g., <strong>X:\Data\MyData</strong>).</td></tr><tr><td><strong>Global path</strong></td><td>Global path of the file original location.</td></tr><tr><td><strong>File path on source</strong></td><td>File original location on the primary storage.</td></tr><tr><td><strong>Digest type during archiving</strong></td><td>Type of digest that is calculated on the file at the moment of archiving on the storage when performing multiple writing. It verifies whether the file content is the same on all storage (i.e., <strong>[None]</strong>, <strong>MD5</strong>, <strong>SHA-1</strong>, <strong>SHA-256</strong>, <strong>SHA-384</strong>, or <strong>SHA-512</strong>).</td></tr><tr><td><strong>Digest during archiving</strong></td><td>Value of the above digest, if this was used.</td></tr><tr><td><strong>Link target</strong></td><td>Path of the target file/directory to which the link points on the source disk. Displays only if the archived object is a symbolic link.</td></tr><tr><td><strong>Alternate stream</strong></td><td>Indicates whether the alternate streams (i.e., file attributes, rights, etc.) are archived in this instance. Possible values are <strong>Yes</strong> or <strong>No</strong>.</td></tr></tbody></table>

**Session Details**

Check the following overview (Table 8) for information about the session details. The displayed information varies depending on the storage manager type.

<table><thead><tr><th width="265">Property</th><th>Description</th></tr></thead><tbody><tr><td><strong>Storage manager type</strong></td><td>Type of storage manager used (e.g., Miria File Storage One To One etc.).</td></tr><tr><td><strong>Storage manager</strong></td><td>Name of the storage manager as configured in Miria.</td></tr><tr><td><strong>Storage manager container</strong></td><td>Name of the storage manager container as configured in Miria.</td></tr><tr><td><strong>Compression format</strong></td><td>See the Miria Administrator's Documentation for details on compression.</td></tr><tr><td><strong>Relative file path</strong></td><td>Defines the location that is relative to the current directory or folder.</td></tr><tr><td><strong>Stream info</strong></td><td>Stream ID used to identify which stream the file is in. You can click on <strong>Stream info</strong> then the media name to view detailed media information.</td></tr><tr><td><strong>Start object offset</strong></td><td>Information used by Miria to locate the file on tape.</td></tr><tr><td><strong>Start data offset</strong></td><td>Information used by Miria to locate the file on tape.</td></tr><tr><td><strong>End object offset</strong></td><td>Information used by Miria to locate the file on tape.</td></tr><tr><td><strong>End data offset</strong></td><td>Information used by Miria to locate the file on tape.</td></tr><tr><td><strong>Start alt. stream offset</strong></td><td>Information used by Miria to locate the file on tape.</td></tr><tr><td><strong>End alt. stream offset</strong></td><td>Information used by Miria to locate the file on tape.</td></tr><tr><td><strong>Retention</strong></td><td>Name of the retention period associated with the repository where the file is stored.</td></tr><tr><td><strong>Retention date</strong></td><td>Date and time of the end of retention period.</td></tr><tr><td><strong>Deduplication domain</strong></td><td>Name of the deduplication domain as configured in Miria.</td></tr><tr><td><strong>Digest type</strong></td><td>Type of the deduplication digest that is calculated at archiving time to verify that the new file to be archived is unique (<strong>SHA-1</strong>, <strong>SHA-256</strong>, <strong>SHA-384</strong>, <strong>SHA-512</strong>, or <strong>Filename/Size</strong>).</td></tr><tr><td><strong>Digest</strong></td><td>Value of the deduplication digest, if this was used.</td></tr><tr><td><strong>Reference count</strong></td><td>Number of times a file with the same digest has been archived.</td></tr></tbody></table>

### Repository Report Task

A repository report task generates a PDF report with details on a repository, or on a folder or directory of a repository.

**To generate and view a repository report**

1. In the repository details page, choose the root of the repository or a specific folder/directory.
2. Click the ![](https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FEyzoh3iPbJzS7ajAzQcl%2Fimage.png?alt=media\&token=66a65d1f-1891-49c1-9d30-27510c6f34ed) button and select **Repository report task**. A pop-up window will display the list of repository report tasks previously configured in **Tasks**.
3. Select the task that will serve as the template for the repository report and click **Start**.
4. To view the report, navigate to the **Jobs** tab in the left pane.
5. Click the right arrow of the completed task to display its sub-job.
6. Click the ![](https://2203078701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw5h0P6nnTAuQFNt2ofjn%2Fuploads%2FEyzoh3iPbJzS7ajAzQcl%2Fimage.png?alt=media\&token=66a65d1f-1891-49c1-9d30-27510c6f34ed) button and select **Repository report task**. The report opens in your explorer.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.atempo.com/miria-4.6/admin-guide/getting-started/organise-repositories.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
