Backup version identification
Moderator: Moderators
Backup version identification
Is it possible to identify what version firmware a backup file belongs to?
Re: Backup version identification
Unpack it and look at /etc/config/gargoyle.
In the globals section there is a version parameter.
In the globals section there is a version parameter.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Re: Backup version identification
Thanks
Is it possible to edit what ever script runs to to create the backup, to include stuff I have manually edited on the router?
So when I have to do a restore because of a router crash, I don't have to hunt down the changes I have made, which are thankfully on the forum?
One example of such a change is the roll back of ipv6 blocking when Tor is enabled.
Is it possible to edit what ever script runs to to create the backup, to include stuff I have manually edited on the router?
So when I have to do a restore because of a router crash, I don't have to hunt down the changes I have made, which are thankfully on the forum?
One example of such a change is the roll back of ipv6 blocking when Tor is enabled.
Re: Backup version identification
So these are changes to init files and maybe some web interface things?
I would modify /usr/lib/gargoyle/create_backup.sh
Line 21 can be appended to at the end to add your modifications.
Obviously be aware that if you’re moving to newer versions you might overwrite changes introduced by those versions, but if you’re restoring to the same then of course no problem.
You probably want to preserve the create_backup script itself as well once you have made the changes
https://github.com/ericpaulbishop/gargo ... _backup.sh
I would modify /usr/lib/gargoyle/create_backup.sh
Line 21 can be appended to at the end to add your modifications.
Obviously be aware that if you’re moving to newer versions you might overwrite changes introduced by those versions, but if you’re restoring to the same then of course no problem.
You probably want to preserve the create_backup script itself as well once you have made the changes
https://github.com/ericpaulbishop/gargo ... _backup.sh
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Re: Backup version identification
Thanks, will see how I go with that idea.
Re: Backup version identification
I think I have done it,
I have added the following to the backup
/etc/tor.firewall
/usr/lib/gargoyle/tempinfo.sh
/www/i18n/English-EN/dhcp.js
/usr/lib/gargoyle/create_backup.sh
and they seem to be in the backup.
that's for 1.15.X (Built 20240702-0125 git@ab461167) build
I have installed the latest Gargoyle build on my other Linksys WRT1900AC v2, but still have a bunch of configuring to do, once done will edit the create_backup file for that with what ever I needed to tweak on that, and give that a factory reset and restore.
Just another thought where do the plugin additions get saved? that might be worth backing up as well especially for the latest version.
I have added the following to the backup
/etc/tor.firewall
/usr/lib/gargoyle/tempinfo.sh
/www/i18n/English-EN/dhcp.js
/usr/lib/gargoyle/create_backup.sh
and they seem to be in the backup.
that's for 1.15.X (Built 20240702-0125 git@ab461167) build
I have installed the latest Gargoyle build on my other Linksys WRT1900AC v2, but still have a bunch of configuring to do, once done will edit the create_backup file for that with what ever I needed to tweak on that, and give that a factory reset and restore.
Just another thought where do the plugin additions get saved? that might be worth backing up as well especially for the latest version.
Re: Backup version identification
Plugins get installed into the root folder /plugin_root and are symlinked into the correct locations.
You would want to grab them out of plugin_root.
You would want to grab them out of plugin_root.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog