I have tested version 3, for which many thanks.

Where there is any file in the document root which is not readable by the webserver, and it is not excluded in the profile, a full site backup will fail.

Scenario: web server running as Apache owner; someone runs uploads a file as a different user with no read (in my case it was my Roundcube config file). Backup fails.

Suggested solution: have Backup and Migrate by default (or optionally) use tar --ignore-failed read (or some equivalent).

Comments

ronan’s picture

Yeah, I've run across this. So far I've decided to have the backup die so that the user knows something didn't go right. I don't want people thinking they're backups are working fine only to find out too late that some important section of their site isn't backed up.

I think the way I'll handle this is to add an (off by default) option to ignore errors.

  • ronan committed 61cb31a on 8.x-3.x
    #1974740 allow backup of codebase & files to skip unreadable files
    
couturier’s picture

Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)

Can anyone confirm if this has been fixed in the latest 7.x-3.2 version?

couturier’s picture

Status: Postponed (maintainer needs more info) » Fixed

I'm guessing this has been fixed based on ronan's prior comment. I'm closing as fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.