fsbackup - file system backup and synchronization utility.
fsbackup.pl [options] <configuration file>
fsbackup.pl is a incremental backup creation utility.
fsbackup.pl support backup compression and encryption. Backup can be stored on local
file system and on remote host stored over SSH or FTP. Some addition
scripts allow backups SQL tables from PostgreSQL and MySQL (
mysql_backup.sh)), save system configuration files and list of installed packages (
sysbackup.sh). Backuped with
fsbackup.pl files can be recovered by script
fsrestore.sh, backuped with
sysbackup.sh system packeges can be reinstalled by
The following command-line options can be used with
Create new backup without checking files in previously stored hash.
Create full backup, like as
Only rebuild hash, no storing files in backup archive.
Clean incremental backup storage and create new full backup without
$cfg_increment_level config parameter.
Backup planner running from
crontab. For example:
18 4 * * * /usr/local/fsbackup/create_backup.sh
Script to install fsbackup package and some required perl modules.
File system backup utility.
Example of configuration file.
Script for backup SQL tables from PostreSQL and MySQL.
Script for store system configuration files and information about installed packages.
Script for restore files backuped by
Script for reinstall packages stored by
Name of backup, single word.
Path of internal cache directory for local backup method.
Full path of some external program running from
$prog_gzip = '' - not use compression, $prog_pgp = '' - not use encryption.
File checksum method:
timesize - checksum of file attributes (default, best speed)
md5 - checksum of file attributes + MD5 checksum of file content.
backup - incremental backup (copy only new and changed files).
full_backup - full backup (copy all files).
sync - file tree synchronization.
hash - hash creation without storing archive (spying for new or changed files).
Incremental level (after how many incremental copy make full refresh of backup)
Type of backup storage:
local - store backup on local file system. remote_ssh - store backup on remote host over SSH connection. remote_ftp - store backup on remote FTP server.
Connection parameters for remote_ssh storage type.
Password of remote login for remote_ftp storage type.
Path of directory to store backup on local file system for local storage type.
Limit of file creation time in days. If not 0, don't backup files created
or modified later then
Limit of maximum file size. If not 0, don't backup files witch size more
Root path for initial chdir.
Name of user in public key ring with public key will be used for PGP encryption. Not use encryption if not set.
/dir[/file] - backup file or directory. !/dir[/file] - NOT include this file or directory to backup. # - ignore this line.
=~ - 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.
1. =! 2. f! 3. f~ 4. d! 5. =~ 6. d~ 7. !path 8. path
Copyright (c) 2001 by Maxim Chirkov <firstname.lastname@example.org> http://www.opennet.ru/dev/fsbackup/
Look TODO file.
Maxim Chirkov <email@example.com>
Закладки на сайте
Проследить за страницей
Created 1996-2021 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру