It may be necessary to mass restore a large number of records that were incorrectly moved to the recycle bin.
Since there is no 'restore all' button in recycle bin it may not be scalable to manually undelete all records from the recycle bin.
Salesforce editions with API Access may be able to bulk restore records via an Undelete() API call using client tools such as Workbench.
| Note Salesforce does not provide support for Workbench or Excel features or functionality and can't perform data management or manipulation tasks on a customer's behalf. The following information is provided as a courtesy and to serve as general guidelines for customers. See Workbench Support for questions and assistance with Workbench. |
Note: You can add any additional filters of your choice by clicking the green (+) button.
Select From File | Browse... and select the CSV file you just saved. The file should contain all of the Ids for the records you'd like to restore | Next. Map the Id field to the ID column in your CSV and select the Map Fields button and lastly the Confirm Undelete button.
A response will display to indicate if the recovery was successful or if any records returned an error message.
000384757

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.