• Debian 13 disk usage is only 7.2G 😀 Amazing job all involved 😀
    • so 14GBytes are free for updates and other stuff
  • pre installed:
  • all commands need to be performed as root!
  • get a USB stick 24GBytes or 32GBytes
  • it was simply created booting from live iso image
    • shrinking filesize of debian13 installation to 23GBytes via gparted
    • adding a swap file 1GByte
    • zero out free space (for better compression)
      • time dd if=/dev/zero of=./zero_out_space bs=1M status=progress; rm -rf ./zero_out_space;
    • then backup-over-ssh to compressed img.xz
      • # live boot iso then transfer image to file
        dd if=/dev/vda1 status=progress | ssh user@192.168.122.1 dd of=/where/to/store/debian13-live-usb.img
        # multi threaded + maybe better compression (smaller filesize)
      • # unfortunately this does not work (dataloss in the process somewhere resulting in 0 filesize of img.xz)
        dd if=/dev/vda1 | xz -9 -T12 - | ssh user@192.168.122.1 dd of=/where/to/store/backup.img.xz

         

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin