Thread: Updater
View Single Post
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 10-12-2011 , 14:17   Re: Updater
Reply With Quote #10

Quote:
Originally Posted by Steell View Post
can we have an option that makes a backup of a certain file, rather than just replacing it?
I thought about this before but couldn't decide on a proper way to implement it.

How would you like the backups to work? Should all of the replaced files be grouped into the same folder, or should they keep their directory structure intact but move to /data/updater/backups?

The main problem I see with backups is that they're rendered useless if a plugin is updated twice within a close time-frame. Basically your backups would only be as good as the second newest version.

Last edited by GoD-Tony; 10-12-2011 at 14:36.
GoD-Tony is offline