I\'m writing code in Laravel 5 to periodically backup a MySQL database. My code thus far looks like this:
$filename = \'database_backup_\'.date(\'G_a_m_d_y\
You can try this code
$contents = Storage::get($file); Storage::disk('s3')->put($newfile,$contents);
As Laravel document this is the easy way I found to copy data between two disks