[manual index][section index]

NAME

vacget, vacput - venti archive utilities

SYNOPSIS

vacget [ -Dvpt ] [ -a addr ] vacfile
vacput [ -Dqrv ] [ -a addr ] [ -b blocksize ] [ -d vacfile ] [ -n name ] path ...

DESCRIPTION

Vacget retrieves a venti archive from a venti server to the current working directory.

Vacput writes a venti archive to a venti server. The paths are walked recursively and all files and directories written to the archive. Temporary files, i.e. those with the DMTMP bit set, are skipped. With -d a base archive can be specified. Files that have not changed are assumed to be present in venti and included in the new archive without writing their contents to venti. Specify -q to allow vacput to only write new data in append-only files to venti.


-d vacfile
The score in vacfile is used as base archive while writing. Only the contents of files that have been modified are written to venti before inclusion in the new archive. Only for vacput.
-q
Use heuristics (append-only mode, qid path, qid version, modification time and file size) to determine whether a part of the file is already in venti and does not have to be written again. Only for vacput and in conjunction with -d.
-D
Print debug messages.
-p
Try to preserve file permissions and owner/group. Only for vacget.
-v
Be verbose. Prints file names to standard error as they are being retrieved or written. Vacput also writes the number of bytes and blocks written and read.
-t
List files, do not write them. Only for vacget.
-r
Do not use fixed sized blocks, for use Rabin fingerprinting for determining block boundaries. Only for vacput.
-a address
Dial address instead of the default venti server.
-b blocksize
Use blocks with blocksize bytes instead of the default 8192 byte blocks. Only for vacput.
-n name
Use name as the name in the root block. Only for vacput.

SOURCE

/appl/cmd/vacget.b
/appl/cmd/vacput.b

SEE ALSO

venti(1), vacget(1), vcache(1), venti(2), vacfs(4), ventisrv(8)

BUGS

These tools need more testing.
The vac data structures used to write archives with variable block sizes may change.

VACGET(1) Rev:  Sat Jul 19 22:49:06 GMT 2008