Rollback Feature, maybe??

DrWizzle

Verified User
Joined
Aug 8, 2021
Messages
347
Location
Here
Hi all, Happy Monday!

I'm just in the throws of updating my servers this morning and I've had a thought. Wouldn't it be good to have a rollback feature added into the updating process? Would the DA team entertain such a feature? I mean before the DA Update starts, take a snapshot of the server's configuration (with a caveat that the Admin backs up any custom configurations) and lock that away on the server somewhere in the DA/Custombuild tree.

So, should anything be wrong when DA is updated, provided the server had a previous version of DA installed, those versions could be populated and selected in the rollback dropdown and pulled from DA's repo for a rollback and restore to the server's previous config. Could look something like my mockup pic below? 😁

Also maybe have the update options added to the updates page to streamline things?

1765203110411.png
 
I like the idea but it might be hard to realise.
Just rolling back DA would probably not fix a lot. But often there are updates connected to DA so when rolling back one thing, some others might be required to rollback to which could make things more difficult.

And when we are talking about rolling back, I see more in a pulldown option for seperate applications, like Exim, Dovecot, Apache, seperate configs, php maybe. Because often DA does not need to be rollback, it happens more often that people would like to rollback some seperate app.

Making a snapshot is an option, but all depends on the space it will take and the space on the server. So that would also require a calculation option in this snapshop option, in which the admin can define which minimum free space needs to be left over. To prevent some snapshot before update suddenly takes all space left and then everything gets stuck.

So in theory I personally like the idea, if extended to a pulldown option to roll back seperate applications and/or their configs.
And if even possiblel to create some option like that.

However, this might be something for the seperate feedback site (click) as in fact what you are doing is a feature request/idea. ;)
 
I like the idea but it might be hard to realise.
Just rolling back DA would probably not fix a lot. But often there are updates connected to DA so when rolling back one thing, some others might be required to rollback to which could make things more difficult.

And when we are talking about rolling back, I see more in a pulldown option for seperate applications, like Exim, Dovecot, Apache, seperate configs, php maybe. Because often DA does not need to be rollback, it happens more often that people would like to rollback some seperate app.

Making a snapshot is an option, but all depends on the space it will take and the space on the server. So that would also require a calculation option in this snapshop option, in which the admin can define which minimum free space needs to be left over. To prevent some snapshot before update suddenly takes all space left and then everything gets stuck.

So in theory I personally like the idea, if extended to a pulldown option to roll back seperate applications and/or their configs.
And if even possiblel to create some option like that.

However, this might be something for the seperate feedback site (click) as in fact what you are doing is a feature request/idea. ;)

Cheers Richard 😊, Think i'll pop over there in a min and do that. You mention space, I was thinking along the lines of a text based log file with current settings in, not an actual "snapshot" as if you were taking a live snapshot of a VPS, so would potentially take up kilobytes (very minimal), not mega, giga or terabytes.

I did think about dropdowns for things like Exim, Dovecot, Roundcube, Yada Yada....... which would make total sense like you say, but I thought maybe that's a custombuild thing. I love the direction DA are headed with their control panel and integration, just a few tweaks here and there would make it so much better 😁👌
 
Rolling back from Current channel is Stable, Alpha/Beta rolls back to Current, snapshots of VPS can be created by a hypervisor
 
Back
Top