{"repo":"stefanzweifel/laravel-backup-restore","free":true,"listed":false,"github":"https://github.com/stefanzweifel/laravel-backup-restore","clone":"git clone https://github.com/stefanzweifel/laravel-backup-restore.git","description":"A package to restore database backups made with spatie/laravel-backup.","language":"PHP","stars":214,"topics":["backup","laravel","restore","spatie-laravel-backup"],"license":"MIT","category":"databases-storage","readme_excerpt":"Restore database backups made with spatie/laravel-backup A package to restore a database backup created by the spatie/laravel-backup package. The package requires Laravel v12 or higher and PHP 8.4 or higher. Installation You can install the package via composer: Optionally, you can publish the config file with: These are the contents of the published config file: Usage To restore a backup, run the following command. You will be prompted to select the backup you want to restore and whether the encryption password from the configuration should be used, to decrypt the backup. The package relies on an existing config/backup.php -file to find your backups, encryption/decryption key and database connections. Note By default, the name of a backup equals the value of the APP NAME-env variable. The restore-commands looks for backups in a folder with that backup name. Make sure that the APP NAME-value is correct in the environment you're running the command. Optional Command Options You can pass disk, backup, database connection and decryption password to the Artisan command directly, to speed things up. Note that we used latest as the value for --backup . The command will automatically download the latest available backup and restore its database. --disk The filesystem disk to look for backups. Defaults to the first destination disk configured in config/backup.php . --backup Relative path to the backup file that should be restored. Use latest to automatically select latest backup. --c","default_branch":null,"files":null,"tree":[],"storefront":"/r/stefanzweifel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stefanzweifel/laravel-backup-restore/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}