Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Most of the save is in ~/serverfiles/server/rust-server/save
But in order to achieve a proper backup, you'd need the whole identity folder as there are also some data files from oxide (if using oxide) and the .db files.
(reminder : identity folder is in ~/serverfiles/server/rust-server)
Mine is 14MB. The server was wiped recently, but it shouldn't be that much to backup even for a big server.
As far as i understood, here is what data you got in the identity folder that you might wanna backup :
- /save folder : Inventories, objects on maps, resources, user constructions...
- Storage.db : Pictures and drawings on frames (wooden panels and so on)
- UserPersistence.dv : Player information, blueprints, etcc...
- oxide/data : Containing plugins' data, if using oxide
Important note : The map itself isn't save anywhere, it just depends on the map size (default 4000) and the seed number (default 0).
What you wanna do in order to save everything you need is write a bash script that copies that identity folder into a backup/${currentdate} folder, and cronjob that script.
Then if you need to rollback, just shutdown the server, delete the identity folder (or rename to bak.rust-server) and put one of the backups instead.
I don't have much time to do that script, but maybe it'll be the occasion for you to make some bash scripting, that's how we learn ;)
Now, i wrote all that to tell you in the end : the latest "main save" being 0.sav, and the server keeping 5 saves in total, if you just wanna rollback to a previous version, then rename 0.sav to bak.0.sav whaver save you wanna rollback to, to 0.sav.
It's that easy.