View previous topic :: View next topic |
Author |
Message |
TheNewb Apprentice
Joined: 10 Jun 2005 Posts: 183
|
Posted: Thu Oct 20, 2005 12:01 am Post subject: rsync -- What am I missing? [solved] |
|
|
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 |
|
|
adsmith Veteran
Joined: 26 Sep 2004 Posts: 1386 Location: NC, USA
|
Posted: Thu Oct 20, 2005 2:59 am Post subject: |
|
|
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 |
|
|
TheNewb Apprentice
Joined: 10 Jun 2005 Posts: 183
|
Posted: Thu Oct 20, 2005 3:16 am Post subject: |
|
|
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 |
|
|
adsmith Veteran
Joined: 26 Sep 2004 Posts: 1386 Location: NC, USA
|
Posted: Thu Oct 20, 2005 3:20 am Post subject: |
|
|
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 |
|
|
TheNewb Apprentice
Joined: 10 Jun 2005 Posts: 183
|
Posted: Thu Oct 20, 2005 1:02 pm Post subject: |
|
|
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 |
|
|
|