Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct s3 backup instructions #59

Closed
MohamedElashri opened this issue Jan 18, 2023 · 2 comments
Closed

Correct s3 backup instructions #59

MohamedElashri opened this issue Jan 18, 2023 · 2 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@MohamedElashri
Copy link

In README the part about s3 backup part in .env file will not work and php artisan install will complain about spaces.

I think the correct way is to write

BACKUP_DISK= s3
AWS_ACCESS_KEY_ID= yourKeyId
AWS_SECRET_ACCESS_KEY = yourAccessKey
AWS_DEFAULT_REGION= us-east-1
AWS_BUCKET= yourCreativeBucketName
AWS_ENDPOINT= endpointUrl

Also

BACKUP_INTERVAL=0 0 */7 * *

will give

Failed to parse dotenv file. Encountered unexpected whitespace at [0 0 */7 * *].

I tried different syntaxes and still the same problem. I'm not an expert in PHP but I don't think we can have cron syntax with whitespace. Or maybe I'm missing something here.

@fr0tt fr0tt added documentation Improvements or additions to documentation bug Something isn't working labels Jan 18, 2023
@fr0tt
Copy link
Owner

fr0tt commented Jan 18, 2023

Thanks !
You're right, I have to change that.

(Btw I'm pretty sure BACKUP_INTERVAL="0 0 */7 * *" is going to work.)

@fr0tt
Copy link
Owner

fr0tt commented Jan 27, 2023

Should be corrected

@fr0tt fr0tt closed this as completed Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants