# Data Deleted when i run my app

**URL:** <https://discuss.huggingface.co/t/data-deleted-when-i-run-my-app/115477>\
**Category:** Spaces\
**Created:** [November 4, 2024, 12:26am UTC](https://discuss.huggingface.co/t/data-deleted-when-i-run-my-app/115477 "2024-11-04T00:26:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AZLABS](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@AZLABS](https://discuss.huggingface.co/u/AZLABS)\
**Post date:** [November 4, 2024, 12:26am UTC](https://discuss.huggingface.co/t/data-deleted-when-i-run-my-app/115477/1 "2024-11-04T00:26:42Z")

</div>

my application data is getting delted again and again! is there any problem or somehing else ? as i run the app it automatically delte everything! some times automatically reset the space !

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [November 4, 2024, 12:41am UTC](https://discuss.huggingface.co/t/data-deleted-when-i-run-my-app/115477/2 "2024-11-04T00:41:08Z")

</div>

HF’s Spaces is newly created each time it is started, so that is normal. If you want to save your data, you need to consider the means below.

> **[Disk usage on Spaces · Hugging Face](https://huggingface.co/docs/hub/spaces-storage)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

> [@Persistent storage who can access?](https://discuss.huggingface.co/t/persistent-storage-who-can-access/108027/4):
>
> Hi @ADalsrehy If you want to save your data into a huggingface dataset instead you can use a commit scheduler. These are some methods proposed by wauplin to push your data (I have hot patched his space in here [Space to Dataset Saver - a Hugging Face Space by not-lain](https://huggingface.co/spaces/not-lain/space_to_dataset_saver) ) save as json import json from datetime import datetime from pathlib import Path from uuid import uuid4 import gradio as gr from huggingface\_hub import CommitScheduler JSON\_DATASET\_DIR = Path("json\_dataset") JSON\_DATASET\_DIR…

---

<div class="post-metadata">

**Author:** ![pactosecreto](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/pactosecreto/32/35991_2.png) [@pactosecreto](https://discuss.huggingface.co/u/pactosecreto)\
**Post date:** [November 19, 2024, 11:18am UTC](https://discuss.huggingface.co/t/data-deleted-when-i-run-my-app/115477/3 "2024-11-19T11:18:07Z")

</div>

Hello I hire the services but i can’t see in data folder my created files in the repo. Why ?
