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

Allow to continue past an interrupted backup run #1

Open
jnoss opened this issue Sep 5, 2017 · 0 comments
Open

Allow to continue past an interrupted backup run #1

jnoss opened this issue Sep 5, 2017 · 0 comments

Comments

@jnoss
Copy link

jnoss commented Sep 5, 2017

Currently if the backup process gets interrupted there might be a partial qcow exported into the QCOW_TEMP_PATH - this will cause subsequent runs to fail as the backup cannot continue if the QCOW_TEMP_PATH is not empty. A fix for this is to have each qcow export go into a new temporary directory inside QCOW_TEMP_PATH, say a folder name generated with uuidgen - then use this full path for the rsnap as well. When done with each image, remove the temporary qcow file and the temporary directory. That way any partial exports or interrupted backups will only orphan this temporary directory but won't cause future runs to fail, as future backups will go into new subdirectories within QCOW_TEMP_PATH.

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

1 participant