Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1264 | dev | 1 | $cfg_backup_name = "test"; |
2 | $cfg_cache_dir = "/home/dev/prog/fsbackup/cache"; |
||
3 | |||
4 | $prog_md5sum = "/sbin/md5"; |
||
5 | $prog_tar = "/usr/bin/tar"; |
||
6 | $prog_rm = "/bin/rm"; |
||
7 | |||
8 | $cfg_checksum = "timesize"; |
||
9 | $cfg_increment_level = 100; |
||
10 | $cfg_save_old_backup = 1; |
||
11 | $cfg_move_old_backup = 0; |
||
12 | $cfg_exit_on_empty = 0; |
||
13 | |||
14 | $cfg_local_path = "/home/dev/prog/fsbackup/backup"; |
||
15 | |||
16 | $cfg_time_limit = 0; |
||
17 | $cfg_size_limit = 0; |
||
18 | $cfg_maximum_archive_size = 102400; |
||
19 | |||
20 | $cfg_root_path = "/"; |
||
21 | $cfg_verbose = 2; |
||
22 | $cfg_stopdir_prune=0; |
||
23 | |||
24 | 1; |
||
25 | #------------------- |
||
26 | # List of backuped path and regexp mask. |
||
27 | # /dir[/file] - backup file or directory. |
||
28 | # !/dir[/file] - NOT include this file or directory to backup. |
||
29 | # # - ignore this line. |
||
30 | # Mask: |
||
31 | # =~ - regexp mask for include file or directory to backup. |
||
32 | # f~ - regexp file mask for include file to backup. |
||
33 | # d~ - regexp directory mask for include directory to backup. |
||
34 | # =! - regexp mask for NOT include file or directory to backup. |
||
35 | # f! - regexp file mask for NOT include file to backup. |
||
36 | # d! - regexp directory mask for NOT include directory to backup. |
||
37 | # |
||
38 | # Operation priority: |
||
39 | # |
||
40 | # 1. =! |
||
41 | # 2. f! |
||
42 | # 3. f~ |
||
43 | # 4. d! |
||
44 | # 5. =~ |
||
45 | # 6. d~ |
||
46 | # 7. ! |
||
47 | # 8. path |
||
48 | # |
||
49 | |||
50 | __DATA__ |
||
51 | /home/dev/prog/fsbackup/data |
||
52 | !/home/dev/prog/fsbackup/data/tmp |
||
53 |