So... we see you haven't signed up here on our website.  

Do you really want to sit here and be "Unregistered" all your life?  No, of course you don't!  So, click this here link and you'll take that all important first step into enlightenment! (or something, whatever...)

[Completed] Backups only backing up my data

Discussion in 'Bug Reports' started by Ian Lee, Feb 17, 2018.

  1. Ian Lee

    Ian Lee New Member

    Points:
    37
    It appears that the RAT backups are only backing up my player data and not all the players on the server. Is this expected? I hope not. Unfortunately, I just discovered this after a player's data got corrupted and I needed to restore them. The restore function in RAT didn't fix him so I investigated and found this. Fortunately, I had a different backup. However, it wasn't as recent as the RAT backup would have been. Do I have something setup wrong or do backups not actually backup the entire game?

    Thanks!
    Ian
     
  2. Trekkan

    Trekkan JFF Administrator Staff Member

    Points:
    1,272
    There is no selective backup for RAT. Meaning, it backs up your savegame folder, which includes the player folder and all player files in it. Can you give me some specifics as to what you expected and what RAT did, and what your other backup had done the way you expected? I haven't heard of this issue before.

    Basically, also please paste the paths of your save games, etc.
     
  3. Ian Lee

    Ian Lee New Member

    Points:
    37
    In this screenshot you can see that in my 7D2D saves folder (Explorer on the right) that there are many player files. However, inside the backup .zip file that RAT created (Explorer on the bottom left) that there is only one player's data included. That player happens to be me. Something similar is happening in the Region backups. In the Saves directory there exist 698 .7rg files. However, the backup only contains 4 files. I don't know enough about these files to be able to know how they align.

    The other backup I've setup is just the Windows Backup utility to backup the entire game directory on a daily basis.
     

    Attached Files:

  4. Trekkan

    Trekkan JFF Administrator Staff Member

    Points:
    1,272
    Ok, I think I know what might be happening, please send me a screenshot of the Server Configuration tab.
     
  5. Ian Lee

    Ian Lee New Member

    Points:
    37
    Here it is.

    Thanks!
    Ian
     

    Attached Files:

  6. Trekkan

    Trekkan JFF Administrator Staff Member

    Points:
    1,272
    If you open your serverconfig.xml file, did you change the following property?

    <!--property name="SaveGameFolder" value="absolute path" /--> <!-- use this to override the default save game path -->

    If you did, RAT doesn't know about that setting currently.

    You can also set the backup source specifically in RAT instead of letting RAT figure it out. In your first screenshot, Uncheck the "Use Default Location", then under that, set the location of where your save game files are. RAT will back up everything in and under that folder. Let me know how that goes please. =)
     
  7. Ian Lee

    Ian Lee New Member

    Points:
    37
    That seems to have worked. I removed the path from the config and configured it through RAT as you instructed. Now my backups are 1.7 GB instead of the 3.9 MB that they were before... Wow.

    Thanks!
    Ian
     
  8. Trekkan

    Trekkan JFF Administrator Staff Member

    Points:
    1,272
    Sure thing, I need to add in support for that parameter from the config and things will be back to normal without you having to set it.
     
  9. Ian Lee

    Ian Lee New Member

    Points:
    37
    BIG PROBLEM. Apparently, I didn't do a full restart after testing that yesterday. Just did a restart after testing the fix for shutting down and discovered a big problem with this fix. When you remove the path from the config, the game saves a new game to the default users/appdata folder instead of the RAT configured save folder which starts a new game. I had to restore the path in config file in order to get the game back. Please fix this ASAP. I think I'm going to have to go back to the stable build. Too many issues in this one.
     
  10. Trekkan

    Trekkan JFF Administrator Staff Member

    Points:
    1,272
    Ok, that makes sense. I'll get it fixed. =)
     
  11. Trekkan

    Trekkan JFF Administrator Staff Member

    Points:
    1,272
    Also, this issue won't be any different in another version of RAT, as that bug has to of been there for some time. I think most people use the default save game folder and it wasn't noticed.
     
  12. Ian Lee

    Ian Lee New Member

    Points:
    37
    It seems to be working if I uncheck the default location box and supply the save path in both the config file and in RAT. Who knows, it may start a new game next time I restart but for now it appears to be running the correct game and creating proper backups.
     
  13. Trekkan

    Trekkan JFF Administrator Staff Member

    Points:
    1,272
    Fixed for next release, sorry its taken so long, been very busy lately.
     

Share This Page