Skip to content
This repository has been archived by the owner on Oct 14, 2021. It is now read-only.

Commit

Permalink
fix error with renaming folders after backup
Browse files Browse the repository at this point in the history
  • Loading branch information
SaturnTeam committed Apr 8, 2018
1 parent 642578e commit 09ad5a5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/BackupHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,7 @@ public function doBackup()
$this->createHardLinksFromLastBackup();
}
$this->makeBackup($sshInfo);
if (!is_dir($this->c14mountDir . '/' . $this->backupTempDir))
{
$this->mountC14Storage();// sometimes it is helpful
}
$this->mountC14Storage($sshInfo);// sometimes it is helpful
$this->renameTempFolder();
$this->writeBackupInfoToC14($archive, (new DateTime('now'))->format(static::BACKUP_FOLDER_FORMAT));
sleep(1);//wait a little while description will be updated
Expand Down

0 comments on commit 09ad5a5

Please sign in to comment.