mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-03-04 00:01:12 -05:00
Add "Save/Load Configuration" buttons and functionality #2860
Labels
No labels
P1: Critical
P2: High
P3: Medium
P4: Low
UI
bug
cannot reproduce
compatibility
dependencies
docker
documentation
duplicate
enhancement
enhancement
external libs
feature request
good first issue
help wanted
infrastructure
invalid
localization
needs investigation
performance
potential-duplicate
question
recurrent
research
snap
waiting for data
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AdGuardHome#2860
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DandelionSprout on GitHub (Jun 23, 2021).
Have a question or an idea? Please search it on our forum to make sure it was not yet asked. If you cannot find what you had in mind, please submit it here.
Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Problem Description
In the past two days, it has dawned on me that transferring AGH configurations from one PC to another, is not easy. Currently the only method is to copy and paste the
AdGuardHome.yamlfile itself, which is not a particularly reliable solution, as the pasted file has a high chance (but is not guaranteed) of being overwritten before being applied; of ASCII/Unicode mismatches if the transfer occured through text copying instead of file copying; user permission problems during pasting or with the pasted file; and potential other fatal errors that I have yet to properly isolate and describe.Proposed Solution
Buttons for "Save configuration" and "Load configuration" in the AGH admin control panel. Clicking the latter, should open a "Which file to choose" prompt on the admin's PC, as opposed to on the AGH-hosting PC.
Presumably, the easiest approach would be for "Load configuration" to completely overwrite the previous config, which is how uBlock Origin's config buttons work like.
Alternatives Considered
None that seem realistic to me, especially considering Linux's total failure at being supported by cloud storage desktop-apps.
Additional Information
(Old AGH installation → New AGH installation)
OS: Raspberry Pi OS Bullseye 32-bit → Fedora Workstation 34 aarch64
Hardware: Raspberry Pi 4 4GB → Raspberry Pi 4 8GB
@ammnt commented on GitHub (Jun 24, 2021):
https://github.com/AdguardTeam/AdGuardHome/issues/1147
@ainar-g commented on GitHub (Jun 25, 2021):
I think that this is indeed a dup of ammnt's issue, so I will merge this into that one, if you don't mind.