AdGuardHome
AdGuardHome copied to clipboard
Settings import/export
Hello,
what about add import and export settings? Because if I create multiple AGH-based servers, I don 't want to configure the same thing every time :D
Thank you.
signed, i like it
@LazyAspect that is easy copy paste task whether CLI or GUI.
(but each server network settings usually different as well)
@ArchiveBase, I know that, but it 's not just about you and me. Not all users know it, not all users can even use SSH! This is why we have a convenient web gui for everyone without exception.
@LazyAspect Well, it's upto your opinion then :) I also interest web user interface as well for where it necessary. sometimes prefer show up possibilities than everything get add on however if you said it recently i might not suggest that.
There are several things in .yaml file that can't be easily imported to another machine:
-
bind_host/port
-
dhcp.interface_name
-
tls.certificate
andserver_name
How do you propose to handle these settings? Note that if any mistake is made there, your AGH will fail to restart. And it's more difficult to test the settings first and only then apply them.
We can just skip those settings, but it won't be a correct import
operation then.
Because if I create multiple AGH-based servers, I don 't want to configure the same thing every time :D
@LazyAspect Just a comment, did you worried about this? https://github.com/AdguardTeam/AdGuardHome/issues/522 and as @szolin mentioned rest of settings each server and client devices specific.
An import/export feature for all settings in AdGuard Home would be so good.
The chrome extension has it already, show AdGuard Home some love too ❤️
@szolin We could just make it so that you can only use import/export after the initial setup is completed. That way, if we ignore those few settings that are hard to import, it's not a big deal. My guess is that ghost
's use case is a very common one. I needed export/import for the same reason.
So export from the UI could strip out those few settings and import could rewrite the AdGuardHome.yaml file replacing everything but those few settings.
Settings import/export would be possible once we implement AGH configuration reload properly (which is an ongoing task). Once it's done, this shouldn't be a problem to do that on the UI side.
@ameshkov is there a ticket to track configuration reload? I'm setting up letsencrypt automation and trying to figure out what the best way is to have AGH reload the certs.
@hoshsadiq the simplest way would be to simply restart AGH.
Here's what I am using on my personal server: https://github.com/ameshkov/legoagh
Hello,
what about add import and export settings? Because if I create multiple AGH-based servers, I don 't want to configure the same thing every time :D
Thank you.
Can this include using EXPORTS from ADGUARD Windows (and/or other operating systems)? The idea is to make it easy to quickly configure Adguard Home to make all devices work as comfortably as it does for one device. It also would prevent conflicts in settings? For example, there are dns settings in Adguard Windows that may different from DNS settings in Adguard home?
The next idea would be to have Adguard Home work differently for different devices based on different imported profiles (imported from the exports of AdGuard Software from other devices, such as windows)
For example, I can export settings from Device 1's Adguard For PC to Adguard home's profile for Device 1. Then I can export settings from Device 2's Adguard For Linux to Adguard home's profile for Device 2 and Device 3 which is a Blackberry Phone.
For now, I am fine with using one exported settings from Adguard for Windows to my router's Adguard Home. This way every device feels just as comfortable. I wouldn't mind entering my Activation code in Adguard home for this feature. Unless there is a privacy concern with it?
if there are parts of the exported settings that are incompatible... just have adguard not apply those? if there are parts of the exports that need translation/conversion then maybe Adguard for Windows could have a function to do such conversion. This way, you don't have to increase the size of Adguard home within the router... Sorry if i made any noob mistake. This is my first post.
I've used to copy the AdGuardHome.yaml to a remote location as a backup. But when I tried this weekend to restore the yaml file adguardhome won't start
Permissions are identical OS is FreeBSD 13.1 starting fresh did the trick but also stopping the service, copy the yaml away and back again (without editing) the service won't start again
I recently had AGH running on docker and my server crashed so I lost the config. This would be a HUGE time saver especially if I want to create multiple AGH servers within my network.
I recently had AGH running on docker and my server crashed so I lost the config. This would be a HUGE time saver especially if I want to create multiple AGH servers within my network.
A native import/export feature would definitely be great. In the meantime, you should check out adguard-sync. As you can guess from the name, it's works great for keeping multiple AGH instances in sync.
Hello, Any news on this ? Thanks
No news, unfortunately. This feature is still blocked on a few internal changes.