Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] rsync vs dd [was Tlug Digest, Vol 14, Issue 23]
- Date: Tue, 20 Feb 2007 15:34:47 +0900
- From: "Stephen J. Turnbull" <turnbull@??>
- Subject: Re: [tlug] rsync vs dd [was Tlug Digest, Vol 14, Issue 23]
- References: <E1HJLEb-0005mP-9n@example.com> <200702200304.l1K3461q011320@example.com> <45DA7B32.2060309@example.com>
Erin D. Hughes writes: > Tribble Phillip J SrA 374 LRS/LGRTT wrote: > > Good Morning, > > > > Does anyone know a good way to backup a hard drive? dd if=/dev/had > > of=/dev/hdc will make a image exactly the size of my hard drive. Is > > there a way to use DVD and make the image small? > > > > > Philip, > > I am not sure what you are trying to accomplish here. > Do you mean you want to compress the entire contents of the HD and then > write it to a DVD? > > dd will copy the hd from one location to another exactly as is same size. However, I don't think this will work for CD or DVD; I doubt that dd can do all the work the mkisofs and cdrecord do. > I would also suggest not copying the proc/ folder because of the fact > that running process are there including your rsync process and it will > just keep copying the instance of itself till it eats up all your disc > space. So add --exclude=/proc and you will be good. I don't think that's true. rsync makes a list of files that need copying and copies each one, once. Of course you don't want to copy /proc, but more because the data is volatile and read-only, and big (/proc/kcore, for example). More important is that you don't want to copy something like /dev/random or /dev/zero, which never return EOF. I really think that rather than try to back up the whole hard drive in one shot, you should back up /etc, /home, /var, and maybe /usr/local and /boot. /var should contain your pms state, so you don't really need /usr, /bin, or /sbin. /proc and /dev you shouldn't touch for the reasons above. If you really want to use dd, I would recommend partitioning the HDD and using dd to write the partitions to files, which can be compressed and burned to DVD.
- Follow-Ups:
- Re: [tlug] rsync vs dd [was Tlug Digest, Vol 14, Issue 23]
- From: Erin D. Hughes
- Re: [tlug] rsync vs dd [was Tlug Digest, Vol 14, Issue 23]
- From: Sigurd Urdahl
- Re: [tlug] rsync vs dd [was Tlug Digest, Vol 14, Issue 23]
- From: Godwin Stewart
- References:
- [tlug] RE: Tlug Digest, Vol 14, Issue 23
- From: Tribble Phillip J SrA 374 LRS/LGRTT
- Re: [tlug] rsync vs dd [was Tlug Digest, Vol 14, Issue 23]
- From: Erin D. Hughes
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] rsync vs dd [was Tlug Digest, Vol 14, Issue 23]
- Next by Date: Re: [tlug] rsync vs dd [was Tlug Digest, Vol 14, Issue 23]
- Previous by thread: Re: [tlug] rsync vs dd [was Tlug Digest, Vol 14, Issue 23]
- Next by thread: Re: [tlug] rsync vs dd [was Tlug Digest, Vol 14, Issue 23]
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links