I noticed that when I deleted the backups from a site they were still in the db (& show in the UI) even after a new verify of the platform and site. I think it would be nice to have a feature to manage the backups of a site; like a backups tab which shows all backups for a site and you can then select restore or delete them as needed. Im sure this has already been discussed but Mig5 and I were talking about it and he suggested a feature request was in order.
On IRC .. mig5 said we actually have a function hosting_site_delete_backup($bid)
so it would seem some prep has been made for this.
Cheers!
Comment | File | Size | Author |
---|---|---|---|
#3 | 678636_hosting.patch | 2.84 KB | mig5 |
#3 | 678636_provision.patch | 1.49 KB | mig5 |
Comments
Comment #1
anarcat CreditAttribution: anarcat commentedThat would be neat. It's also a requirement for #422966: automated backups (and backups garbage collection) (although the UI side of this isn't).
Comment #2
redben CreditAttribution: redben commented+1
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedWorking patches for review, probably too crude in its current form.
Comment #4
Bèrto ëd Sèra CreditAttribution: Bèrto ëd Sèra commentedsubscribe
Comment #5
Steven Jones CreditAttribution: Steven Jones commentedThis is genius. Will review when I get chance to.
Comment #6
Steven Jones CreditAttribution: Steven Jones commentedThis is working, and does exactly what is required. This will provide a great basis for deleting backups. More advanced scheduled deleting can just leverage this command to remove the backup.
Comment #7
Steven Jones CreditAttribution: Steven Jones commentedI was testing against: 0.4-alpha15
Comment #8
anarcat CreditAttribution: anarcat commentedCommitted patches as is, thanks for the testing!