Blame | Last modification | View Log | RSS feed
$cfg_backup_name = "test";
$cfg_cache_dir = "/home/dev/prog/fsbackup/cache";
$prog_md5sum = "/sbin/md5";
$prog_tar = "/usr/bin/tar";
$prog_rm = "/bin/rm";
$cfg_checksum = "timesize";
$cfg_increment_level = 100;
$cfg_save_old_backup = 1;
$cfg_move_old_backup = 0;
$cfg_exit_on_empty = 0;
$cfg_local_path = "/home/dev/prog/fsbackup/backup";
$cfg_time_limit = 0;
$cfg_size_limit = 0;
$cfg_maximum_archive_size = 102400;
$cfg_root_path = "/";
$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__
/home/dev/prog/fsbackup/data
!/home/dev/prog/fsbackup/data/tmp