question

a.murashko@gamedevsource.com avatar image
a.murashko@gamedevsource.com asked

Backup full server data and rollback last commit

How can I backup full data? Include: script, title data, inventory and other.

And how rollback last commit from web admin?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

brendan avatar image
brendan answered

We back up all data for the service on a daily basis, to ensure we have everything needed to recover from a worst-case disaster scenario (which would actually require that multiple AWS availability zones be wiped out at the same time). For an individual title, you should maintain a repository of your title's configuration history, the same way you do for your code. We'll be expanding our GitHub soon, to provide a way for you to maintain all your game configuration details in a GitHub repository and update your title via the GitHub checkin process, to make things simple.

If you mean rolling back everything, including all player data, that's not currently supported in the shared PlayFab service. For enterprise customers using a private instance of PlayFab, we can make that option available.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

a.murashko@gamedevsource.com avatar image
a.murashko@gamedevsource.com answered

What about the human factor? The developer made a mistake and need to roll back the changes for all players?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

brendan avatar image
brendan answered

Developers making changes to Title Data, Title News, etc., can roll back those changes trivially by updating to the previous values. The audit log of the title contains all the information on the change that was made, as well.

If a developer makes a change to a specific player, that doesn't currently appear on the audit history, but it does appear in the PlayStream for that player, so it's also possible to roll back those changes.

Rolling back an entire title isn't an option in our shared service, as there isn't a simple, cost-effective way to do that. It would require going through the database and updating all the entries for that title but no other. In addition to being costly, this would require that the title be put in an unavailable state while that was taking place.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jonas Johnsson avatar image
Jonas Johnsson answered

is backup title data and roll back title data available now?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

brendan avatar image
brendan answered

As stated in the previous post, we regularly backup all data for the service, but checkpoint restores for individual titles is not a feature we have enabled as yet. We prioritize in part based on the aggregate developer feedback from our community, so adding/voting up a request for this in our Feature Requests forum would be the place to start.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

yarden avatar image
yarden answered

Hello there, Just found this thread,
For some reason all of our 9 players had their email changed to 'null' yesterday, not sure how that happens... Is it possible to roll back these changes?

Thank you

5 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

yarden avatar image yarden commented ·

Actually, looking at the individual players, their email addresses didn't change to Null but still a very scary event... is it our bug or playfabs?

0 Likes 0 ·
brendan avatar image brendan yarden commented ·

What specifically did you see that made you think the email addresses were null? Also, what Title ID is this? It is the case that no player email address can change in PlayFab without a specific API call or Game Manager action being taken to do so.

0 Likes 0 ·
yarden avatar image yarden brendan commented ·

Thanks Brendan,

The game ID is 5131

and here's an example of such an event:

{
    "EventName": "player_updated_contact_email",
    "EmailName": "Primary",
    "PreviousEmailAddress": "zavalhuk@mail.ru",
    "NewEmailAddress": null,
    "EventNamespace": "com.playfab",
    "EntityType": "player",
    "Source": "PlayFab",
    "TitleId": "5131",
    "EventId": "caaa3344c414488c8eb0cf21a7af6e13",
    "EntityId": "A4AD03D9B1202018",
    "SourceType": "BackEnd",
    "Timestamp": "2017-09-28T02:56:31.1775262Z",
    "History": null,
    "CustomTags": null,
    "Reserved": null 

}

Maybe we are reading this wrong...?

Thank you,

0 Likes 0 ·
Show more comments
yarden avatar image yarden commented ·

Thank you,

We'll just ignore it for now ;)

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.