Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.I have a new site I've just imported into Aegir. It's quite large in terms of sites/example.com/files comprising almost 10,000 files totalling 5Gb, but the database itself is a manageable size.
Anyway this site verifies OK but it keeps reverting to "Backups enabled" and spawns multiple backup tasks continually, so the server is always trying to backup this huge site but the backups fail with this error message:
fopen(/var/aegir/platforms/myplatform/sites/example.com/database.sql): failed to open stream: File exists mysql.php:255
Could not write database backup file mysqldump
If I try to change it to "Backups disabled" then this spawns a new verify task, which in turn triggers these multiple backups again.
It's hitting the server pretty hard and I'm getting "high disk write" warnings.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | can_t_disable_site-2867233-3.patch | 1.12 KB | helmo |











Comments
Comment #2
helmo CreditAttribution: helmo at Initfour websolutions for Aegir Cooperative commentedSo there are two problems ... the 'Could not write database backup' could be related to #2616426-42: Add 'fix permissions' task
The reverting to "Backups enabled looks like a hosting_site_backup_manager issue moving it there....
Comment #3
helmo CreditAttribution: helmo at Initfour websolutions for Aegir Cooperative commentedThis patch might be all you need here ... a bad case of two ternary operators on the same line.
Comment #4
helmo CreditAttribution: helmo at Initfour websolutions for Aegir Cooperative commentedI found a duplicate issue in #2802179: Disabling Automated Backups for specific sites no longer possible so I'm closing this one. The patch here was not enough to solve it, I'll upload a new patch to that issue.