@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | // Create the archive and place the version file in it |
84 | 84 | $this->zip = Zip::create(config('filesystems.disks.backup.root').DIRECTORY_SEPARATOR.$backupName); |
85 | 85 | $this->bar->advance(); |
86 | - $this->zip->add(config('filesystems.disks.backup.root') . DIRECTORY_SEPARATOR . 'version.txt'); |
|
86 | + $this->zip->add(config('filesystems.disks.backup.root').DIRECTORY_SEPARATOR.'version.txt'); |
|
87 | 87 | $this->bar->advance(); |
88 | 88 | $this->zip->add(base_path().DIRECTORY_SEPARATOR.'.env'); |
89 | 89 | $this->bar->advance(); |
@@ -115,9 +115,9 @@ discard block |
||
115 | 115 | $process = new Process('mysqldump tb-dev5-data -u root'); |
116 | 116 | $process->run(); |
117 | 117 | |
118 | - File::put(config('filesystems.disks.backup.root') . DIRECTORY_SEPARATOR . 'database.sql', $process->getOutput()); |
|
118 | + File::put(config('filesystems.disks.backup.root').DIRECTORY_SEPARATOR.'database.sql', $process->getOutput()); |
|
119 | 119 | $this->bar->advance(); |
120 | - $this->zip->add(config('filesystems.disks.backup.root') . DIRECTORY_SEPARATOR . 'database.sql'); |
|
120 | + $this->zip->add(config('filesystems.disks.backup.root').DIRECTORY_SEPARATOR.'database.sql'); |
|
121 | 121 | $this->bar->advance(); |
122 | 122 | } |
123 | 123 |