When a site has "Zero Downtime Deployment" enabled, any File Backups only back up the symlink, and not any actual site files. This can easily go unnoticed as no alert is issued, because the backup task thinks it has completed successfully.

From support ticket #6303

· · Edited
·

Merged Backups: temporary files not deleted on fail into this item

Created by: Nathan Geerinck

When a backup of a database fails, temporary files are not deleted.

Needs extra investigation:

  • Sites with Zero Downtime Deployments;
  • Large SQL files;
1 total vote
·
·

The fix for this, is still coming. For now, the bypass is rather easy, change your backup path from:

/home/ploi/example.com

to:

/home/ploi/example.com-deploy

Note the appended -deploy.

no votes yet
·
·

Any update on this?

no votes yet
· · Edited
·

@Dennis maybe the following script can help

        if (is_link($this->webPath)) {
            $realPath = realpath($this->webPath);

            if (!$realPath || !is_dir($realPath)) {
                throw new \Exception("Symlink wijst niet naar geldige map: {$this->webPath}");
            }

            $sourcePath = $realPath;
        } else {
            $sourcePath = $this->webPath;
        }
1 total vote
·
·

with suffix -deploy "Exclude folders/files" not work correctly

no votes yet

File backups always silently fail when using Zero Downtime Deployment

13 total votes
Quick Actions
Activity
View recent activity and updates
Use arrow keys to navigate