spatie / laravel-backup

A package to backup your Laravel app

Home Page:https://spatie.be/docs/laravel-backup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to retrieve backups using backup:list

ubxty opened this issue · comments

Using s3 bucket to store backups on aws
The s3 user has s3FullAccess Policy attached
php artisan backup:run works
Starting backup...
Dumping database laravelapp...
Determining files to backup...
Zipping 19807 files and directories...
Created zip containing 19807 files and directories. Size is 636.66 MB
Copying zip to disk named s3BACKUP...
Successfully copied zip to disk named s3BACKUP.
Backup completed!

backup:list
+-------------+-------+-----------+---------+--------------+---------------+--------------+
| Name | Disk | Reachable | Healthy | # of backups | Newest backup | Used storage |
+-------------+-------+-----------+---------+--------------+---------------+--------------+
|laravelapp |s3BACKUP | ❌ | ❌ | / | / | / |
+-------------+-------+-----------+---------+--------------+---------------+--------------+

| The backup destination cannot be reached. exception 'Aws\S3\Exception\S3Exception' with message 'Error executing "ListObjectsV2" on s3_bucket_path
resulted in a 404 Not Found response: |
| | | | |
| | | | NoSuchKeyThe specified key does not exist. (truncated...) |
| | | | NoSuchKey (client): The specified key does not exist. -

From .env
S3_AWS_BUCKET=mybucket
S3_AWS_URL=https://s3.us-east-1.amazonaws.com/
S3_AWS_ENDPOINT=https://s3.us-east-1.amazonaws.com/mybucket

Please advise