next up previous contents
Next: replicator.conf.example Up: Replicator 2.0.1 for Debian/GNU Previous: Doing more with Replicator   Contents


Default update rules

You can find them in /usr/lib/replicator/update_rules.default.

#
#update_rules
#
#In this file you can tune the behaviour of replicator
#
#WARNING: to define an empty rule use the syntax: @usr_exclude=qw("");
#####################
#                   #
# "/" exclude rules #
#                   #
#####################
#The following files/directoriess are NOT copied from $server to $target

@slash_exclude=qw(
/etc/my
/etc/network/interfaces
/etc/.rootkey
/etc/adjtime
/etc/isapnp.conf
/etc/minirc*
/etc/gpm.conf
/etc/replicator*
/etc/fstab
/etc/hostname
/etc/hosts
/etc/aboot.conf
/etc/lilo.conf
/etc/exports
/etc/dhcpd.conf
/etc/fmirror
/etc/apache/*
/etc/squid.conf
/etc/chatscripts/*
/etc/init.d/network
/etc/ppp/*
/etc/named.conf
/etc/named.boot
/etc/ssh/ssh_host_key*
/etc/ssh/ssh_random_seed
/etc/rmtab
/etc/mtab
/etc/kbd/
/etc/console-tools/
/etc/X11/XF86Config
/etc/X11/Xserver
/etc/ioctl.save
/etc/mon/
/etc/ssh2/hostkey
*.cfsaved
*.dpkg-old
/tmp/*
/var
/usr
/bigpart
/boot
/*old*
/cdrom/*
/local
/localhd
/fatboot
/home*
/proc/*
/tchich
/ramdisk/
/linuxppc/
/oldexports/
/amd/
/tftpboot/
/*mnt*/*
/floppy/*
/export*/
/exports/*
/opt*
/net*
/vol*
/lost+found/
);
#####################
#                   #
#/usr exclude rules #
#                   #
#####################
#The following files/subdirectories of /usr are NOT copied from $server to $target

@usr_exclude=qw();

#####################
#                   #
#/var include rules #
#                   #
#####################
#ONLY the content of the following subdirectories of /var will be copied from $server to $target
#NOTE: the complete directories structure will be replicated (not the content of those directories)
@var_include = qw(lib);


root 2001-06-04