Results 1 to 3 of 3

Thread: One for one file copy of an entire hard drive

  1. #1
    Join Date
    Feb 2008

    One for one file copy of an entire hard drive

    So I don't need to clone a hard drive but rather just make a straight copy of files from one to the other.
    Basically, both are NTFS formatted externals.

    So is there any problem with just using dd (something like dd if=/dev/sda3 of=/dev/sda4 or whatever it happens to be)? I'm not sure how Linux will handle it and if there will be like massive defragmentation like on the original or what. I only say this because NTFS is a Windows format and I know how Windows throws things around everywhere (unlike Linux IIRC.)
    But anyway, all I need is basically to copy my entire media drive as a backup. I figure using the terminal might be a hair quicker than using Nautilus.

  2. #2
    Join Date
    Apr 2008
    Ubuntu Development Release

    Re: One for one file copy of an entire hard drive

    Don't use dd as this will make a drive image rather than a file backup. I'd use rsync instead...
    rsync -avz /path/to/source/ /path/to destination/
    On of the best features of rsync is that you can continue the file copy from where it left off in case you need to stop the copy for any reason. Also by copying file by file instead of doing a disk image there will be no fragmentation on the destination drive.

  3. #3
    Join Date
    Feb 2005
    Melbourne, Australia
    Ubuntu 12.04 Precise Pangolin

    Re: One for one file copy of an entire hard drive

    Install Unison.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts