Backup version identification

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

Moderator: Moderators

Post Reply
rockyd
Posts: 124
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: 7191
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: 124
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: 7191
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: 124
Joined: Tue Oct 22, 2019 5:49 am

Re: Backup version identification

Post by rockyd »

Thanks, will see how I go with that idea.

Post Reply