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

How can we automatically delete partial transfers? #46

Open
ceremcem opened this issue May 26, 2017 · 1 comment
Open

How can we automatically delete partial transfers? #46

ceremcem opened this issue May 26, 2017 · 1 comment
Labels

Comments

@ceremcem
Copy link

When a synchronization is interrupted, following error is thrown upon next run:

...
/mnt/erik/snapshots/rootfs/rootfs.20170526T0150 (1.268 GiB)
  ERROR: {u'traceback': u'  File "build/bdist.linux-x86_64/egg/buttersink/ButterStore.py", line 179, in receive', u'errorType': u'Exception', u'command': u'receive', u'server': True, u'error': u"Path /mnt/aea3/snapshots/rootfs/rootfs.20170526T1708 exists, can't receive b118c47c-3128-fc40-8999-1da4c89c4dec"}.

How can I tell buttersink to remove the problematic transfer automatically (maybe delete or mark as "to be deleted")?

@AmesCornish
Copy link
Owner

I consider this a bug: Buttersink should catch the interruption and rename the subvolume with '.part' at the end. A user script could delete all the '.part' subvolumes, after any troubleshooting.

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

2 participants