How to copy bit-by-bit one Qubes USB-stick in one usb-contact to another USB-stick in another usb-contact using Qubes or Mint?

How to copy bit-by-bit one Qubes USB-stick in one usb-contact to another empty USB-stick in another usb-contact using Qubes or Mint or other Linux solution when one feels that the present bootble usb-qube os is optimal for the moment and needs to have this solution backed-up so this backup usb also is bootable and not in need of long configuration. Have any experience of a functional solution?

You can use the command dd to copy all bits from the source USB device and store it as a file (you may want to compress it and/or encrypt it (after compression) or at least store a checksum of the file).

Then, you could burn a new USB device using dd again using the dump file as the source.

It may be good to use 95% of the disk on the original USB disk when creating the partitions, otherwise if the destination USB devices are slightly smaller this won’t fit and could create problems.

1 Like

Tank you so much solene for dealing your advise to me. This solves my ever present behavior to make functional backups for worst case scenarios. And by this way I presume that I later also can store this with dd made “in the middle” file on a M-disk (upp to 100 GB storage space, secure >100 years) for later loading on a new bootable USB-stick then getting again a personal functional Qube system. Unfortunately USB-sticks can by time stop functioning. But I realize that this procedure must be continuously repeated as the nr one Qube USB-stick that is in use must be updated and upgraded regarding several time limited ongoing processes over time.