Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be great if it's possible for the Backups list to also display the filesize of each backup file
Comment | File | Size | Author |
---|---|---|---|
#1 | 1042758-hostmaster.patch | 5.23 KB | mig5 |
#1 | 1042758-provision.patch | 538 bytes | mig5 |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedPatch for provision and hostmaster
Remember to run update.php to apply the database change.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedP.S I can't think of a good way to use hook_update() to fetch and update the file size of *existing* backups for existing users.
Because even though we store the filename in the database, the /var/aegir/backups dir is owned by the aegir user and the www-data user (executing the hook_update) can't stat the files inside it to get a filesize() of them.
So I think we'll just have to live with that, and people should probably rotate out old backups anyway. Besides, this isn't really crucial information, it's just nice to have.
Comment #3
realityloopagreed, we're still using betas anyway.. if it's working from 1.0 release then I think it's all gravy :)
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedAlrighty, committed, thanks!