---
schema_version: "1"
id: 71e47e2c9e4287669265ac99e85119d76132299a14159f758df9e384a1ead63a
title: Configure Files and Attachments for Archived Records in Legacy Salesforce Archive
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/archive_files_attachments.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.archive_files_attachments.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bd0dcfb84da74be90f95835ebb23ac5c8db94eeeaa4038583604f9aff0d3431f
description: Select what happens to files and attachments when their associated records become archived in Legacy Salesforce Archive.
products:
  - Salesforce Platform
  - Cross Cloud
release: "264"
---
# Configure Files and Attachments for Archived Records in Legacy Salesforce Archive

Select what happens to files and attachments when their associated records become archived in Legacy Salesforce Archive.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Developer</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions. Requires the Salesforce Archive license.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d133184e46">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d133184e46 ">To create, edit, and schedule Archive Policies:</td>
            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d133184e46 ">Manage Archive Policies</td>
          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/images/icon_note.png)

Note This content relates to Legacy Salesforce Archive. Read about the Archive managed package in [Own from Salesforce](https://help.salesforce.com/s/articleView?id=platform.own_from_salesforce.htm&type=5&language=en_US).

1. In the File Management section, select an option.
    - **Keep All Files** preserves all related files in your org.
    - **Delete Files if Not Shared** removes related files that only reference archived records. Files that also reference non-archived records are preserved in your org.
    - **Delete All Files** removes all related files from your org, regardless of additional references to other records.
2. Click **Next**.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/images/icon_note.png)
    
    Note The option to include related files and attachments in the archive is still in development.

You're ready to add related objects to your Archive Policy.

#### See Also

- [Archive Related Objects in Legacy Salesforce Archive](https://help.salesforce.com/s/articleView?id=xcloud.archive_related_objects.htm&release=264.0.0&type=5 "Select any related objects in Legacy Salesforce Archive that you want to archive in addition to the primary object.")