Just an initial portion for now fixing incorrect text and preventing future incorrect text. Eventually, I'd like to fix everything still listed under "ignoredWords" in cspell.json.
- Add Extra Security Measures To Backups!
- We simply listen for when the .zip-file generated by the backupmanger is done, grabs it and applies your password and encryption of your liking.
- NOTE:
Encryption Types:
\App\Helpers\BackupEncryption::ENCRYPTION_DEFAULT (PKWARE/ZipCrypto)
\App\Helpers\BackupEncryption::ENCRYPTION_WINZIP_AES_128 (AES 128)
\App\Helpers\BackupEncryption::ENCRYPTION_WINZIP_AES_192 (AES 192)
\App\Helpers\BackupEncryption::ENCRYPTION_WINZIP_AES_256 (AES 256)
Important information regarding encryption:
Using the ENCRYPTION_DEFAULT (PKWARE/ZipCrypto) crypto gives you the best portability as most operating systems can natively unzip the file – however, ZipCrypto might be weak. The Winzip AES-methods on the other hand might require a separate app and/or licence to be able to unzip depending on your OS; suggestions for macOS are Keka and Stuffit Expander.
Also to note is that when zipping very large files ZipCrypto might be very inefficient as the entire data-set will have to be loaded into memory to perform the encryption, if the zipped file's content is bigger than your available RAM you will run out of memory.
Password:
The default is the application key (APP_KEY in your .env-file). You might want to set something more appropriate. Remember to use long strings and to keep your password safe – without it you will never be able to open your backup. Set to NULL if you want to keep your backup without a password.
- With default configs when you run the backup process a zip of your DB
dump and your applications files will be placed in the /storage/app/
dir.
- Please go through the backup.php config…….theres lots you can adjust
to your liking.
- This requires one to run composer install
- This requires php-zip module