Making perfect copies of drives, partitions, and filesystems using dd

Whether you’re trying to rescue data from a dying storage drive, backing up archives to remote storage, or making a perfect copy of an active partition somewhere else, you’ll need to know how to safely and reliably copy drives and filesystems. dd is still probably the best tool for the job.