Commit Graph

10 Commits

Author SHA1 Message Date
HDVinnie
8c8e2865b2 refactor: camel case function naming to underscore 2020-04-24 11:04:24 -04:00
HDVinnie
4b9c006a05 chore: phpdoc blocks cleanup 2020-03-05 10:46:14 -05:00
HDVinnie
e47afe4ab4 chore: styleci 2020-02-12 14:51:22 -05:00
HDVinnie
80c842e39c chore: update license block
- make styleci happy
2020-02-12 14:49:18 -05:00
HDVinnie
dbb928f940 chore: update license block 2020-02-12 14:45:59 -05:00
HDVinnie
9a893662de Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-08 16:28:32 +00:00
HDVinnie
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
HDVinnie
79b5fc8d13 (Update) Backup Manger 🔐
- remove `ini_set('memory_limit', '1024M');`left from testing.
2019-02-13 14:24:22 -05:00
HDVinnie
00d37e2b38 Apply fixes from StyleCI 2019-02-13 19:20:44 +00:00
HDVinnie
51719ec5b1 (Update) Backup Manger 🔐
- 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.
2019-02-13 13:46:45 -05:00