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

Exclude checkpoint archives #9

Open
varac opened this issue Aug 16, 2018 · 1 comment
Open

Exclude checkpoint archives #9

varac opened this issue Aug 16, 2018 · 1 comment

Comments

@varac
Copy link

varac commented Aug 16, 2018

Using --last 1 will eventually show a checkpoint archive, which I not consider a successful archive (which you documented already in the README).

I use this to show the last successful backup timestamp in the repo:

borg list --sort timestamp  --format '{time}{TAB}{name}{NEWLINE}'  $REPOSITORY  | grep -v '\.checkpoint$' | tail -1 |  cut -f 1
@bebehei
Copy link
Owner

bebehei commented Aug 18, 2018

@varac I'd be happy to receive a PR.

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

No branches or pull requests

2 participants