rollback/backup on Raspberry Pi 3B+ installation

I have following setup in my mind:

  • install and boot Leap 15.1 from a USB stick
  • activate autoupdate
  • roll back when updates screw the system

“Can do”?
Afaik a raspberry installation is on ext4 so there are no btrfs/snapper snapshots.

No idea?
Maybe this is a good suggestion toward the opensuse raspberry team… :wink:

Hi
I guess that all depends on what your using your RPi for… mine are just appliances doing specific tasks so minimal fuss to install a new image if necessary (and have not yet had to do this).

There are plenty of tools out there to backup your specific configs, autoyast, Studio Express to create your own customized images etc…

I have to set up a few python libraries, enable gpio (which failed last time on opensuse, couldn’t get it work…) and I want to install nextcloud.

Agree that personally I have not had a reason or need to backup my RPi… yet.
But, in the past my first impulse was to simply pull the sdcard, plug it into a laptop and copy or clone the contents of the card… It’s obviously not practical if the RPi is considered more of a real server than as a disposable tool but reflects the small data content.

I’d expect that any typical backup app that can be installed should work, I can’t imagine any file based backup application having issue with any special RPi characteristics and possibly most imaging should work, too. Maybe block based might be an issue? – That I might want to do some investigation and verification.

I’d expect though that if downtime isn’t critical, the fastest and most convenient way is what I’m doing now…
And if I have to re-build, script my installs to standardize what I have and make re-building painless.

TSU

All the type of things that can be done with very few lines of script…
Assume your NextCloud data storage is on a different storage medium…

TSU

Hi
I use wiringPi here and C…

Which python libs where you using for gpio stuff?

Are you going to attach an external storage device for nextcloud (if so, what)?

Yes, would be nice to back up on a USB stick.

Need library from pixtend:
https://www.pixtend.de/downloads/pixtend-v2-downloads-english/

@tsu2
A lot can be done but I’m looking for an easy, comfortable solution.