You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/factorio-server-charts/README.md
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -108,14 +108,26 @@ serverPassword:
108
108
```
109
109
## Importing a save file
110
110
111
-
> :warning: Importing a save file will **DESTROY THE SERVER SAVEFILE** with the name specified in `factorioServer.save_name`. Import with caution!
111
+
> :warning: Importing a save file will **OVERWRITE THE SERVER SAVEFILE** with the name specified in `factorioServer.save_name`. Import with caution!
112
112
113
-
To import an existing save file, start/restart the pod at least once. This will create the factorio folder structure.
113
+
### Importing by URL
114
114
115
-
Now, copy your existing savegame to the `/factorio/save_to_import/<existing_savegame_name>.zip` on the running pod using whatever mechanism you prefer. To do this with kubectl:
115
+
To import your save file from a URL, set `import_save.source_url` to a direct-download link for your savegame. By default, the file will be downloaded and imported only once.
116
+
117
+
If, on pod intialization, you wish to re-import the file every time the contents of the savegame change, set `import_save.reimport_on_change` to `true`.
118
+
:warning: If the savegame at the source url changes, this will overwrite the server save with that file. Use with caution!
119
+
120
+
If you wish to reimport the save file every time the pod reinitializes, regardless of changes, set `import_save.reimport_every_time` to `true`. This could be useful for demos or testing.
121
+
:warning: This will overwrite the server savegame **every time the pod reinitializes**. Use with caution!
122
+
123
+
### Manual Import
124
+
125
+
To import an existing save file, start/restart the pod at least once. This will create the import folder structure.
126
+
127
+
Now, copy the savegame you wish to import to the `/factorio/save-importer/import/<existing_savegame_name>.zip` on the running pod using whatever mechanism you prefer. To do this with kubectl:
0 commit comments