Skip to content

Commit

Permalink
Merge pull request #61 from butcherman/dev4
Browse files Browse the repository at this point in the history
Dev4
  • Loading branch information
butcherman committed Dec 28, 2018
2 parents 675ff58 + 285ed73 commit 257ae52
Show file tree
Hide file tree
Showing 51 changed files with 1,669 additions and 920 deletions.
11 changes: 7 additions & 4 deletions app/Console/Commands/BackupApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ public function __construct()
// Create backup of system
public function handle()
{
// Extend the Max Execution time for the script
ini_set('max_execution_time', 600); //600 seconds = 10 minutes

$backupType = $this->argument('type');
$backupDir = config('filesystems.disks.backup.root');
$backupTmp = config('filesystems.disks.backup.root').DIRECTORY_SEPARATOR.'tmp';
$localDir = config('filesystems.disks.local.root');
$publicDir = config('filesystems.disks.public.root');
$backupDir = config('filesystems.disks.backup.root');
$backupTmp = config('filesystems.disks.backup.root').DIRECTORY_SEPARATOR.'tmp';
$localDir = config('filesystems.disks.local.root');
$publicDir = config('filesystems.disks.public.root');
$backupBase = $backupType.'_backup-'.Carbon::now()->toDateString().'_'.Carbon::now()->hour.Carbon::now()->minute;

// Determine if the backup file already exists
Expand Down

0 comments on commit 257ae52

Please sign in to comment.