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.

  • xyproto
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

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

    • armin@feddit.deOP
      link
      fedilink
      arrow-up
      1
      ·
      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