# Enable and Run File Replication

* In Database details tab *Download Attachments/Document/Contentversion as local files* must be checked and saved to enable file replication process.
* *Download files to Directory* shows the default path in local directory for file replication. The path can be changed as required.
* *Keep Multiple version of files when downloading (Will rename older version before downloading new ones)* should be checked and saved to enable file versioning. This feature helps to retain the existing downloaded files as backup. The existing files will be retained and the new file will be downloaded as a new version. If this feature is not enabled, existing file will be replaced with the new file.
* It is also necessary that the required objects for file replication are checked in the tab Source apps *Sync Object Details.* To download files in attachment and document, the objects attachment and document should be checked. To download files in content and chatter feed, the object contentversion must be checked.
* To initiate download of all the files from Source to local directory, Source to Database clean copy button should be used. Incremental download can be initiated using Source to Database command button.
* Other modes of running replication can also be used to initiate File Replication. The details are shown in the section [Running Replication.](https://help.mydbsync.com/docs/display/DCRCV7/5-Running+Salesforce+Replication)

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mydbsync.com/cloud-replication-main/source-setup/salesforce/file-replication/enable-and-run-file-replication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
