Hi guys , i need some help. I am trying to make a full sync of two of my servers. But i noticed a very odd thing. If i create a directory , for example /usr/include/SOME_FOLDER/some_file on server2 when i do : root at server1 #$ rsync -avhH --exclude proc/ --exclude sys/ --exclude dev/ / root at server2:/ after the whole sync, the /usr/include/SOME_FOLDER/some_file will still be in the server2. Why ? Shouldn't be deleted ? thanks in advance. []'s Salatiel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Are there any errors? Rsync will abort the deletions if there are any errors. Run without the -v to get only the errors in the output. On 03/12/12 15:00, Salatiel Filho wrote:> Hi guys , i need some help. I am trying to make a full sync of two > of my servers. But i noticed a very odd thing. If i create a > directory , for example /usr/include/SOME_FOLDER/some_file on > server2 > > > when i do : > > root at server1 #$ rsync -avhH --exclude proc/ --exclude sys/ > --exclude dev/ / root at server2:/ > > after the whole sync, the > > /usr/include/SOME_FOLDER/some_file will still be in the server2. > Why ? Shouldn't be deleted ? > > > thanks in advance. > > > []'s Salatiel- -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. Kevin at FutureQuest.net (work) Orlando, Florida kmk at sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9eSEgACgkQVKC1jlbQAQf9qwCghssfon8ZkJtQ/n9zS720/15P BNsAoPhgY99lFiGrLcMLZhDuFePano6F =nHsT -----END PGP SIGNATURE-----
Aren't you missing something in your rsync command? (Hint: subject line) John On Mar 12, 2012, at 14:00, Salatiel Filho wrote:> Hi guys , i need some help. I am trying to make a full sync of two of > my servers. But i noticed a very odd thing. > If i create a directory , for example > /usr/include/SOME_FOLDER/some_file on server2 > > > when i do : > > root at server1 #$ rsync -avhH --exclude proc/ --exclude sys/ --exclude > dev/ / root at server2:/ > > after the whole sync, the > > /usr/include/SOME_FOLDER/some_file will still be in the server2. Why > ? Shouldn't be deleted ? > > > thanks in advance. > > > []'s > Salatiel
sorry , i was not forgetting that. Just forgot to type when mailing :) []'s Salatiel On Mon, Mar 12, 2012 at 16:16, John Van Essen <vanes002 at umn.edu> wrote:> Aren't you missing something in your rsync command? ?(Hint: subject line) > > ? ?John > > > On Mar 12, 2012, at 14:00, Salatiel Filho wrote: > >> Hi guys , i need some help. I am trying to make a full sync of two of >> my servers. But i noticed a very odd thing. >> If i create a ?directory , for example >> /usr/include/SOME_FOLDER/some_file on server2 >> >> >> when i do : >> >> root at server1 #$ ? rsync -avhH --exclude proc/ --exclude sys/ --exclude >> dev/ ? ? / ? root at server2:/ >> >> after the whole sync, the >> >> /usr/include/SOME_FOLDER/some_file will still be in the server2. Why >> ? Shouldn't be deleted ? >> >> >> thanks in advance. >> >> >> []'s >> Salatiel >