Thanks a lot kevin. []'s Salatiel
On Mon, Mar 12, 2012 at 16:18, Kevin Korb <k...@sanitarium.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > This should be all you need (plus the other paths of course): > - --exclude=/proc > > You may also be interested in --one-file-system. > > On 03/12/12 15:16, Salatiel Filho wrote: >> Actually that is the problem. SOME_FOLDER is /usr/include/sys which >> is being ignore because of the sys/* exclude. Now i have another >> problem , how can i exclude the /sys , /proc and /dev for being >> synced? if i put >> >> rsync -avzhH --delete --exclude /proc/* --exclude /dev/* >> --exclude /sys/* / root@server2:/ or rsync -avzhH --delete >> --exclude /proc/ --exclude /dev/ --exclude /sys/ / >> root@server2:/ >> >> i can see lots of errors trying to sync files in those folders >> folder. >> >> >> >> []'s Salatiel >> >> >> >> On Mon, Mar 12, 2012 at 16:08, Kevin Korb <k...@sanitarium.net> >> wrote: Does the "SOME_FOLDER" match any of your excludes? You >> didn't root the excludes with a leading / so you are excluding any >> directory named proc sys or dev anywhere in the tree. >> >> On 03/12/12 15:05, Salatiel Filho wrote: >>>>> i rerun removing the -v and i get no errors at all. Actually >>>>> no transfer at all because rsync thinks there are no more >>>>> differences between the servers. >>>>> >>>>> []'s Salatiel >>>>> >>>>> >>>>> >>>>> On Mon, Mar 12, 2012 at 16:02, Kevin Korb >>>>> <k...@sanitarium.net> wrote: 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@server1 #$ rsync -avhH --exclude proc/ --exclude >>>>>>>> sys/ --exclude dev/ / root@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 >>>>> >>>>>> -- Please use reply-all for most replies to avoid omitting >>>>>> the mailing list. To unsubscribe or change options: >>>>>> https://lists.samba.org/mailman/listinfo/rsync Before >>>>>> posting, read: >>>>>> http://www.catb.org/~esr/faqs/smart-questions.html >> > > - -- > ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ > Kevin Korb Phone: (407) 252-6853 > Systems Administrator Internet: > FutureQuest, Inc. ke...@futurequest.net (work) > Orlando, Florida k...@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/ > > iEYEARECAAYFAk9eTAUACgkQVKC1jlbQAQff4QCfenHl1GgakDeU2FEG3q5QuqNI > y7AAn2wT4y8vN1i7s9ho6HyQt7PJTZPc > =0L1p > -----END PGP SIGNATURE----- -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html