Skip to content

Commit

Permalink
Merge pull request #13230 from snipe/fixes/windows_backup_filename_co…
Browse files Browse the repository at this point in the history
…lon_wtf_issue

Fixed windows backup filename - swapped colon in timestamp to hyphen to handle windows filesystems
  • Loading branch information
snipe committed Jun 29, 2023
2 parents faf2a23 + fb9b3a5 commit e236bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ public function getBackups()
public function postBackups()
{
if (! config('app.lock_passwords')) {
Artisan::call('snipeit:backup', ['--filename' => 'manual-backup-'.date('Y-m-d-H:i:s')]);
Artisan::call('snipeit:backup', ['--filename' => 'manual-backup-'.date('Y-m-d-H-i-s')]);
$output = Artisan::output();

// Backup completed
Expand Down

0 comments on commit e236bf4

Please sign in to comment.