useful-php-scripts
useful-php-scripts copied to clipboard
How to backup to specific Folder on server itself?
Please share how to backup to a specified directory on the Server.
I'm trying to do same. I added these lines but it's not working.
$file = public_path('backups/' . $backup_name); file_put_contents($file, $content);
Any help please
My Gist could help https://gist.github.com/uvulpos/3e7f335f46bd9400c368222d38e81da8