From: Paul Sheer <psheer@obsidian.co.za>
Subject: Mirrordir - backs up directories using a minimal set of changes
Date: Mon, 23 Feb 1998 11:51:58 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Mirrordir does a recursive copy from one directory to another, but only
copies files that have been modified since the last copy. It deletes files
in the target directory that don't exist in the source directory.
It is very useful for doing timed backups and, for example, taking your
work home with you on your laptop. We are currently going to implement
it in a server as an high-level-software alternative to a RAID device.
It mirrors every detail of the source tree. It exactly replicates device
files, symlinks, access and modication times, as well as permissions and
ownerships.
It optionally outputs a list of the changes needed to bring the two
directories to being identical.
Begin3
Title: Mirrordir
Version: 0.9
Entered-date: 22FEB98
Description: Mirrordir mirrors a directory tree in every detail,
suitable for timed backups of disk drives.
The minimal set of changes needed to make the
original directory tree identical to the backup
directory tree is executed. Mirrordir duplicates
device/special files and file/directory access
times exactly. Written in C with autoconf.
Keywords: backup, mirror, copy, cp, mirrordir, recursive,
directory trees
Author: psheer@obsidian.co.za (Paul Sheer)
Maintained-by: psheer@obsidian.co.za (Paul Sheer)
Primary-site: sunsite.unc.edu /pub/Linux/system/backup
48kB mirrordir-0.9.tar.gz
1kB mirrordir.lsm
Platforms: Any Unix
Copying-policy: GPL
End
Usage:
mirrordir [--verbose [--verbose]] [--restore-access \
[--access-times]] [[[--exclude <path>] --exclude <path>] ... ] \
[--nice <num>] <control> <mirror>
mirrordir [--help | -h]
Makes two directory trees identical.
- --help Print out far more detailed help than this.
<control> <mirror> Two almost identical directory trees.
- --verbose Specifies verbose output of file modifications
made to <mirror>. Output is written to stderr.
- --only-read Do not ever open the control files for writing.
- --restore-access Restore the access times of <control> with each
read.
- --access-times Duplicate even the access times of <control>.
- --exclude <path> Assume file or directory <path> does not exist
in the directory tree <control>.
- --nice Be nice to CPU by sleeping occasionally. <num>
is a small integer.
- --test-only Do not make any changes. If used with --verbose,
this will show what changes would be made. This
an effective way of comparing directory trees.
- --keep-files Don't remove files unnecessarily from the
<mirror> directory if they don't exist in the
control directory. This makes mirrordir somewhat
like cp.
- --
This article has been digitally signed by the moderator, using PGP.
http://www.iki.fi/mjr/cola-public-key.asc has PGP key for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.
This group is archived at http://www.iki.fi/liw/linux/cola.html
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
iQCVAgUBNPFi31rUI/eHXJZ5AQE9gQQAxcn6kC+2zFOcu9AisjN2oCn6kHRBgT3f
ItJhleX5q8zVzbRYsrVxjlj0D9PAWw/AfTm1ELse/ZET9ynhSY1ZApXdc4ZJxnqL
2GDpJVeK9i11L+7MixMbHa1uQ01jq5xAfII4Z2kGjbzKqbLay1utOoNJuN+ndb32
7k/VXWt4c0A=
=WKn3
-----END PGP SIGNATURE-----