Backup version identification

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
rockyd
Posts: 131
Joined: Tue Oct 22, 2019 5:49 am

Backup version identification

Post by rockyd »

Is it possible to identify what version firmware a backup file belongs to?

Lantis
Moderator
Posts: 7195
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Backup version identification

Post by Lantis »

Unpack it and look at /etc/config/gargoyle.
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

rockyd
Posts: 131
Joined: Tue Oct 22, 2019 5:49 am

Re: Backup version identification

Post by rockyd »

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.

Lantis
Moderator
Posts: 7195
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Backup version identification

Post by Lantis »

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
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

rockyd
Posts: 131
Joined: Tue Oct 22, 2019 5:49 am

Re: Backup version identification

Post by rockyd »

Thanks, will see how I go with that idea.

rockyd
Posts: 131
Joined: Tue Oct 22, 2019 5:49 am

Re: Backup version identification

Post by rockyd »

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.

Lantis
Moderator
Posts: 7195
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Backup version identification

Post by Lantis »

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.
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

rockyd
Posts: 131
Joined: Tue Oct 22, 2019 5:49 am

Re: Backup version identification

Post by rockyd »

I have posted a question about another idea in the feature requests section.

viewtopic.php?t=18255

Post Reply