# I would like the ability to rename backups and see the meaningful name in dietpi restore

**URL:** <https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445>\
**Category:** Requests\
**Created:** [26 August 2026 20:38 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445 "2026-08-26T20:38:54Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![mydogteddy](https://dietpi.com/forum/user_avatar/dietpi.com/mydogteddy/32/7352_2.png) [@mydogteddy](https://dietpi.com/forum/u/mydogteddy)\
**Post date:** [26 August 2026 20:38 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/1 "2026-08-26T20:38:54Z")

</div>

### Creating a software or image request, pls use GitHub

I would like the ability to rename backups and see the meaningful name in dietpi restore

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [27 August 2026 06:48 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/2 "2026-08-27T06:48:49Z")

</div>

> [@mydogteddy](#):
>
> I would like the ability to rename backups

you are free to name a backup on your wish already. You can choose path and name of a backup using `dietpi-backup`

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [27 August 2026 12:39 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/3 "2026-08-27T12:39:13Z")

</div>

I guess you mean to name the individual iterations of a backup when keeping multiple backups? These are currently currently just serially named `data`, `data_2`, `data_3`, …? That would require a rework of how iterations are rotated right now.

Though, I could think of something like a “custom”/“extra” backup option, which creates a separate iteration with custom dir name within the chosen parent location, which prompts for the custom name. That would just remain next to the serially named dirs, and would never be removed by the backup rotation. So you’d have something like:

```sh
data
data_2
data_3
data_before-beta-test

```

However, what is already possible now is to temporarily switch to a new backup location, to keep an extra backup with custom (parent) directory name. Hence for me, this has low priority at the moment, as there are more urgent things to tackle. PRs are always welcome, of course.

* * *

A long-term idea for a better rotation that does not depend on specific naming, and would generally allow to keep a separate number of weekly and monthly backups (an existing feature request), is to do it based on the modification date of the contained stats file (EDIT: I mixed it up, there is no individual stats/log per iteration, only for the whole backup dir, hence we’d need to get a correct date from elsewhere, probably by assuring the `data_*` dir itself has it updated when a backup runs.). So a logic might be roughly like this:

- List and sort all iterations (`data_*` dirs) by the mdate of their stats/log file
- Remove all iterations older than the chosen X monthly iterations to keep
- Select all iterations older than the chosen X weekly iterations to keep, and remove the youngest among them, until there is only one left that is max 1 month older.
- Select all iterations older than the chosen X daily iterations, but younger than the chosen Y weekly iterations, and remove the youngest among them until there is only one left that is max 1 week older.
- When enabling monthly/weekly backups, input validation needs to assure that the number of monthly/weekly backups to keep exceeds the age of the oldest daily/weekly backup. So 8 weekly backups and 1 monthly backup must not be possible, and does not make sense anyway. Alternatively, weekly/monthly backups need to be counted from the oldest daily/weekly backup on, so that 8 weekly + 1 monthly results in one monthly that is between ~2 and ~3 months old, up to 1 month older older than the oldest weekly. Not sure which logic is more intuitive.

---

<div class="post-metadata">

**Author:** ![mydogteddy](https://dietpi.com/forum/user_avatar/dietpi.com/mydogteddy/32/7352_2.png) [@mydogteddy](https://dietpi.com/forum/u/mydogteddy)\
**Post date:** [27 August 2026 16:33 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/4 "2026-08-27T16:33:23Z")

</div>

Well what I was hoping for would be the ability to name a backup as well as the date of the backup something like:-

openclaw-with agent-withdate

openclaw-with-2 agents-withdate

etc

because at the moment if you manually rename a backup it is not displayed when using restore

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [27 August 2026 18:06 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/5 "2026-08-27T18:06:26Z")

</div>

Usually you can search for existing backups even if they rename

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [27 August 2026 19:32 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/6 "2026-08-27T19:32:14Z")

</div>

You need to select `Location` and then `Search` and you will get a list of all of your backups.  
But the date is not added automatically, you need to set it manually when defining the backup location.

 ![grafik](https://dietpi.com/forum/uploads/default/original/2X/f/f04f26f54ce1bdb4faf9f1e23d8e9bd824ba6534.png)  
 ![grafik](https://dietpi.com/forum/uploads/default/original/2X/5/5a3fa5ad847357e4836c3c8cc29b4f0b1c0818fc.png)  
 ![grafik](https://dietpi.com/forum/uploads/default/original/2X/4/4d8e4cd009244705c4b45bc94d1ec45640156307.png)

---

<div class="post-metadata">

**Author:** ![mydogteddy](https://dietpi.com/forum/user_avatar/dietpi.com/mydogteddy/32/7352_2.png) [@mydogteddy](https://dietpi.com/forum/u/mydogteddy)\
**Post date:** [28 August 2026 16:42 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/7 "2026-08-28T16:42:27Z")

</div>

This does not work in my use case and additionally it is not what I requested

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [28 August 2026 17:01 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/8 "2026-08-28T17:01:50Z")

</div>

We are trying to show you ways how to achieve what you need with the current `dietpi-backup`, since adding this feature natively is currently not on someones ToDo/low priority.

A misunderstanding is that you are AFAIU you are renaming a single `data_*` iteration within a backup location, not the whole backup location. But only the latter will currently work:

1. Change the location to a custom path with the “openclaw-with\* agent-withdate” name you want.
2. Run the backup.
3. Change the location back to the original path.

Both paths can be found with the “Search” option as well now, since they are independant backup locations. Keep in mind that, if enabled, the daily backup runs on the currently selected location.

---

<div class="post-metadata">

**Author:** ![mydogteddy](https://dietpi.com/forum/user_avatar/dietpi.com/mydogteddy/32/7352_2.png) [@mydogteddy](https://dietpi.com/forum/u/mydogteddy)\
**Post date:** [28 August 2026 17:24 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/9 "2026-08-28T17:24:31Z")

</div>

Well thank you for trying to help, however I already know I could use different locations and in my use case I am doing just that, I am using an NMVe drive partitioned to include a separate backup partition ,what I would like, if it is possible, is to be able to have whatever name I choose in that backup partition even if it meant manually renaming the particular backup. however if I do rename the backup it is not seen by restore.

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [28 August 2026 17:41 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/10 "2026-08-28T17:41:13Z")

</div>

Can you give an example what you do to rename things

---

<div class="post-metadata">

**Author:** ![mydogteddy](https://dietpi.com/forum/user_avatar/dietpi.com/mydogteddy/32/7352_2.png) [@mydogteddy](https://dietpi.com/forum/u/mydogteddy)\
**Post date:** [28 August 2026 18:21 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/11 "2026-08-28T18:21:32Z")

</div>

Yes, I have a partition on my MVNe drive 3 partitions partition 3 being dedicated to saving backups.

/0930973233100979743/dietpi-backup/data data\_2 data\_3

if for example I manually change the name of /data\_2 to say ‘openclaw’ restore does not see it anymore

It would be very good if restore was able to see the changed name.

root@DietPi:~# ls /mnt/6d8eb091-e2c4-4bf8-b0d4-61c618c713f1/dietpi-backup/  
data data\_2 data\_3 dietpi-backup.log

To something like ls /mnt/6d8eb091-e2c4-4bf8-b0d4-61c618c713f1/dietpi-backup/  
data data\_2 openclaw dietpi-backup.log

And for restore to actually see openclaw so it could be restored  
root@DietPi:~#

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [28 August 2026 21:37 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/12 "2026-08-28T21:37:39Z")

</div>

Would you expect that backup iteration to be rotated like the others, i.e. that it is overwritten when it is the oldest, and you reached the max amount of backups to keep?

Or shall such custom named backup remain forever, until you remove it manually, and just appear in the restore menu?

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [29 August 2026 06:59 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/13 "2026-08-29T06:59:49Z")

</div>

Honestly I don’t understand the use case. These are daily backups that you manually rename? Why?

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [29 August 2026 09:46 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/14 "2026-08-29T09:46:21Z")

</div>

Yea okay, changing names of automatically created iterations is currently not supported by the script, but could possibly be achived with an extra menu entry which let you rename it and the correct order for restoration is determined by the date of the iterations. Or maybe save the order of iterations as a list in an extra file 🤔

But as a workaround my method would work, but you will create a full backup every time, without the advantage of having increments.

---

<div class="post-metadata">

**Author:** ![mydogteddy](https://dietpi.com/forum/user_avatar/dietpi.com/mydogteddy/32/7352_2.png) [@mydogteddy](https://dietpi.com/forum/u/mydogteddy)\
**Post date:** [29 August 2026 15:18 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/15 "2026-08-29T15:18:14Z")

</div>

for my use case I use full backups, I am experimenting with complex versions of openclaw so I might have a version which does x y and z and another which incorporates substantial modifications so I just want to name the backups so I remember what each does and then to be able to restore them with restore

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [29 August 2026 15:31 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/16 "2026-08-29T15:31:08Z")

</div>

You would need to rename the `dietpi-backup` folder, not the `data` folder.

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [29 August 2026 15:36 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/17 "2026-08-29T15:36:40Z")

</div>

This sounds like you do not want them to be rotated? The oldest interation of a backup is lost when the amount limit is reached. So the way these iterations are designed, and their original purpose, does not match the use case of a permanent backup that was created as a certain state to preserve. We could theoretically relax the condition for listing backup interations in the menu, but I feel it contradicts the aim.

What seems to better match your use case is to be able to manage multiple backup locations more seamlessly than searching or typing the paths via “Location” menu each time:

- Multiple backup location paths could be stored in the config file, or an additional state file.
- You could then update and create iterations for each backup location individualy, and in case also choose the amount of iterations to keep for each of them. A per-location config file would do.
- The Restore menu could search them all and list all their iterations each, transparently with parent location, iteration number, and date.
- Also the daily backup could be toggled per-location.

Just an idea, but maybe I am also thinking too complex. A separate option to create an extra backup that is just not rotated, but still listed for restore, might be sufficient.

---

<div class="post-metadata">

**Author:** ![mydogteddy](https://dietpi.com/forum/user_avatar/dietpi.com/mydogteddy/32/7352_2.png) [@mydogteddy](https://dietpi.com/forum/u/mydogteddy)\
**Post date:** [29 August 2026 15:50 UTC](https://dietpi.com/forum/t/i-would-like-the-ability-to-rename-backups-and-see-the-meaningful-name-in-dietpi-restore/25445/18 "2026-08-29T15:50:51Z")

</div>

Good afternoon, either of your suggestions would help me and perhaps option 2

“A separate option to create an extra backup that is just not rotated, but still listed for restore, might be sufficient.”

Would as you say be sufficient at least for now, thank you.
