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

deleteCloudContainerLocalOnly:YES Deletes All Devices #29

Open
kdbdallas opened this issue Dec 5, 2013 · 4 comments
Open

deleteCloudContainerLocalOnly:YES Deletes All Devices #29

kdbdallas opened this issue Dec 5, 2013 · 4 comments
Assignees
Milestone

Comments

@kdbdallas
Copy link

I ran [self.ubiquityStoreManager deleteCloudContainerLocalOnly:YES]; on my Mac app expecting to only delete the contents of that device, however instead it deleted the contents on all devices, just as if I had specified NO instead of YES

@lhunath
Copy link
Owner

lhunath commented Dec 6, 2013

Can you provide USM logs of what happens when you do this?

@kdbdallas
Copy link
Author

Of course. I had a work Christmas party which included an overnight stay at a fancy hotel, so I had to run after finding this, and now trying to play catch up work being a grown up :( Should be able to in a couple hours (that means I am going to loose my data again!!! NOOOO!!!)

:)

On Dec 6, 2013, at 12:43 PM, Maarten Billemont [email protected] wrote:

Can you provide USM logs of what happens when you do this?


Reply to this email directly or view it on GitHub.

@lhunath
Copy link
Owner

lhunath commented Dec 6, 2013

well, if you do a setCloudDisabledAndOverwriteLocalWithCloudIfConfirmed: to force a migration from cloud -> local, then do a [self.ubiquityStoreManager deleteCloudContainerLocalOnly:YES]; you can always do a setCloudEnabledAndOverwriteCloudWithLocalIfConfirmed: any time later to migrate local back to cloud and re-populate if your cloud store did get emptied :-)

@lhunath
Copy link
Owner

lhunath commented Dec 6, 2013

... or just migrateCloudToLocal and migrateLocalToCloud.

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

2 participants