Rsync Exclude Directories

Post Reply
gonzo
Posts: 31
Joined: 15. Nov 2007, 17:43
Contact:

Rsync Exclude Directories

Post by gonzo » 29. Nov 2007, 16:16

Hallo zusammen!

Ich bin gerade am die Sync Templates für unser Zweigstellen zu erstellen und bekomme es irgendwie nicht zustande, das mit Rsync die Ordner die ich in der Exclude List aufgeführt habe NICHT zu syncronisieren. Mit SMB funktioniert dies aber.

Meine Frage nun, ist das nicht möglich bzw. wie kann ich das ansonsten lösen?

Danke für eure Hilfe!

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 7965
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Post by Hendrik_Ambrosius » 29. Nov 2007, 18:19

Ein Beispiel ist z.B. im RSubdepot_Empinst-Syncjob drin:

d0=rsync.exe %SYNC_SRC% %SYNC_DST% --recursive --delete --compress --stats --progress --times --exclude=/[Ww][Ii][Zz][Aa][Rr][Dd]/[Pp][Xx][Ee][Ss][Pp][Yy]/ --exclude=/[Ww][Ii][Zz][Aa][Rr][Dd]/[Ii][Mm][Aa][Gg][Ee]/[Pp][Xx][Ee][Ii][Mm][Aa][Gg][Ee][Ss]/ --exclude=/[Ww][Ii][Zz][Aa][Rr][Dd]/[Oo][Ss]/[Aa][Uu][Tt][Oo]/
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

Post Reply

Return to “Sync”

Who is online

Users browsing this forum: No registered users and 1 guest