reoback.pl

Langue: en

Version: 58396 (mandriva - 22/10/07)

Section: 1 (Commandes utilisateur)

NAME

reoback.pl - A simple backup solution.

SYNOPSIS

reoback.pl [OPTION] [CONFIG-FILE]

DESCRIPTION

Pronounced as "Ray-o-back", REOBack is a simple backup solution designed for Linux Users AND System Administrators. It is designed to be simple to set-up and and easy to use. Great as a quick solution for those who procrastinate about backups.

Backups are performed by reading the user supplied configuration files and creating tar/gzip archives of the files defined. REOBack is developed to support nightly backups runs and as such, its first run is always a full backup. That is, archive every file regardless of its modification stamp.

REOBack keeps track of what type of backup to perform by storing backup information in the "datadir" directory defined in the configuration file. Therefore, deleting all files in the "datadir" directory will cause REOBack to perform a full backup on its next run.

REOBack can keep backups for any number of days. The variable "backupdays" in the configuration defines this number. For example: a setting of "7", will cause REOBack to keep seven days of backup. It will then delete old backups after reaching the next "7" days. Here's an example:

Assume we want to keep 7 days worth of backup, that is keep a history of any file for 7 days.

backupdays = 7 (set in the configuration file)

DAYBACKUPTYPE|DAYBACKUPTYPE

-------------------------------------------------------

1FULL|8FULL

2INC|9INC

3INC|10INC

4INC|11INC

5INC|12INC

6INC|13INC

7INC(Delete8-14)|14INC(Delete(1-7)

Notice that it keeps 14 days (backupdays x 2) worth of backup before it deletes the old backups. That is because we don't want to delete the old backups until the next full backups are finished.

When running a FULL backup, REOBack will archive ALL files and directories defined. INCREMENTAL backups on the other hand only archives files that changes since the last full backup. This means that if you added or modified files in a directory defined for backups, after the last full backup time, they will be picked up in every run until the next full backup time passes.

OPTIONS

-v, --version
display version information.
-h, --help, --usage
display help information.
CONFIG-FILE
this file is distributed as settings.cfg but can be named whatever you want.

NOTES

If you want to run reoback.pl on a cron job, a file named run_reoback.sh is provided (see sources) for convenience. It includes basic instructions on how to set-up your crontab. reoback.pl is Copyright (c) 2001 Randy Oyarzabal.

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 2 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 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

BUGS

Please report bugs on the project website located at: http://sourceforge.net/projects/reoback/

AUTHORS

Randy Oyarzabal <techno91@users.sourceforge.net>

CONTRIBUTORS

Richard Griswold and Nate Steffenhagen