Enterprise Administration > File Vaulting and Replication > File Vaulting > Understanding File Vaulting > Default Vaults for Uploads and File Vaulting
  
Default Vaults for Uploads and File Vaulting
A default cache vault (defaultuploadvault) is created on the local system during the startup of a new or migrated Windchill system. The default cache vault enables files to be uploaded faster for certain applications if you have not set up a custom cache vault.
The defaultuploadvault is initially located in the following temporary directory:
<Windchill>/vaults/defaultuploadvault
* 
A write-enabled cache vault is required to create a document or CAD document in Windchill.
The defaultuploadvault vault is the replica vault that is designated as the out-of-the-box cache and is where default master uploads will occur (with certain exceptions). It may also be designated as the default target for the site, which is primarily used for predictive and ad hoc replication (for example, in the absence of replication rules).
A default system vault (named defaultsystemvault, with a type of FvVault), while not enabled out-of-the-box, is created on master site when the property wt.fv.useVaultsForAllContent is set to true. In that case, content that does not have applicable vaulting rules is stored in defaultsystemvault. (If the property is set to false, which is the default value, content without applicable vaulting rules is stored in database BLOBs.) In other words, while you have the option of creating and designating particular vaults for the uploading and revaulting of content according to scheduled revaulting or a file synchronization process, the system is ready out-of-the-box to handle content uploads with the defaultuploadvault vault and ready (once wt.fv.useVaultsForAllContent is set to true) for revaulting with the defaultsystemvault vault.
* 
If the property wt.fv.forceContentToVault is set to true on the master site, only one master vault is allowed across all sites (master and remote), and this vault must be on the master site.
* 
New documents created using the Upload Documents from Compressed File action are added to the Master vault. The files are extracted at the server level and uploaded from there.
To relocate a vault by relocating its folder:
1. Update the folder and assign it read-only status to prevent additional files from being uploaded to the current location.
2. Copy the existing files to the new storage location.
3. Update the mount with the new path.
4. Update the folder again to clear the read-only status.
For more information about folders and mounts, see About Mounts.
Though the defaultuploadvault vault can be used for file storage just like any other vault, you typically use vaulting rules to designate a different vault or the Windchill database for long-term file storage. In that case, files uploaded to the defaultuploadvault vault are revaulted to their designated storage location. File synchronization is a prerequisite for the revaulting or replication of content files. For more information, see File Synchronization.
Files are uploaded to the defaultuploadvault vault and the content is revaulted according to established file vaulting rules during the next scheduled revaulting session. PTC recommends purging unreferenced files from the cache vault at the end of the backup procedure.
Because a cache vault accumulates unreferenced files more quickly than other vaults on a site, regular file cleanup is necessary. For more information about vault cleanup, see the Maintaining Your Vaults section in Windchill Vault Configuration.
A scheduler object created at startup periodically executes to clean up unreferenced database information. In the wt.properties file, the wt.fv.purgeUnreferencedFilesInterval property controls the timing of the vault purging (the default is daily) and the wt.fv.purgeUnreferencedFilesOlderThan property controls the age of unreferenced objects to be purged (the default is 30 days). You can modify the values of these properties to suit your requirements.
If you are not setting properties through a graphical user interface or in a mapping rules file, you add or edit properties with the xconfmanager utility. For more information, see Using the xconfmanager Utility.