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

Sometimes removing incomplete backups fails #14

Closed
mattlyons0 opened this issue Feb 21, 2018 · 4 comments
Closed

Sometimes removing incomplete backups fails #14

mattlyons0 opened this issue Feb 21, 2018 · 4 comments

Comments

@mattlyons0
Copy link
Owner

mattlyons0 commented Feb 21, 2018

Permission denied errors... rm: cannot remove

Make sure this doesn't mess up complete snapshot count

@mattlyons0
Copy link
Owner Author

Also instead of removing incomplete backups why don't we just move them to a new folder and continue there

@mattlyons0
Copy link
Owner Author

Fixed incomplete backups messing up complete snapshot count in df05f82

@mattlyons0
Copy link
Owner Author

Changed to not remove most recent incomplete backup but move to newer folder and let rsync delete if data is not needed in 860f9bb

@mattlyons0
Copy link
Owner Author

The same could happen with deleting old snapshots. Need to investigate solution to run rm as sudo as well.

Will probably have to recommend rm is added as nopasswd to /etc/sudoers

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

No branches or pull requests

1 participant