Aug 1, 2018
0
Level 1
hi guy how can i backup extra folder in spatie/laravel-backup on hosting?
in local host yes it backup all my db with all files.but when i host it i need to seperate setup.
/Home/user
/Home/user/laravel
this sub_domain folder is where all file in public folder copy.
/Home/user/public_html/sub_domain
i success backup but it only take /Home/user/laravel with mysqldump only i missing files on my /Home/user/public_html/sub_domain.
this is my controller backup
\Artisan::call('backup:run');
$output = \Artisan::output();
\Log::info("New backup started from admin interface \r\n" . $output);
return redirect()->back()->with(
'success',
'New backup created.'
);
Please help Thank in advance.
Please or to participate in this conversation.