Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Backing up one drive to another?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1133
Location: 127.0.0.1

PostPosted: Tue Jan 31, 2012 11:55 am    Post subject: Backing up one drive to another? Reply with quote

I have a few systems and i am moving them to Linux, under windows i use a program called syncback which will scan the source drive, then the destination and change only the files that needed to be changed, I have looked at rysnc but am not too sure if it can do what i need.

Basicaly i will be copying one /home dir on my main pc raid5, to the other /home dir on the other pcs raid5, for the other pc from raid5 to a folder on the laptop

can rsync do this?
_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
Kaso_da_Zmok
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 189
Location: Zurich, Switzerland

PostPosted: Tue Jan 31, 2012 4:00 pm    Post subject: rsync will do this Reply with quote

You are right.
rsync will do this.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Tue Jan 31, 2012 6:32 pm    Post subject: Reply with quote

I use this command when I backup my things :

Code:

# time rsync -aHA --del --force --stats --progress /mnt/source /mnt/destination
Back to top
View user's profile Send private message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1133
Location: 127.0.0.1

PostPosted: Wed Feb 01, 2012 6:04 pm    Post subject: Reply with quote

guess i need to get off my bum and sort out nfs, and read rsync man page to understand the command :)
_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Feb 01, 2012 6:37 pm    Post subject: Reply with quote

You can fire up an rsync server, then you do not need to mount anything.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1133
Location: 127.0.0.1

PostPosted: Sat Feb 04, 2012 5:25 pm    Post subject: Reply with quote

time rsync -aHA --del --force --stats --progress rsync: // 192.168.1.1 / home /home/dfoo (removed link :p)

works fine :)
_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
feystorm
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2004
Posts: 96

PostPosted: Sun Feb 05, 2012 6:07 am    Post subject: Reply with quote

Jaglover wrote:
You can fire up an rsync server, then you do not need to mount anything.

You dont need an rsync server to not mount. Rsync works over ssh natively.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum