Option to disable registration_info.json backups when running --account #621

Open
opened 2025-12-29 01:27:53 +01:00 by adam · 0 comments
Owner

Originally created by @GrantGryczan on GitHub (Apr 10, 2024).

Suggestion

I'd like an option to not generate backups when running dehydrated --account, because currently the backups just don't get automatically cleaned up otherwise. And I really have no use for these backups.

image

Here's the line that backs up the file:

4fd777e87e/dehydrated (L1657)

Why not just delete the backup files if I don't need them?

Well not only is that inconvenient, but in my case, I'm developing a Docker image integrating dehydrated with a declarative config. Ideally, a user of my image should be able to change their ACME account email without having to manually go into the Docker volume to delete these backup files. I could delete them automatically, but dehydrated also outputs a message saying the file was backed up, so deleting them would make that message misleading.

Originally created by @GrantGryczan on GitHub (Apr 10, 2024). ## Suggestion I'd like an option to not generate backups when running `dehydrated --account`, because currently the backups just don't get automatically cleaned up otherwise. And I really have no use for these backups. ![image](https://github.com/dehydrated-io/dehydrated/assets/14056899/3595a2e1-e34e-40b6-a4a8-74b235836806) Here's the line that backs up the file: https://github.com/dehydrated-io/dehydrated/blob/4fd777e87e589652b1127b79ac6688ed7cb151fe/dehydrated#L1657 ## Why not just delete the backup files if I don't need them? Well not only is that inconvenient, but in my case, I'm developing a Docker image integrating `dehydrated` with a declarative config. Ideally, a user of my image should be able to change their ACME account email without having to manually go into the Docker volume to delete these backup files. I could delete them automatically, but `dehydrated` also outputs a message saying the file was backed up, so deleting them would make that message misleading.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#621