# Question about deleting a backup

**URL:** <https://forum.hestiacp.com/t/question-about-deleting-a-backup/18546>\
**Category:** Backups\
**Created:** [March 20, 2025, 5:36pm UTC](https://forum.hestiacp.com/t/question-about-deleting-a-backup/18546 "2025-03-20T17:36:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon85655380](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/a/e56c9b/32.png) [@anon85655380](https://forum.hestiacp.com/u/anon85655380)\
**Post date:** [March 20, 2025, 5:36pm UTC](https://forum.hestiacp.com/t/question-about-deleting-a-backup/18546/1 "2025-03-20T17:36:29Z")

</div>

Hello, The backup storage is configured on a remote sftp server. Everything works fine, but when you download the backup through the panel, a message comes:

Backup file admin.2025-03-20\_18-32-02.tar was retrieved from the remote server and will be available to download for 12 hours.

But the most interesting thing is that after 12 hours and even after two days, the downloaded backup is not deleted. Why is that?  
The copy continues to lie in the /backup folder

---

<div class="post-metadata">

**Author:** ![anon85655380](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/a/e56c9b/32.png) [@anon85655380](https://forum.hestiacp.com/u/anon85655380)\
**Post date:** [March 21, 2025, 5:16pm UTC](https://forum.hestiacp.com/t/question-about-deleting-a-backup/18546/2 "2025-03-21T17:16:12Z")

</div>

up  
up

---

<div class="post-metadata">

**Author:** ![andrey.druz](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/a/bbe5ce/32.png) [@andrey.druz](https://forum.hestiacp.com/u/andrey.druz)\
**Post date:** [March 22, 2025, 7:32am UTC](https://forum.hestiacp.com/t/question-about-deleting-a-backup/18546/3 "2025-03-22T07:32:45Z")

</div>

Hello,

Old backup deleted doing backup process based on number of backups you configured. Try to backup same user manually using v-backup-user.

> **[CLI Reference | Hestia Control Panel](https://hestiacp.com/docs/reference/cli)**
>
> Open-source web server control panel.

If not deleted doing backup, as a workaround if you backups stored on sftp, you can create a cron job to delete all files in backup folder every day before backup.

For permanent fix - check code of

> <https://github.com/hestiacp/hestiacp/blob/main/bin/v-backup-user>

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [March 22, 2025, 8:25am UTC](https://forum.hestiacp.com/t/question-about-deleting-a-backup/18546/4 "2025-03-22T08:25:24Z")

</div>

There should be an at created to delete the file in 12 hour
