2

I've developed my first Rust program with some help of ChatGPT. The result just got its first release.

You can configure filesystems to host backup image files of devices in a json config file. You can specify the amount of backups for each device, preserving a static size and count.

Running dd_backup run will initiate the backup process, creating backups for all connected filesystems and devices which are configured.

Has some safety features, like checking fsck -n before writing or calls sync before unmount. Never be afraid of confusing if= and of= anymore when running dd ๐Ÿ™ˆ.

dd_backup is designed to run on Linux systems, and you can also utilize it on a booted Linux live system to back up your Windows devices or others.

See the readme for more information.

you are viewing a single comment's thread
view the rest of the comments
[-] xyproto@programming.dev 1 points 1 year ago

Doesnt dd if=/dev/sda of=backupfile also do this?

[-] armin@feddit.de 1 points 1 year ago

Yes, it's essentially just this command. But if you do it many times or for different harddrives, then it's useful to have a configured tool which you just ran and may do several dd's at once. Also it does delete oldest backup (if you wish so). And calls sync and fsck for you

this post was submitted on 14 Jul 2023
2 points (100.0% liked)

commandline

1696 readers
1 users here now

founded 1 year ago
MODERATORS