Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rsync -- What am I missing? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
TheNewb
Apprentice
Apprentice


Joined: 10 Jun 2005
Posts: 183

PostPosted: Thu Oct 20, 2005 12:01 am    Post subject: rsync -- What am I missing? [solved] Reply with quote

Well, I'm back again to show how much I don't know!

The short version is I'm trying to back up an unstable system using rsync.

The story so far - https://forums.gentoo.org/viewtopic-t-387481-highlight-.html
So I'm trying to back up - https://forums.gentoo.org/viewtopic-t-390229-highlight-.html

Anyways, to present...

I've tried several different parm lists... But instead of only transfering differences, rsync is transfering the entire folder structure and every single file. I'm having a problem with the machine in question locking up. I'm 95% sure that when I get the machine back from the repair technitians, it will be wiped.

So, rsync seemed my logical choice to back up since it would resume where it was, in theory.

Code:

rsync -vr --stats --progress /data/* rsync://<ServerIP>/Backup/.

Where /data/ is one of the folders to back up, and <ServerIP> is the backup server...

So, what am I missing ? Or is something on the server to blame?
_________________
#define struct union /* A Real space saver! :) */


Last edited by TheNewb on Thu Oct 20, 2005 1:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
adsmith
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1386
Location: NC, USA

PostPosted: Thu Oct 20, 2005 2:59 am    Post subject: Reply with quote

most likely, you are mistaken. It still *lists* all of the directories as it runs through them, but it should only acually transfer the changes.

by the way, simply using the "-a" option is usually best.
Back to top
View user's profile Send private message
TheNewb
Apprentice
Apprentice


Joined: 10 Jun 2005
Posts: 183

PostPosted: Thu Oct 20, 2005 3:16 am    Post subject: Reply with quote

At first I thought I was... but using a bandwidth monitor to show the packets transfered, it's doin the full load every time...

Oh... on a side note, the rsync server isn't gentoo... Could that maybe be my problem?
_________________
#define struct union /* A Real space saver! :) */
Back to top
View user's profile Send private message
adsmith
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1386
Location: NC, USA

PostPosted: Thu Oct 20, 2005 3:20 am    Post subject: Reply with quote

That shouldn't matter, though of course a faulty setup could.

Have you tried simply using rsync-over-ssh, instead of using a rsync server?
rsync -a /local/dir user@remote:/other/dir

[edit] wOOt! got Veteran on this post, humble as it is!
Back to top
View user's profile Send private message
TheNewb
Apprentice
Apprentice


Joined: 10 Jun 2005
Posts: 183

PostPosted: Thu Oct 20, 2005 1:02 pm    Post subject: Reply with quote

Arrrrgh!!! Apparently in this case it does matter.... Set up an rsync server on Gentoo and it's acting like it's supposed to...

Lesson learned - apparently cygwin still sucks! (Hey! I need backup space anywhere I can find it. hehe)
_________________
#define struct union /* A Real space saver! :) */
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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