Developer V2C Posted March 13, 2015 Developer Share Posted March 13, 2015 Server snapshots are now fully supported in DST!What is a snapshot?Anytime your world is saved, whether from auto-saving or shutting down, a snapshot is being created.Snapshots can be used to restore your world to an earlier save when needed. Here's how to access your saved snapshots from the server creation screen:1. Select your server and click [Manage Server] 2. Select the snapshot you want (most recent ones are listed first)As you can see, it remembers that I died in Wilderness mode and switched characters on Day 3. 3. Once you click [Yes], the rollback will become permanent By default, the five latest snapshots are kept per server. This can be overridden:In settings.ini, you can specify how many snapshots to keep at a time (per server):[MISC]max_snapshots = 5 Console commands:Examples:c_rollback() <- Rollback one snapshotc_rollback(3) <- Rollback three snapshots Directory and file structure explained:\\Documents\...\save\session\0ABC123000000000\0000000001 <- world snapshot 1\\Documents\...\save\session\0ABC123000000000\0000000002 <- world snapshot 2\\Documents\...\save\session\0ABC123000000000\0000000003 <- world snapshot 3\\Documents\...\save\session\0ABC123000000000\KU_A_-b1234_\minimap <- user local minimap cache\\Documents\...\save\session\0ABC123000000000\KU_A_-b1234_\0000000002 <- user snapshot 2\\Documents\...\save\session\0ABC123000000000\KU_A_-b1234_\0000000003 <- user snapshot 3 Link to comment Share on other sites More sharing options...
DarkXero Posted March 13, 2015 Share Posted March 13, 2015 The mystery of the 0000000s is solved!This is awesome and the console makes it very practical to go back once the berry bushes start burning! Link to comment Share on other sites More sharing options...
ToNiO55 Posted March 13, 2015 Share Posted March 13, 2015 Hi, @V2C, thx you very much for for the explanations can you add this on wiki please? http://dont-starve-game.wikia.com/wiki/Don%E2%80%99t_Starve_Together_Dedicated_Servers Link to comment Share on other sites More sharing options...
Mushu Posted March 17, 2015 Share Posted March 17, 2015 My friend have Don't starve, but the snap option is unavailable for him? Like all grey? Link to comment Share on other sites More sharing options...
toastmasta Posted March 21, 2015 Share Posted March 21, 2015 Server snapshots are now fully supported in DST!What is a snapshot?Anytime your world is saved, whether from auto-saving or shutting down, a snapshot is being created.Snapshots can be used to restore your world to an earlier save when needed. Here's how to access your saved snapshots from the server creation screen:1. Select your server and click [Manage Server] 2. Select the snapshot you want (most recent ones are listed first)As you can see, it remembers that I died in Wilderness mode and switched characters on Day 3. 3. Once you click [Yes], the rollback will become permanent By default, the five latest snapshots are kept per server. This can be overridden:In settings.ini, you can specify how many snapshots to keep at a time (per server):[MISC]max_snapshots = 5 Console commands:Examples:c_rollback() <- Rollback one snapshotc_rollback(3) <- Rollback three snapshots Directory and file structure explained:\\Documents\...\save\session\0ABC123000000000\0000000001 <- world snapshot 1\\Documents\...\save\session\0ABC123000000000\0000000002 <- world snapshot 2\\Documents\...\save\session\0ABC123000000000\0000000003 <- world snapshot 3\\Documents\...\save\session\0ABC123000000000\KU_A_-b1234_\minimap <- user local minimap cache\\Documents\...\save\session\0ABC123000000000\KU_A_-b1234_\0000000002 <- user snapshot 2\\Documents\...\save\session\0ABC123000000000\KU_A_-b1234_\0000000003 <- user snapshot 3 Does this replace the actual survival game save files ? If I go into My Docs/Klei/DontStarveTogether/Save, I no longer see any of the game files associated with my save games, ie. Survival_1, Survival_2 ect. I see all of the other files in the dir; saveindex, modindex, profile ect, but not the actual World save games. Does the snapshot system replaces these save file names? Or am I missing something here. For vanilla Dont Starve, I can locate the save files within the actual Steam Dir. Link to comment Share on other sites More sharing options...
Developer V2C Posted March 21, 2015 Author Developer Share Posted March 21, 2015 Yes, the world snapshot files replaced the old ones. Link to comment Share on other sites More sharing options...
toastmasta Posted March 21, 2015 Share Posted March 21, 2015 Yes, the world snapshot files replaced the old ones. Cool thanks for the quick response. I was manually backing up before. Good to know. Link to comment Share on other sites More sharing options...
jrose78 Posted March 23, 2015 Share Posted March 23, 2015 First, I made the mistake of thinking it was c_rollback(the day to rollback to) . I put in something like day 390 and it went to day 1 and now there is no way to undo that. Second, if I rollback a day and that is not enough can I then rollback another day? Link to comment Share on other sites More sharing options...
Developer V2C Posted March 24, 2015 Author Developer Share Posted March 24, 2015 Yes you can use that command more than once. I do recommend using the server admin screen, as it is much more clear what day you are rolling back to. Link to comment Share on other sites More sharing options...
jrose78 Posted March 24, 2015 Share Posted March 24, 2015 Yes you can use that command more than once. I do recommend using the server admin screen, as it is much more clear what day you are rolling back to. Are you working on a control panel for the dedicated server or do I have to launch the game via remote desktop to see that interface? Thanks Link to comment Share on other sites More sharing options...
greenglacier Posted March 28, 2015 Share Posted March 28, 2015 Snapshots can be used to restore your world Aww yiss. Link to comment Share on other sites More sharing options...
sansavarous Posted April 3, 2015 Share Posted April 3, 2015 For those on a Linux dedicated server with no GUI. The location for the snapshots is ... ~/.klei/DoNotStarveTogether/save/session In case you don't know the ~ is a tilde, in unix it represents the home directory of the logged in user. Link to comment Share on other sites More sharing options...
Gigadroid Posted May 1, 2015 Share Posted May 1, 2015 I looked into settings.ini and I couldn't find "max_snapshots = 5" anywhere. Have they been moved elsewhere because I wish to increase it to 10 and above? Adding that line manually doesn't seem to do anything either. Unless I need to make a new server for that......which is.......a hassle. EDIT: Oopsie it's 'fixed'. Had to manually add into settings.ini when DST was closed. LOL Link to comment Share on other sites More sharing options...
Ofortuna Posted May 19, 2015 Share Posted May 19, 2015 Any idea how I would do this if I am using the steamcmd and running the DST server from another machine. My hosted servers is blank on this machine. Link to comment Share on other sites More sharing options...
WillPwn4Food Posted June 13, 2015 Share Posted June 13, 2015 Could someone help me out? I'm trying to back up a world on my Mac but all the folders and files under my "Saves" folder don't seem to follow any pattern of date or world number or anything. Does anyone know how to decode them? I can post a few if someone wants Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.