Copying partitions in terminal mode



Is it practical to use terminal mode to copy an entire ubuntu partition
to an external hard drive for backup purposes?

I haven't done much with terminal commands except for the simplest ones
so I'm not comfortable with copying an
entire partition. I have copied a file or two within a partition but
copying an entire partition seems like a big job.

After digging around in my notes, a book or two, and some websites, I
came up with this command:
cp -aprv /dev/sda7 /dev/sdc5

sda7 is where ubuntu is currently installed and sdc5 is the target, an
empty ext3 formatted
partition on the external hard drive.

The command seems to be too simple to do a complete partition copy.

Which way is the better way to run this kind of command,. from an
installed ubuntu or from
a ubuntu CD?

elmo



--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: ubuntu-users Digest, Vol 46, Issue 194
    ... Vista (running ubuntu) ... Ubuntu Gaming/Vista Partition ... and lets you install, but it never completes. ... GTA San Andreas won't work on my laptop while running vista (Even though I ...
    (Ubuntu)
  • Re: How to Create Dual-Booting System
    ... partitioned and I accepted all the defaults that Ubuntu suggested. ... Well, if it where openSUSE, we would have guessed. ... following questions before you install another one next to it. ... make FAT32) Primary partition of around 20GB these days, ...
    (alt.os.linux.suse)
  • Re: ubuntu-users Digest, Vol 76, Issue 178
    ... this is for the question for extending the partition for extended partition ... Re: Unallocated Space ... delete/convert the Ubuntu partitions into unallocated space. ... I was wondering if anyone knows of a way to extend my ...
    (Ubuntu)
  • Re: How to clone Windows XP back to your HD?
    ... When you ran the FIXBOOT C: command, on your merry travels, Windows re-wrote your BOOT.INI file that deals with the startmenu adding any valid operating systems it could detect at the time. ... When you did this, the UBUNTU partition STILL EXISTED, but now does not, so if you did selected this option at boot now, I very much doubt you'd get anything but an system error. ...
    (microsoft.public.windowsxp.newusers)
  • Re: ubuntu-users Digest, Vol 56, Issue 345
    ... Virtual memory issues in Jaunty ... pdf program with a printer driver for ubuntu ... A USB drive as 160 GB partition sole purpose data ... you lost me on the find when you get to grub prompt. ...
    (Ubuntu)