A simple backup tool.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Francesco Palumbo 1c22377965 First commit 2 years ago
man First commit 2 years ago
src First commit 2 years ago
INSTALL First commit 2 years ago
LICENSE First commit 2 years ago
README First commit 2 years ago
core_modules First commit 2 years ago
external_modules First commit 2 years ago
install.pl First commit 2 years ago


# Written by Francesco Palumbo
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

bkp usage and options:

bkp <files> | <directories> [<"description">]
make backup of specified file, adding a description too (the description MUST be double-quoted).

--list print list of backups.

--inside <pattern>
list content of backups.

--info <pattern>
show some useful informations about specified backup file like size, permissions, last access:modify, file type, backup description and more.

--import <backup_files> [<"description">]
import specified backup files with corresponding info files. If no info file is found, bkp will try to generate it. Now it is possible to give a description too.

--daemon <directory> [<"description">] [[ stop ]]
start bkp in background ; bkp will search for file changes silently and make backup of them. To stop backgrounding simply use 'bkp --daemon stop'.

--restore <pattern>
restore the specified backup; bkp will search for it into data file. Note that selected files will be restored overwriting current ones.

--remove <pattern>
erase specified backup (be careful).

--defdir [<default_directory>]
use default directory (default is ~/.bkp/stored) as backup storing directory ; if no argument is specified, print current default directory.

check for bad or corrupted files.

--log [[ clear ]]
view log of all actions. If <clear> modifier is used, purge log.

show program info.

--help [[ <option> ]]
view program help. If this option is used with another option, detailed infos will be displayed.