home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.ubuntu      I preferred Xubuntu, seemed a bit faster      134,474 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 133,501 of 134,474   
   bilsch01 to All   
   how to incorporate gzip lines with my dd   
   02 Nov 23 00:52:24   
   
   From: usenet@writer.com   
      
   Hello, I was never very good at linux scripting, and now I've forgotten   
   much what I did know. I hope somebody here can help me incorporate gzip   
   with the dd copy lines I use for backing up laptop to an external drive.   
   The two different thumb drives I use to boot laptop and copy SDD are   
   1) Ubuntu Installer and 2) Knoppix.  Both of those come with gzip.   
   I've never actually ever used gzip.   
      
   Here's the lines I use to copy the SDD contents to an external drive:   
      
   ## first do fdisk -l to sort out the devices   
   sudo mkdir -p /mnt/sdb1  (creating a mount point)   
   sudo mount -t ntfs /dev/sdb1 /mnt/sdb1   
   sudo mkdir -p /mnt/sdb1/images (if u don't already have that directory)   
   sudo dd if=/dev/nvme0n1 of=/mnt/sdb1/images/asyymmdd.img bs=4096   
   conv=notrunc,noerror   
      
   Here's the lines to restore the SDD if I ever need to:   
      
   sudo mkdir -p /mnt/sdb1  (creating a mount point)   
   sudo mount -t ntfs /dev/sdb1 /mnt/sdb1   
   sudo dd if=/mnt/sdb1/images/asyymmdd.img of=/dev/nvme0n1 bs=4096   
   conv=notrunc,noerrer   
      
   Thanks in advance.   
   Bill S.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca