Subversion Repositories general

Rev

Blame | Last modification | View Log | RSS feed

$cfg_backup_name = "sun_int_26th_net";
$cfg_cache_dir   = "/home/root/fsbackup/cache"; 

$prog_md5sum    = "/sbin/md5";
$prog_tar       = "/usr/bin/tar";
$prog_ssh       = "/usr/bin/ssh";
$prog_rm        = "/bin/rm";
$prog_gzip      = "/usr/bin/gzip";
$prog_pgp       = "";

$cfg_checksum        = "timesize"; 
$cfg_backup_style    = "backup"; 
$cfg_increment_level = 100; 
$cfg_save_old_backup = 1;
$cfg_type            = "local";

$cfg_local_path = "/opt/backups/sun/sys";


$cfg_time_limit = 0;
$cfg_size_limit = 0;
$cfg_maximum_archive_size = 102400;

$cfg_root_path = "/";

# $cfg_pgp_userid = "backup";

$cfg_verbose = 2;

$cfg_stopdir_prune=0;

1;
#-------------------
# List of backuped path and regexp mask.
#  /dir[/file] - backup file or directory.
#  !/dir[/file] - NOT include this file or directory to backup.
#  # - ignore this line.
# Mask:
#  =~ - regexp mask for include file or directory to backup.
#  f~ - regexp file mask for include file to backup.
#  d~ - regexp directory mask for include directory to backup.
#  =! - regexp mask for NOT include file or directory to backup.
#  f! - regexp file mask for NOT include file to backup.
#  d! - regexp directory mask for NOT include directory to backup.
#
# Operation priority:
#
#    1. =!
#    2. f!
#    3. f~
#    4. d!
#    5. =~
#    6. d~
#    7. !
#    8. path
#

__DATA__ 
/root/backup/temp/mnt
!/root/backup/temp/mnt/tmp
!/root/backup/temp/mnt/dev
!/root/backup/temp/mnt/entropy
!/root/backup/temp/mnt/mnt
!/root/backup/temp/mnt/proc
!/root/backup/temp/mnt/tmp
d!/root/backup/temp/mnt/.*/\.snap
d!/root/backup/temp/mnt/.*/\.svn
!/root/backup/temp/mnt/var/tmp
!/root/backup/temp/mnt/var/run
!/root/backup/temp/mnt/var/lock
!/root/backup/temp/mnt/var/log
!/root/backup/temp/mnt/var/named/var/log
!/root/backup/temp/mnt/var/spool/squid
!/root/backup/temp/mnt/usr/compat/linux/proc
!/root/backup/temp/mnt/usr/src
!/root/backup/temp/mnt/usr/obj
!/root/backup/temp/mnt/usr/ports
d!/root/backup/temp/mnt/home/[^/]*/\.recycle
!/root/backup/temp/mnt/var/db/entropy
!/root/backup/temp/mnt/etc/ntp.drift
!/root/backup/temp/mnt/var/db/portaudit/auditfile.tbz
!/root/backup/temp/mnt/home/root/svn/repos

# httpd logs and temp files
!/root/backup/temp/mnt/usr/local/jakarta-tomcat5.0/work
!/root/backup/temp/mnt/usr/local/jakarta-tomcat5.0/logs
d!/root/backup/temp/mnt/home/www/[^/]*/logs

# postgres databases
!/root/backup/temp/mnt/var/db/pgsql/data/base
!/root/backup/temp/mnt/var/db/pgsql/data/global
!/root/backup/temp/mnt/var/db/pgsql/data/pg_clog
!/root/backup/temp/mnt/var/db/pgsql/data/pg_xlog

# backup temp files
!/root/backup/temp/mnt/root/backup/backup.log
!/root/backup/temp/mnt/root/backup/svn/backup.log
!/root/backup/temp/mnt/backup_snapshot
!/root/backup/temp/mnt/home/backup_snapshot
!/root/backup/temp/mnt/usr/backup_snapshot
!/root/backup/temp/mnt/var/backup_snapshot
!/root/backup/temp/mnt/home/root/fsbackup

# saturn temp files
!/root/backup/temp/mnt/home/saturn
#!/root/backup/temp/mnt/home/saturn/root/tmp
#!/root/backup/temp/mnt/home/saturn/root/var/log
#!/root/backup/temp/mnt/home/saturn/root/var/run
#!/root/backup/temp/mnt/home/saturn/root/var/lock
#!/root/backup/temp/mnt/home/saturn/root/var/cache
#!/root/backup/temp/mnt/home/saturn/root/root/.freevo/vfs/mnt
#!/root/backup/temp/mnt/home/saturn/root/root/log
#!/root/backup/temp/mnt/home/saturn/root/root/.xine/catalog.cache