You are not logged in.

#1 2007-03-02 18:55:12

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Best way of moving/replicating /home

Currently I have /home on /dev/sda1 which is a ext3-partition filling the entire disk and I got a new disk which I want to replicate all that data do. What would be the best way of doing it?
Install the new HDD, create a new partition on it and mount it somewhere and then do something like:

cp -a /home/ /mnt/newdisk

Or is there a better way?

Last edited by [vEX] (2007-03-02 18:55:38)


PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM

Offline

#2 2007-03-02 20:12:13

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Best way of moving/replicating /home

I'd use rsync -av for that. But yes, you're right in general about this.


1000

Offline

#3 2007-03-03 12:04:10

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Re: Best way of moving/replicating /home

Oh, I never thought of that since I never use rsync, just installed it and checked the man page, looks like it does pretty much the same thing. I'll try it out, thanks!


PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM

Offline

#4 2007-03-03 18:00:20

majikstreet
Member
Registered: 2006-07-31
Posts: 96

Re: Best way of moving/replicating /home

When I got a new hard drive, I believe I basically did the same thing except with mv.............


arooaroo wrote:
syd wrote:

Here in NZ we cant spell words with more than 5 letters. So color will have to do.

You must be very special then because "letters" has 7 tongue

Offline

Board footer

Powered by FluxBB