15

I found this Python script a few years ago, it is simple enough that a non-programmer could understand 90% of it. I just remembered it had been running as a scheduled task all this time when I thought I had lost some saves.

Thought I'd post it here in case anyone can use it. Minor things are hard coded but they are few and easy to edit.

https://github.com/nonbhoward/backup_factorio_saves/blob/main/run.py

top 6 comments
sorted by: hot top controversial new old
[-] RustyNova@lemmy.world 3 points 1 month ago

Neat. Mine are saved on steam cloud and in my system wide backups

[-] stembolts@programming.dev 2 points 1 month ago* (last edited 1 month ago)

Ah yeah, I did that for a while until my save files started going over 200MiB, and I timestamp my base 4-5x per session, so I'm usually generating about 1-2GiB worth of save data per session (depending on the base). Steam cloud was no longer an option, so I had to fallback to some sort of manual solution.

Maybe Steam cloud is improved now? In that case I could re-enable it and have a double backup :)

[-] jet@hackertalks.com 2 points 1 month ago

My Factorio save list is... Unwieldy

[-] stembolts@programming.dev 3 points 1 month ago* (last edited 1 month ago)

Same. Dozens, maybe hundreds of files most of them 250-300MiB.

The nice thing about automation is I have no idea, it just works!*

  • (As long as your save files are in one parent directory.. and not in a place with other "zip" files)
[-] jet@hackertalks.com 1 points 1 month ago

Snapshotting really helps too! (file system level)

[-] lemuria@lemmy.ml 2 points 1 month ago

It's really cool! Though I just do a backup both to my external HDD with rsync and Steam Cloud

this post was submitted on 15 Jul 2024
15 points (100.0% liked)

Factorio

1639 readers
2 users here now

Dreaming of transport belts

Rules

Last updated: 2023/06/05

Useful links

Purchase

Factorio has never been on sale and will (probably) never be on sale

founded 1 year ago
MODERATORS