We strongly recommend that you preserve a backup copy of the AccuRev data repository before deleting any depots. See Backing Up the Repository. Much of a depot’s data is stored in its slice of the repository. Use the command accurev show slices to determine the pathname of a depot’s slice; you’ll need it in Step 4 below.
•
• Windows: use the Services control panel, or enter the command net stop accurev in a Command Prompt window.
2. maintain rmdepot <depot-name>For safety, the rmdepot command goes through two confirmation steps, including having you retype the depot name.The rmdepot command removes the depot’s records from the repository database (everything except its name and slice information). See Step if you want to rename the deleted depot to reuse the name. It will only appear in an accurev show –fi depots command listing (the –fi option includes removed items)
•
• Windows: use the Services control panel, or enter the command net start accurev in a Command Prompt window.
4. Remove the depot’s directory from the AccuRev storage directory tree. Be careful not to remove any other depot’s directory! If you’re not sure where this information is located, use the commands accurev show –fi depots and accurev show –fi slices to determine the pathname. (These commands require the AccuRev Server to be running.)If you want to reuse the depot’s name with accurev mkdepot, you must first rename the deleted depot with accurev chdepot -p <depot-name> <new-name>.
Micro Focus |