Subversion Repositories general

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1365 dev 1
$cfg_backup_name = "sun_int_26th_net";
2
$cfg_cache_dir   = "/home/root/fsbackup/cache"; 
3
 
4
$prog_md5sum	= "/sbin/md5";
5
$prog_tar	= "/usr/bin/tar";
6
$prog_ssh	= "/usr/bin/ssh";
7
$prog_rm	= "/bin/rm";
8
$prog_gzip	= "/usr/bin/gzip";
9
$prog_pgp	= "";
10
 
11
$cfg_checksum        = "timesize"; 
12
$cfg_backup_style    = "backup"; 
13
$cfg_increment_level = 100; 
14
$cfg_save_old_backup = 1;
15
$cfg_type            = "local";
16
 
17
$cfg_local_path = "/opt/backups/sun/sys";
18
 
19
 
20
$cfg_time_limit = 0;
21
$cfg_size_limit = 0;
22
$cfg_maximum_archive_size = 102400;
23
 
24
$cfg_root_path = "/";
25
 
26
# $cfg_pgp_userid = "backup";
27
 
28
$cfg_verbose = 2;
29
 
30
$cfg_stopdir_prune=0;
31
 
32
1;
33
#-------------------
34
# List of backuped path and regexp mask.
35
#  /dir[/file] - backup file or directory.
36
#  !/dir[/file] - NOT include this file or directory to backup.
37
#  # - ignore this line.
38
# Mask:
39
#  =~ - regexp mask for include file or directory to backup.
40
#  f~ - regexp file mask for include file to backup.
41
#  d~ - regexp directory mask for include directory to backup.
42
#  =! - regexp mask for NOT include file or directory to backup.
43
#  f! - regexp file mask for NOT include file to backup.
44
#  d! - regexp directory mask for NOT include directory to backup.
45
#
46
# Operation priority:
47
#
48
#    1.	=!
49
#    2.	f!
50
#    3.	f~
51
#    4.	d!
52
#    5.	=~
53
#    6.	d~
54
#    7.	!
55
#    8. path
56
#
57
 
58
__DATA__ 
59
/root/backup/temp/mnt
60
!/root/backup/temp/mnt/tmp
61
!/root/backup/temp/mnt/dev
62
!/root/backup/temp/mnt/entropy
63
!/root/backup/temp/mnt/mnt
64
!/root/backup/temp/mnt/proc
65
!/root/backup/temp/mnt/tmp
66
d!/root/backup/temp/mnt/.*/\.snap
67
d!/root/backup/temp/mnt/.*/\.svn
68
!/root/backup/temp/mnt/var/tmp
69
!/root/backup/temp/mnt/var/run
70
!/root/backup/temp/mnt/var/lock
71
!/root/backup/temp/mnt/var/log
72
!/root/backup/temp/mnt/var/named/var/log
73
!/root/backup/temp/mnt/var/spool/squid
74
!/root/backup/temp/mnt/usr/compat/linux/proc
75
!/root/backup/temp/mnt/usr/src
76
!/root/backup/temp/mnt/usr/obj
77
!/root/backup/temp/mnt/usr/ports
78
d!/root/backup/temp/mnt/home/[^/]*/\.recycle
79
!/root/backup/temp/mnt/var/db/entropy
80
!/root/backup/temp/mnt/etc/ntp.drift
81
!/root/backup/temp/mnt/var/db/portaudit/auditfile.tbz
82
!/root/backup/temp/mnt/home/root/svn/repos
83
 
84
# httpd logs and temp files
85
!/root/backup/temp/mnt/usr/local/jakarta-tomcat5.0/work
86
!/root/backup/temp/mnt/usr/local/jakarta-tomcat5.0/logs
87
d!/root/backup/temp/mnt/home/www/[^/]*/logs
88
 
89
# postgres databases
90
!/root/backup/temp/mnt/var/db/pgsql/data/base
91
!/root/backup/temp/mnt/var/db/pgsql/data/global
92
!/root/backup/temp/mnt/var/db/pgsql/data/pg_clog
93
!/root/backup/temp/mnt/var/db/pgsql/data/pg_xlog
94
 
95
# backup temp files
96
!/root/backup/temp/mnt/root/backup/backup.log
97
!/root/backup/temp/mnt/root/backup/svn/backup.log
98
!/root/backup/temp/mnt/backup_snapshot
99
!/root/backup/temp/mnt/home/backup_snapshot
100
!/root/backup/temp/mnt/usr/backup_snapshot
101
!/root/backup/temp/mnt/var/backup_snapshot
102
!/root/backup/temp/mnt/home/root/fsbackup
103
 
104
# saturn temp files
105
!/root/backup/temp/mnt/home/saturn
106
#!/root/backup/temp/mnt/home/saturn/root/tmp
107
#!/root/backup/temp/mnt/home/saturn/root/var/log
108
#!/root/backup/temp/mnt/home/saturn/root/var/run
109
#!/root/backup/temp/mnt/home/saturn/root/var/lock
110
#!/root/backup/temp/mnt/home/saturn/root/var/cache
111
#!/root/backup/temp/mnt/home/saturn/root/root/.freevo/vfs/mnt
112
#!/root/backup/temp/mnt/home/saturn/root/root/log
113
#!/root/backup/temp/mnt/home/saturn/root/root/.xine/catalog.cache
114