> For the complete documentation index, see [llms.txt](https://docs.libnova.com/libnova/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.libnova.com/libnova/platform-mirroring/case-scenario-mirroring-to-cold-storage-aws-s3-google-cloud.md).

# Case Scenario (Mirroring to Cold Storage AWS S3 - Google Cloud)

### Mirroring activation

This is the main metadata descriptor that determines which content is eligible for mirroring. These metadata descriptors must exist  in all metadata schemas that are to be applied to objects that can be mirrored. In all metadata schemas, this descriptor must have the same IECODE, and the descriptor must be of type Boolean in all of them.

<br>

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfRcgF7ZOb26BUbxwBJFc6KL_ur1EjlTSgbusE1itmrcvo7C77ln1N4oAHlOAvJKdPxfAhoXGfnAZ_B2ZK834BwUEvdmLegT8Dz2UQD9vfBQKMxSJJ4_GTJymWYBPIYAOkiQ0dVAdhb6yDh-f84sWvf8J-Yutm24HDe6lzvmVEEndWwndJpmzQ?key=txTSf-pECvZriE9TGOCPWg)

\
\
\
\ <br>

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXemlzU0VuqrUGXwy0p8eo3R8Ibg6aXWIrABKYSH873V34UjC_0IRX9KnE0AZfish9f0fFkPo4kSIuCINwbhGdU8gPRMU1r-37cv68l46P2Tol7l8ql3jkuHMF_y6aguZ3trzSyWtF_ZdCvkiAs3RatGfQY-MQ6RuOsQZV5_vbrDa0juJi2u8g?key=txTSf-pECvZriE9TGOCPWg)

\
\
\
\
\
\
\
\
\
\
\
\ <br>

### Metadata for mirroring policies

These metadata descriptors are used to decide the destination of each file or folder in the mirrors. Depending on the values found in these descriptors for each file or folder, it will be possible to determine in which storage providers the content will be mirrored. These metadata descriptors must exist  in all metadata schemas that are to be applied to objects that can be mirrored.

<br>

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXe90KnPyid5t1HjH7bEf5ChtsKB1nRltuUr9_jNbuS5IV5AI5ilO4vIw5Xczl6wOH1-7a3D-to5-7w5q1rys1SkCXeqpsQph46MblKIxi0lgW3oE_nNXuLpJgpbHtXswIotemhJqoXy1mzzZKnBvD-qKKZhaNTmU0cVg5_trVpC5SRXZveKz_k?key=txTSf-pECvZriE9TGOCPWg)

<br>

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfRcgF7ZOb26BUbxwBJFc6KL_ur1EjlTSgbusE1itmrcvo7C77ln1N4oAHlOAvJKdPxfAhoXGfnAZ_B2ZK834BwUEvdmLegT8Dz2UQD9vfBQKMxSJJ4_GTJymWYBPIYAOkiQ0dVAdhb6yDh-f84sWvf8J-Yutm24HDe6lzvmVEEndWwndJpmzQ?key=txTSf-pECvZriE9TGOCPWg)

<br>

### Hierarchy

The Mirroring module selects items for mirroring based on their metadata. This can be done from the container level down (folder mode) or from the item level up to the container root (file mode).

Usually, folder mode is preferred. It starts from the root, checking each folder to see if it should be mirrored. If a folder is marked for mirroring, all its contents are mirrored too. File mode starts from the last item and checks upwards to see if it should.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcuOh1CoMoAZlS9H6kByyCC74f6LWGJIAYgPul0yWmjjwtz5cpie2oBZyAEOQ-GbyyfzsiM5PF0PbkD8Hrxrfo5v3qiHrFsv1odrILZxGC5sjeoNWmc9iYvIMuOGfiuze07ADxrvrrEe0MbNOCXO3MLJoD2SfrJOY_Za8jxm4VVPW1hlK_dqug?key=txTSf-pECvZriE9TGOCPWg)

<br>

### Adding a folder to a mirroring plan

First of all, we need to select a container within our tree of nodes that has an Object Metadata Schema with the fields we configure for our mirroring.

<br>

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfsgvUohxuACiSaXu_LB76G7PwdUplIWL6HAOW5UNCgU2bQhJyefBNNAY8TS9c1rYX_1iLErXX_DWISm6R5K_uJeUueDJVqMaL0-n8vGWBQbni4tYBO1XDckrbAJxA1b3hAT_qqpgFxyO11p-ddqypzQ8YmoOOVYqgPiQpoP2ZgCVAi1UH0UrU?key=txTSf-pECvZriE9TGOCPWg)

<br>

Then we will choose the folder we would like to mirror.

\ <br>

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcjPXCwBQXn9D2K0LrsdaEU73N1Cd1KxUzal3ARSAaFbrw9xJTbvOonf_HrKY2n38fO_woDOtBZ0vwp3meR8nsmydVP_rHnaHZGmlyR3d46HJrptc83_rdokSUvJScKDSPphsToOB5ZdRlWDbLUFVQ-YgveVvSFvztPDzdz4XeQzqEuVcuGIAI?key=txTSf-pECvZriE9TGOCPWg)

\
\
\ <br>

After accessing its metadata, we will be able to configure it to agree with the policies we have set up; in this case, we set up PRESERVED to yes to activate the process. And 2 other metadata that will mirror its content with Google Cloud.

\
\
\ <br>

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeAz10rQYoZjNA5RnL-pOy89DLkvMjk18Jhk3_J1lQrNwf8CIjkWSly7Em0jAwdVTYmU283N_bdzuMY49gIwq9cW3BRrW4jB0ivqV3X618BkEWob-aA8kNZBZMVhSFsF2ChvOKCP7ZxWa8yPCqNyr8pT33FX_jrjsPNzwQ3grSMQdlkKTb94ts?key=txTSf-pECvZriE9TGOCPWg)

<br>

When the process starts (we recommend a daily or weekly interval), we can see its progress in our log, being able to gather information of the steps and errors if any.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeuCg1yl1fW-0zAf7cFxQySwPe2adFLpxU69l86qI-4gp6HZ8t5fKCoeOzRcmq8cw0xOMSoFlTZ7bC9wcMR2UNJqwLXWsn4-r04Mmz--lCu3YymqiW5c9S9vv1NtKfrzG51AG51pt66Q3PANtTRK8m86Pw8USDLZNWo3-vKcEjnpk1P4f2MJ04?key=txTSf-pECvZriE9TGOCPWg)

<br>

\ <br>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.libnova.com/libnova/platform-mirroring/case-scenario-mirroring-to-cold-storage-aws-s3-google-cloud.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
