OpenWrt news, tools, tips and discussion. Related projects, such as DD-WRT, Tomato and OpenSAN, are also on-topic.
Restoring Backups and Packages.
As far as i understand, backups only copy the Config files but not the packages themselves.
If i restore a backup will it remove the packages or packages are only removed with a factory reset?
If i have a package installed but restore a backup that was taken without it, I assume it will fuction as normal with default package Config?
Sort by:
Best
Open comment sort options
Best
Top
New
Controversial
Old
Q&A
You can get a copy of the image with all the packages using attendedsyaupgrade or auc. You go to configuration in attendedsysupgrade and check advanced mode. Then check for a new image and instead of installing it, download it somewhere safe. This should have all the packages currently on your router.
As for the other part of your question, the backup contains text file configurations of the installed packages. If you reset the router and assuming the package is no longer present (e.g., you did not reinstall the image from above), the text file will just sit on your router until such time as you download the package, where the router now will recognize the text file configuration and not write over it.
Hope this helps.
Thanks, I am aware of attendedsyaupgrade just haven't gotten around to setting it up, probably will need it when I upgrade, or I was thinking of creating a custom image fr om the website with the packages I need once I've narrowed it down.
My question for now is that I installed a package but want to restore a backup that did not have it installed. I don't want to factory reset just restore the backup.
If I don't factory reset, does restoring a backup remove the installed packages?