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

  • jetA
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    My Factorio save list is… Unwieldy

    • stembolts@programming.devOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      4 months 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)
      • jetA
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Snapshotting really helps too! (file system level)