home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume19
/
backup
/
README
< prev
Wrap
Text File
|
1989-06-29
|
1KB
|
32 lines
The backup program is an online disk-to-disk incremental backup utility
that maintains a file queue in a seperate partition, copying files that
have been modified since its last run to the special backup filesystem.
As space is needed on the backup partition, just enough of the oldest files
are removed to make space for new file copies. In other words, a fixed
size (in disk blocks) queue of recently modified files.
Defaults, overridden by command line arguments:
BACKUP /backup
CONFIG /etc/backup.conf
MAXSIZE 100k
DELTA 24hr
Assumes SunOS filesystem interface (vnodes, etc.), would not
be hard to port to straight BSD filesystem.
Installation:
- Edit Makefile.
- Tweak default parameters in backup.c if you don't like the above values.
- Create and install a configuration file, see the example in ./backup.conf.
- make; make install
- Allocate a /backup partition, create and mount an empty filesystem on it.
- Add a crontab entry, e.g.:
37 4,12,20 * * * /local/etc/backup
Thanks to Ken Lalonde for code tweaks, getback.sh, and most of this README file
rayan