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

Linux

47337 readers
1181 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I would like to make manual backups of an SD card as a disk image so that it can be easily recreated when needed. I'd like to keep a few versions in case there is a problem I didn't know about, it can be rolled back.

How can I do this incrementally, or with de-duplication, so that I don't have to keep full copies of the complete SD card? It's very big but most of the content won't be changing much.

It's for MiyooCFW ROM which is on FAT 32-formatted micro SD card.

Thanks for your help! Also let me know if I am going about the problem in a wrong way.

you are viewing a single comment's thread
view the rest of the comments
[–] chameleon@fedia.io 5 points 1 month ago (1 children)

Easiest way would be to use borg create --read-special --chunker-params fixed,4194304 '/home/user/sdcardbackup::{now}' /dev/sdX (which I copied from the examples in the documentation). I'm not sure if Vorta has a way to activate --read-special but I suspect not; you can most likely still use it to make the repo and manage archives inside of it though.

Backing up from a command/stdin might also be relevant as an alternative, since that lets you back up more or less anything.

[–] dan@upvote.au 4 points 1 month ago

Wow I love this - I never thought of directly backing up block devices like that.