Released v2 of laravel-backup-restore over the weekend (finally!).
The import now no longer runs through the shell, but pipes all credentials to mysql/psql/mariadb binaries directly.
Also handles SIGINT, SIGTERM and SIGHUP + better Windows support.
https://github.com/stefanzweifel/laravel-backup-restore/releases/tag/v2.0.0
GitHubRelease v2.0.0 · stefanzweifel/laravel-backup-restorev2 no longer imports dumps through a shell. Before, the package built the import as a command string and ran it through /bin/sh -c. It now passes an argument array straight to the database client, ...
commit 6ec67cc