Администрирование предприятия > Архивирование и репликация файлов > FvLoader and ReplicaLoader > About FvLoader and ReplicaLoader
  
About FvLoader and ReplicaLoader
PTC supplies two classes of utilities that you can use for the master and remote sites: FvLoader (master site) and ReplicaLoader (remote site). For both utilities, some actions are controlled by command-line arguments and other actions are controlled by data in files.
* 
The name FvLoader is an abbreviation of “file vault object loader.”
Tasks
FvLoader and ReplicaLoader are utilities that help you perform a number of tasks for both the master and remote sites.
FVLoader
FvLoader can be used for the following tasks:
Creating a file vault
Creating a file vault host
Creating a file vault mount
Creating a file vaulting rule
Enabling a file vault
Enabling a file folder
Removing a file vaulting rule
For more information, see Configuring External File Vaults or Rules and Removing Rules . You may need to use FvLoader to list domains to perform the removal actions efficiently.
To create a file vault mount in cluster environment, run the command for each host with type Standalone Node. If you want to create a file vault mount in cluster environment for hosts with type Cluster Node, run the single command by passing hostname parameter as ‘cluster’.
ReplicaLoader
Replica Loader can be used for the following tasks:
Creating a replica file vault
Creating a replica file vault host
Creating a replica folder
Creating a replica file vault mount
Creating a replication rule
Enabling a replica vault
Enabling a replica folder
Removing a replication rule
See Supporting Replica Site Vaulting and Removing Rules.
Command Line
You can use the command line to:
List domains—This is a two-step process. For details, see Listing Domains.
List vaulting policy rules—Use the output for batch deletion or recreation of policy rules. For details, see Listing Rules.
Support local replication—This procedure provides accelerated content replication. You can invoke ReplicaLoader with the command line to obtain information to set up the local replication. During this procedure, you complete steps to relocate content to the local site, move content to the destination remote site manually, and update the database to reflect the move. For information about implementing local replication, contact PTC Global Services.
* 
Do not keep the CSV file in edit mode while executing FvLoader commands.
Commands
You can create data in files to specify the action of FvLoader or Replica Loader in two ways:
Modify the fvloader.csv file in the directory /loadFiles directory to specify the task.
* 
The same loader file is used for both FvLoader and ReplicaLoader.
Running FvLoader or ReplicaLoader with no arguments loads data from this file. Enter one of the following commands in the command window:
FvLoader
java wt.fv.FvLoader
ReplicaLoader
java wt.dataops.replication.ReplicaLoader
Create your own comma-separated value (.csv) file. The command that you enter in the command window is the following:
FvLoader
java wt.fv.FvLoader <Full_File_Path>
ReplicaLoader
java wt.dataops.replication.ReplicaLoader <Full_File_Path>
Whether you modify the fvloader.csv file or create your own .csv file, the syntax is the same.