Contents > Configuring and Administering ColdFusion MX > Managing Collections with the mkvdk Utility > Getting started with the Verity mkvdk utility > Examples: maintaining collections PreviousNext

Examples: maintaining collections

The following examples show the commands for maintaining a collection.

Repairing a collection

The following command automatically repairs a collection, or enables it after manual repairs:

mkvdk -repair -collection path

Backing up a collection

The following command backs up a collection to the specified directory:

mkvdk -backup path_1 -collection path_2

Deleting a collection

To delete a collection, use the appropriate command for your operating system. For example, to remove the collection directory structure and control files on a UNIX system, use the following command:

rm -r -collection_path

Purging a collection

The following command deletes all documents from a collection, but does not delete the collection itself:

mkvdk -purge -collection path

Purging a collection in the background

The following command purges the specified collection in the background:

mkvdk -purge -purgeback -collection path

Specifying persistent service

The following command runs the mkvdk command as a persistent process, so that servicing is performed repeatedly after num idle seconds:

mkvdk -persist -sleeptime num -collection path

Contents > Configuring and Administering ColdFusion MX > Managing Collections with the mkvdk Utility > Getting started with the Verity mkvdk utility > Examples: maintaining collections PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.