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

scp_backup_to is not idempotent #9

Open
mgedmin opened this issue Oct 17, 2018 · 0 comments
Open

scp_backup_to is not idempotent #9

mgedmin opened this issue Oct 17, 2018 · 0 comments
Labels

Comments

@mgedmin
Copy link
Member

mgedmin commented Oct 17, 2018

If I do scp_backup_to /somewhere and run pov-simple-backup -s twice, I end up with two copies of everything:

/somewhere/2018-10-17/foo.tar.gz
/somewhere/2018-10-17/2018-10-17/foo.tar.gz

(If I run it a third time, I don't get a third copy, instead the 2nd copy is overwritten.)

Note that this interacts interestingly with #8: if BACKUP_SUFFIX is -mail I end up with

/somewhere/2018-10-17/foo.tar.gz
/somewhere/2018-10-17/2018-10-17-mail/foo.tar.gz
@mgedmin mgedmin added the bug label Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant