enupal / backup

Fully integrated Backup solution for Craft CMS
https://enupal.com/craft-plugins/enupal-backup
Other
16 stars 3 forks source link

Not backing up assets to Amazon S3 #48

Closed CreateSean closed 10 months ago

CreateSean commented 10 months ago

Description

Craft 4.4.16.1 Enupal Backups 2.1.0

I've got Enupal working so that it backups up everything. However when I check the S3 bucket the assets are not there, though I can see the database, logs, and config files in S3.

Also when I ran the backup I did not receive an email despite having added my email address and enabling to the notifications option. The website does successfully send emails via the freeform plugin.

Please advise.

Steps to reproduce

1. 2.

Additional info

andrelopez commented 10 months ago

Hi @CreateSean are you able to see the assets on the CP when you click the Backup ID link on the Backups index page? if so what is the folder size? does the backup show as finished ?

CreateSean commented 10 months ago

@andrelopez Yes I can see it,, it's 6.05gb and is finished. See screenshot

image

andrelopez commented 10 months ago

@CreateSean could you please try enabling MultiPartUpload on Enupal Backup -> Settings -> Amazon S3 this setting could help on backups higher than 1gb

Screenshot 2023-10-25 at 5 23 34 pm
andrelopez commented 10 months ago

@CreateSean The email functionality is working on my side, could you please make sure the Sender Email Address on Enupal Backup -> Settings -> Notifications is the same as your System Email Address on your Craft email settings? Also are you using a custom overrides template?

CreateSean commented 10 months ago

@andrelopez multipartupload was already enabled.

changed email address and got notification on backup I just ran. However checking in Amazon see screenshot

image

Also I'm setting up cron in Laravel forge with the command in red is it okay to change that to a full url with https?

image

andrelopez commented 10 months ago

could you please send me a copy of your storage/logs folder to support@enupal.com? I found your old emails :)

CreateSean commented 10 months ago

Sent logs just now.

andrelopez commented 10 months ago

Hey @CreateSean We just released Enupal Backup v2.2.0 with a fix to this issue (also the issue of deleting multiple backups from the index page) please let me know how it goes

andrelopez commented 10 months ago

Also I'm setting up cron in Laravel forge with the command in red is it okay to change that to a full url with https?

Yes you can change to a full URL with HTTPS, you can try the URL manually in an incognito window you should receive a small json response.

Remember to run also php craft queue/run so the backup can start right away

andrelopez commented 10 months ago

Issue fixed on Enupal Backup 2.2.0