I'm using Laravel and I'm looking for a way to back up my database with php code. I want these backup files to be saved in paths such as other drives or usb drives (by the user's choice: so that the user enters the Windows path in the software, such as: "D: \").
I also use xampp to set up a server on Windows.
It is better to suggest if you know the standard Laravel package in this regard.
I tried https://github.com/spatie/laravel-backup. it's very good and has many options to manage your backup.
I suggest if you want to show a better report of the backups that have been taken to your user in the software. Create a table and store additional information in it and use this table to display information to the user.