Author Topic: Backing up my pi-stomp  (Read 725 times)

jkrafft

  • Newbie
  • *
  • Posts: 32
    • View Profile
Backing up my pi-stomp
« on: September 06, 2021, 09:27:30 AM »
Hey, I'm back !

So, I did a bunch of pedalboards and wanted to make a backup just in case as I'm tinkering a bit with the system so I've made a little script to create incremetal backup of my pi-stomp.
You can find it here: https://github.com/MacFizz/spsbackup
It's not really fancy or elegant but it relies only on tools already available on patchos and it's fast, even when backing up to a cloud storage.

Sample list of fies and folders to save is:
/var/modep/banks.json
/var/modep/pedalboards
/home/patch/pi-stomp/pistomp/*.yml

The script should be flexible enough to accomodate many configurations and needs but let me know if something isn't working or if something's missing.

jkrafft

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Backing up my pi-stomp
« Reply #1 on: September 10, 2021, 02:05:12 AM »
OK, made tons of improvements and bugfixes.
It's now even more flexible now.
I've modified mod.py file so that it makes a backup at shutdown.
Works great!

Now testing a it more on the long run.

Randall (Admin)

  • Administrator
  • Full Member
  • *****
  • Posts: 225
    • View Profile
Re: Backing up my pi-stomp
« Reply #2 on: September 13, 2021, 02:00:26 AM »
Awesome!  I'll have to check it out soon.