sebastianfeldmann / phpbu

PHP Backup Utility - Creates and encrypts database and file backups, syncs your backups to other servers or cloud services and assists you monitor your backup process
https://phpbu.de
Other
1.3k stars 110 forks source link

Update S3 docs #286

Closed BenBao93 closed 3 years ago

BenBao93 commented 3 years ago

The docs for AmazonS3 Sync state that the option "path" is not required and will be assumed with default "/". However if omitted an error is returned:

Exception 'phpbu\App\Backup\Sync\Exception' with message 'path is mandatory'
in src/Backup/Sync/AmazonS3.php:146

This seems to be because 'path' is included in the validation check call at src/Backup/Sync/AmazonS3.php:120

sebastianfeldmann commented 3 years ago

I'll just make path optional then :)

sebastianfeldmann commented 3 years ago

Starting from the next release path with really be optional.

Thanks :)