# Backing Up/Syncing Eden Game Saves Use this guide for when you want to configure automated backup/syncing of your Eden save files using [*Syncthing](https://syncthing.net/)* on Windows. **Click [Here](https://evilperson1337.notion.site/Backing-Up-Syncing-Eden-Game-Saves-2b057c2edaf680f5aa9cd1c4f97121ce) for a version of this guide with images & visual elements.** --- ### Pre-Requisites - Read the [*Syncthing General Guide*](./SyncthingGuide_General.md). - Eden already installed, configured, and functioning. - Ability to allow a program to communicate through the firewall in Windows. - Ability to extract archive (.zip/.7z/.rar) files. --- ## Steps ### Downloading and Installing *Syncthing* 1. Download [*Syncthing Tray*](https://martchus.github.io/syncthingtray/#downloads-section). 1. While it is available as a command line interface, for most people I would recommend *Syncthing Tray* on Windows. For most people here, you would download the **64-bit (Intel/AMD)** version. 2. Open the downloaded archive and extract the **syncthingtray.exe** to wherever you want to store the executable. 3. Double-Click the application to run it, select the **Start guided setup** on the splash screen that appears and press **Next**. 4. It will then look for an existing Syncthing instance to pull settings from, but will likely fail to do so if you are here. Regardless, select the **Yes, continue configuration** option. 5. Select ***Start Syncthing application that is built into Syncthing Tray***, this means it will use a built in Syncthing executable rather than relying on an externally provided one. Press **Next** to continue. 6. Check the box to start Syncthing Tray on login - as the name implies, this means the program will run automatically whenever you log onto the computer. Press Next to continue. 7. You will now be presented with a confirmation window with your selections, confirm they are what you want and hit **Apply** to continue. 8. You will now be prompted with a confirmation window and a message to allow it through the firewall. Allow the access through the firewall to close that pop up. The confirmation screen has a QR code and the devices identifier - you will need one of these to add other devices to the sync system. 9. *Syncthing/Syncthing Tray* are now installed. --- ### Configuring this Machine as a Parent Use this when you want to set this machine as the initial source of truth (push files out to all the other devices). Afterwards they will all be equal partners, not a parent/child relationship, this just helps with initial setup. 1. Right-Click the *Syncthing* Tray icon in your taskbar and select **Open Syncthing.** 2. You will now have a browser window open up to a web GUI to configure *Syncthing*. You will get a pop up about allowing anonymous usage and setting a password, make your selections to close them. 3. We’ll start by adding the folder with our save files that we want to sync by Pressing **+ Add Folder**. 4. A pop-up window will appear, fill in the Folder label field with whatever you want to call it, like Switch Saves. 5. Enter the Full folder path to where your save files are stored on this machine. 6. Ignore the other tabs for now and hit **Save**. 7. The folder is now ready to be shared with other devices. --- ### Configuring this Machine as a Child Use this when you want to set this machine up as a child (pull files from the other devices). Afterwards they will all be equal partners, not a parent/child relationship, this just helps with initial setup. 1. Install Syncthing Tray on the client device following the section above. Copy the child’s ID and store it so it is accessible to the Parent. 2. ***ON THE PARENT***: Right-Click the *Syncthing* Tray icon in your taskbar and select **Open Syncthing** if it is not open already**.** 3. You will now have a browser window open up to a web GUI to configure *Syncthing*. You will get a pop up about allowing anonymous usage and setting a password, make your selections to close them. 4. Navigate down to **+ Add Remote Device**, we are going to add our Child device, so I hope you have its ID handy. If not, go back and get it. 5. Add the ID and Name the device, the device may appear as a **nearby device**, in which case you can just click it to pre-populate the Device ID. 6. Click the **Sharing** Tab, and check the box next to the folder you set up on the Parent (Switch Saves in my case). Hit **Save.** 7. We are done with the parent, now **SWITCH OVER TO THE CHILD.** 8. ***ON THE CHILD***: Right-Click the *Syncthing* Tray icon in your taskbar and select **Open Syncthing** if it is not open already**.** 9. You should now see a connection request from the parent. Hit **+ Add Device** to add the device. 10. Hit **Save** to finish adding the device. 11. That pop-up will close and you will get notification that the device wants to share a folder now. Hit **Add.** 12. Enter the path to the save folder in Eden and hit **Save.** 13. *Syncthing* will now pull all the files from the Parent and store them in your local save directory. At this point the files are in sync and alterations to one will affect the other and both can be considered “*Parents*” for other devices you want to add. Repeat these steps for as many devices you want.