|
Lines 252-258
sync_from_active_downstream_DCs() {
Link Here
|
| 252 |
## check if downstream s4dc has changes: |
252 |
## check if downstream s4dc has changes: |
| 253 |
stderr_log_debug "[$log_prefix] rsync check for changes on downstream DC" |
253 |
stderr_log_debug "[$log_prefix] rsync check for changes on downstream DC" |
| 254 |
|
254 |
|
| 255 |
rsync_options=(-aAX --delete --delete-excluded \ |
255 |
rsync_options=(-aAX --filter='-x! security.NTACL' --delete --delete-excluded --filter='-xr! security.NTACL' \ |
| 256 |
--exclude='scripts/user/.*.vbs.[[:alnum:]][[:alnum:]][[:alnum:]][[:alnum:]][[:alnum:]][[:alnum:]]' \ |
256 |
--exclude='scripts/user/.*.vbs.[[:alnum:]][[:alnum:]][[:alnum:]][[:alnum:]][[:alnum:]][[:alnum:]]' \ |
| 257 |
) |
257 |
) |
| 258 |
|
258 |
|
|
Lines 380-388
if [ ! $? -eq 1 ]; then
Link Here
|
| 380 |
fi |
380 |
fi |
| 381 |
|
381 |
|
| 382 |
if [ "$1" = '--overwrite-local' ]; then |
382 |
if [ "$1" = '--overwrite-local' ]; then |
| 383 |
default_rsync_options=("-aAX") |
383 |
default_rsync_options=("-aAX" --filter='-x! security.NTACL') |
| 384 |
else |
384 |
else |
| 385 |
default_rsync_options=("-auAX" "--dirs-update") |
385 |
default_rsync_options=("-auAX" --filter='-x! security.NTACL' "--dirs-update") |
| 386 |
fi |
386 |
fi |
| 387 |
|
387 |
|
| 388 |
touch "$SYSVOL_LOCKFILE" |
388 |
touch "$SYSVOL_LOCKFILE" |