The file archive: rkv

Please note that the archive system is closed to new users; this information continues to be provided for the benefit of existing users.

The archive provides a system with the ability to store and index users' data on a long term basis, allowing users to choose to migrate some of their files into the archive, and to recover them at will. There is also a facility for browsing the list of files stored in the archive.

Putting files into the archive

rkv m filename

Migrates a file into the archive, leaving behind a small stub file which is used by the archive to retrieve the file. Stub files may be regenerated if they have been deleted.

rkv b filename

Copies (backs up) a file into the archive, leaving the original file unchanged.

Recovering files from the archive

rkv r filename

uses the stub-file to gain access to and retrieve the archived file.

Archiving or recovering more than one file

Asterisks can be included in the filename in order to operate on multiple files, as is normal UNIX convention.

Entire directories can be processed by using the -r flag. For example

rkv -r m directory

migrates all the files within directory into the archive.

Listing your archived files

The command

rkv d file

lists the directory of files in the archive and places the information in file. Each entry shows the full pathname that the file had when the migrate command was issued.

Regenerating stub files

To regenerate stub files, obtain an archive directory file listing as described above and issue the command

rkv s file

where file contains the archive directory listing.

If you wish to rebuild only some of the stub-files, you can edit file to retain only those entries that you want. If you wish the files to have different pathnames, just edit the pathname part of the entry. The sequence of capital letters must be left intact: it is the key which is used internally to locate the file. A stub-file will not be created if a file of the same name already exists.