Closed stevector closed 6 years ago
@stevector I think you are correct that we just need to add $backups = $site['env_raw']->getBackups()->getFinishedBackups($element);
after $this->createBackup($site);
in the if ( empty($backups) )
conditional.
@stevector can you review #3?
I was a on a call today with a custom upstreams user. We tried making a new site and cloning db/code/files from an old site. On the first attempt the code and db cloned successfully. Files cloning died with this error:
We ran the command again and it completed successfully.
Just reading through the relevant section of code, I think I see the problem. I've added inline comments here:
@ataylorme, am I missing any context? I think the fix could be a small PR.