Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduled Backups #6822

Open
3 tasks done
Lagicrus opened this issue Mar 15, 2024 · 2 comments
Open
3 tasks done

Scheduled Backups #6822

Lagicrus opened this issue Mar 15, 2024 · 2 comments

Comments

@Lagicrus
Copy link

Lagicrus commented Mar 15, 2024

Prerequisites

  • I have checked the Wiki and Discussions and found no answer

  • I have searched other issues and found no duplicates

  • I want to request a feature or enhancement and not ask a question

The problem

When reinstalling AdGuard via the provided script, it overwrote my .yaml file containing months of configurations and settings I had applied with seemingly no recourse to reverse that action or find a backup to replace it as I had expected the reinstall process to either not wipe the config, or use it in the new build.

The reinstall process was https://github.com/AdguardTeam/AdGuardHome?tab=readme-ov-file#automated-install-linuxunixmacosfreebsdopenbsd with the -r flag

Proposed solution

Have a setting where the AdGuard yaml file which holds all the data, gets backed up on a set schedule such as every week

Alternatives considered and additional information

No response

@whyisthisbroken
Copy link

whyisthisbroken commented Mar 16, 2024

I don't know, but once you've set it up, you copy the Yaml and save it somewhere as a backup.
Once AGH is running, there is no need to change the settings every week, so a weekly backup would be necessary. This is wasted development effort to integrate a backup.

Or you can use a backup like rclone with a schedule.

And why are you reinstalling AGH? Shouldn't updating via GUI be enough?

@Lagicrus
Copy link
Author

@whyisthisbroken I agree that solutions like rclone exist. Still, I see no harm in an inbuilt solution, which could be set to run from the second you install it for the first time instead of potentially forgetting until it's too late.

For why I reinstalled it, see #6811, but the short version is that after updating via the GUI, all UI/CSS broke, making it unusable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants