When I do a backup, we transfer It to another server and today I wanted to unzip to check the contents and It asks me for a password.
I checked the config files, documentation, but I cannot seem to find where to find It or how to set It
Package: spatie/laravel-backup
CodePudding user response:
In the config of spatie/laravel-backup is the following entry:
/*
* The password to be used for archive encryption.
* Set to `null` to disable encryption.
*/
'password' => env('BACKUP_ARCHIVE_PASSWORD'),
So either is here a password set or have a look to your .env file and search for BACKUP_ARCHIVE_PASSWORD
.
CodePudding user response:
As @stefket suggested, we had a BackupZipWasCreated event listener that was overwriting how backups are encrypted.
Kudos to @stefket!