Backup Command (v2.01)
=====================
http://www.crimsonblade.org/snippets/

Disclaimer
==========

This code has been tested on a heavily modified version
of SMAUG 1.4a, there is no guarentee that it will work
on your copy, and I retain no responcibilty if this code
does anything to your code, your game, or the system it's
running on.

Terms of Use
============

(1) All comments and headers must be left in place.
(2) If you find a bug in the code, please report it to the
    SMAUG MAILING LIST (smaug@realms.game.org) and/or directly
    to myself: noplex@crimsonblade.org
(3) This code may only be re-distributed with the author's concent.
(4) I would like an email telling me that your using the code. This
    tells me actually how many people are using it, and if I should
    produce further snippets and code updates.
(5) If you are not abiding by the Diku, Merc, and Smaug codebase 
    licenses, you may not use this code. (considering that your
    using Smaug).

Overview
========

This code was originally designed back in the beginning of 2001
after my MUD lost all it's builder's areas (which wasn't much).

The code allows any given person (who can use the command) to
backup buildfiles, areafiles, systemdata files, and playerfiles
and have the .tgz file sent to the backup directory.

This code is only for use with LINUX, because it uses linux native
functions that aren't avaiable with Windows, although the Cygwin
emulator may beable to run it.

Credit
======

I would like to thank Cronel, one of his code gave me the idea and
guide to create the first version of this code, from there on it was
my own contemplation.

Updating
========

There is no updating, follow ALL of the instructions.

NOTE: If your updating from version 2.0, just slap this puppy into
your src/ directory and recompile.

Instructions
============

(1) Add backup.c and backup.o to your makefile.
(2) Add: DECLARE_DO_FUN( do_backup );
    to your declares in mud.h
(2) If your not using the BFD code (found on Samson's snippet site 
[http://www.alsherok.net/snippets/]) add "do_backup" to the entries
in tables.c
(3) Make clean, compile.

Before using:
=============

You must create a /backup/ directory in the /dist/ folder of your
mud. Example:

If your mud's area directory location is:
/home/noplex/mud/area

You would need to make a backup directory in the /mud/ folder.

Updates
=======

11/4/01  - Gave the code a facelift, rewrote it and got rid of about
	   100 or so lines of useless code.
11/10/01 - Fixed a small cosmetic bug.

Bugs
====

If you find any bugs, please report them to either my email (below) or the
Smaug Mailing List (smaug@realms.game.org)

Noplex, Implementor of Crimson Blade
http://www.crimsonblade.org
noplex@crimsonblade.org
