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

Add possibility to remove timestamp in backup_name #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

webalexeu
Copy link
Contributor

Hello,

PR proposal to be able to disable timestamp in backup name by setting BACKUP_NAME_TIMESTAMP = false

This is to be able to use versionning in S3 lifecycle policy

Thank you,
Alex

@webalexeu
Copy link
Contributor Author

Hello @peterrus ,

What do you think about that new feature?

Thanks for your feedback

Copy link
Owner

@peterrus peterrus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nitpick but otherwise good to go, thanks for your contribution @webalexeu !

@@ -20,7 +20,8 @@ The container is configured via a set of required environment variables:
- `S3_BUCKET_URL`: in most cases this should be `s3://name-of-your-bucket/`
- `AWS_DEFAULT_REGION`: The AWS region your bucket resides in
- `CRON_SCHEDULE`: Check out [crontab.guru](https://crontab.guru/) for some examples:
- `BACKUP_NAME`: A name to identify your backup among the other files in your bucket, it will be postfixed with the current timestamp (date and time)
- `BACKUP_NAME`: A name to identify your backup among the other files in your bucket
- `BACKUP_NAME_TIMESTAMP`: It will postfixed `BACKUP_NAME` with the current timestamp (date and time) (Optional, defaults to true)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe rephrase this into "BACKUP_NAME will be postfixed with the current timestamp (etc)" ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants