Just a question about this (real) scenario:
- Say i take a full backup now.
- Then i install extension A (Payplans from readybytes)
- Extension A creates files A1, A2, A3 etc and stores data that was created by using it (payment plans, extension settings etc)
- Then something goes wrong -> time to restore the backup that was created before installing the application.
- After backup restoration, if i proceed to re-install the above extension (which didn't exist at the time of backup), it finds the orphan data and uses it, like those settings, payment plans and everything else.
=> Since the data had not been created at the time the backup was taken, and since i assume the backup overwrites files but not necessarily remove previous files (correct?), how can i perform a clean restoration? I.e. is it safe/better to delete the entire public_html folder and then restore the backup?
Will i risk losing something that way? Obviously any files that were there during backup will be restored, but the point here is to only make sure that nothing remains that was created after the backup, like in the above case.
Thanks for the advice ;)
George