![]() |
![]()
| ![]() |
![]()
NAMEdirvish - Disk based virtual image network backup system SYNOPSISdirvish --vault vault [ OPTIONS ] DESCRIPTIONCreate a backup image of a client directory tree. Each image is a directory containing transfer log, summary, tree and if transfer errors were detected an rsync_error file. The transfer log retains the the output of any pre and post processing commands and the rsync log listing all files that were changed or added with some statistical information. The summary file contains all the information about how the image was created and meta-data for managing the image in config file format. Tree is the copy of the client tree. The client directory tree is compared with an existing image to create a new image. Unchanged files are shared between images. For changed files only those parts that actually change are transfered over the network. Unchanged portions of files are copied from the reference image. The resulting images contain complete copies of the original trees preserving ownership and file permissions. In this way even though the backups are made incrementally, each image can be used independently for restores or to make removable-media off-site copies or archives. The removal of an image will have no effect on other images. OPTIONSEach option on the command line may be specified any number of times. Those options that support lists in the config files will accumulate all of their arguments otherwise each specification will override the ones before. As configuration files are loaded they may override options on the command line. Each option may be unambiguously abbreviated.
EXIT CODESTo facilitate further automation and integration of dirvish with other tools dirvish provides rationalised exit codes. The exit codes are range based. While the code for a specific error may change from one version to another it will remain within the specified range. So don't test for specific exit codes but instead test for a range of values. To the degree possible higher value ranges indicate more severe errors.
FILES
SEE ALSOdirvish.conf(5) dirvish-runall(8) dirvish-expire(8) dirvish-locate(8) ssh(1) rsync(1) Time::ParseDate(3pm) strftime(3) AUTHORDirvish was created by J.W. Schultz of Pegasystems Technologies. BUGS AND ISSUESFields set in configuration files will override command line options that have been set before the file is read. This behaviour while consistent may occasionally confuse. For this reason most command line options should be specified after any options that may cause a configuration file to be loaded. In order to preserve permissions it is necessary for dirvish to run as root on the backup server. The root user must have non-interactive ssh access to the client systems. It is not necessary that this access be as the root user on the client. File ownership is preserved using numeric values so it is not necessary to have user accounts on the backup server. Making the vaults network accessible using protocols that map UIDs based on names instead of number could allow access controls on files to be violated. Making the vaults writable by users will compromise the integrity of the backups. Therefore any access to the vaults by users should be done through a read-only mount.
|