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

In ArchiveBackupAsync I get an error if I don't create the partition temp folder first #42

Open
PTC-JoshuaMatthews opened this issue May 11, 2020 · 0 comments

Comments

@PTC-JoshuaMatthews
Copy link

PTC-JoshuaMatthews commented May 11, 2020

I found this example useful as a way to setup code based backup and restore for my stateful service.

I did get an error when attempting to restore my backup that the file location did not exist. This was due to there being a temp folder, but not temp/partitionId folder on my local 5 node cluster's filesystem. Maybe that's a different issue.

Ultimately I added

Directory.CreateDirectory(this.PartitionTempDirectory);

at line 91 of /Inventory.Service/AzureBackupStore.cs to get things working smoothly.

Just making this available for anyone experiencing the same issue.

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