We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
crontab:
@hourly pg_dump -Fc > backup/db-$(date -Isecond).dump; timegaps --delete hours24,days7,weeks4,months6 backup/*.dump
This immediately deletes the files created a millisecond before. The directory backup will be empty for ever.
backup
That's confusing.
I found the solution: You need to add recent.
recent
Example:
@hourly pg_dump -Fc > backup/db-$(date -Isecond).dump; timegaps --delete recent1,hours24,days7,weeks4,months6 backup/*.dump
The "first time user experience" could get improved.
Why not switch to
if "recent" is missing, all recent file are kept?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
crontab:
This immediately deletes the files created a millisecond before. The directory
backup
will be empty for ever.That's confusing.
I found the solution: You need to add
recent
.Example:
The "first time user experience" could get improved.
Why not switch to
The text was updated successfully, but these errors were encountered: