Data Recovery
At Cloud Next Level we know that the data in your Salesforce incident is probably the most valuable asset your company owns. How often do you think about Salesforce data backup and wish you had time to implement a comprehensive and secure backup and recovery system?
For years Salesforce has offered Data Recovery service. It’s a service most know about only in passing and no one ever wants to have to use. Having it available has been a sure safeguard if indeed your company ends up in an emergency and is in need of disaster mitigation. Data Recovery service comes with a hefty price tag – $10,000 per case – and a six to eight week turn around for the retrieval of “lost” data, making it a truly last resort for companies in crisis.
Effective July 31, 2020, Data Recovery as a paid feature will no longer be available through Salesforce.
What does the Data Recovery process involve?
The Data Recovery process is the final recourse where Salesforce Support can recover your data at a specific point in time, in case it has been permanently deleted or mangled during a data import or hacking event. Data Recovery was formerly known as ‘Data Restoration.’
If you decide you need the Salesforce Data Recovery process you can get a complete backup of all your data in .CSV files on the date/time you specify within the last 90 days. Each piece of data (including Accounts, Contacts, Leads, Opportunities, Cases, Contracts, custom object records, files, content, and Chatter) is exported into the .CSV file and provided to you via secured channels. You can then use Salesforce importing tools to insert the data back into your Organization. Salesforce does not insert the data into your organization for you.
Your organizations metadata is not included in the backup. Metadata refers to all of your configuration settings, such as custom fields, page layouts, Reports, Dashboards, and custom code like Apex and Visualforce.
The process is performed manually by Salesforce and usually takes a minimum of 6 – 8 weeks to complete.
The Data Recovery service has the same contents as a Salesforce Data Export Service. Once Salesforce performs the data recovery, the .CSV files given to the requestor would be imported back into Salesforce using an external API tool such as Data Loader/Workbench or with the help of a professional service specializing in importing deleted data.
Why is Salesforce discontinuing Data Recovery Services?
Salesforce has indicated that the Data Recovery process does not meet their standards for customer experience due to the length of time and reliability of the process. This process takes a minimum of 6 – 8 weeks to complete and they cannot guarantee 100% data recovery. Because of these issues, Salesforce is no longer offering this service as of July 31, 2020.
In what situation would you have used Data Recovery Services?
Clearly, Salesforce Data Recovery service is not something you would use without trying every other option available to you. In the event that your system has a technical malfunction or a confused user who accidentally changes or deletes a key field, you will want to make every reasonable effort to recover data from the recycle bin, or re-import it from a .CSV backup. The option querying the API for “IsDeleted” records is also a great first step in your recovery efforts in order to begin the process of manually restoring your data. In the event of a hacker some of those same tools could also be useful.
Data Recovery is not a process to be initiated lightly or without major financial and time losses to your organization. So, with that in mind and with Salesforce’s decision to no longer support that process you have a pre-emergency opportunity to do some planning that can mitigate a future data loss disaster and beef up your routine data backup protocol. Let’s talk about your options:
What are your recovery options now?
To help customers routinely back up their data, Salesforce offers several native options that are available for no additional cost to customers. These are available to backup both data and metadata but not in a combined system. There are also several third-party options that can be leveraged from partners on the AppExchange.
SALESFORCE NATIVE DATA BACKUP OPTIONS:
Data Export Service: Your Salesforce org can generate backup files of your data on a weekly or monthly basis depending on your edition. You can export all your org’s data into a set of comma-separated values (CSV) files in several different interval options. Backup files can be generated manually once every 7 days (for weekly export) or 29 days (for monthly export). In Professional Edition and Developer Edition, you can generate backup files only every 29 days. You can schedule backup files to generate automatically at weekly or monthly intervals (only monthly intervals are available in Professional Edition and Developer Edition).
If you need help with the step by step process of Data Export Services in your edition read THIS article.
Data Loader: Data Loader is a client application for the bulk import or export of data. Use it to insert, update, delete, or export Salesforce records. When importing data, Data Loader reads, extracts, and loads data from .CSV files or from a database connection. For backup purposes Data Loader will be exporting data into a .CSV files. You’ll get an e-mail notification when your exported data is ready and you have 48 hours to download the .CSV file and store it. If you miss the download window you’ll need to wait until your next export.
Chances are you have used Data Loader to import data when your org set up or for ongoing imports. If you need guidance on how to use Data Loader for exporting bulk data read THIS article.
Report Export: This is another tool that you probably already use often. Report Export allows you to work with report data in a dedicated tool, such as a spreadsheet, by exporting report data as a .XLS or .CSV file. It doesn’t replace an entire comprehensive backup process but it can help you rebuild your system with historic information if the need arises.
SALESFORCE NATIVE METADATA BACKUP OPTIONS:
Change Sets: Normally you use change sets to send customizations from one Salesforce org to another. For example, you can create and test a new object in a sandbox org, then send it to your production org using a change set. Change sets can contain only modifications you can make through the Setup menu. For example, you can’t use a change set to upload a list of contact records. Change sets contain information about the org. They don’t contain data, such as records. So, in the case of metadata backup needs the Change Sets copy metadata from your production org to a sandbox or developer org. For more information see this article: Change Sets Overview
Sandbox Refresh: By refreshing a related sandbox, your configuration metadata is copied over automatically. Keep in mind that while it is possible to use a sandbox as a metadata backup, for data you would need a different strategy as all the types of sandbox that allow data to be included, such as full copy can only be done at infrequent intervals. For more information see this article: Creating or Refreshing a Sandbox.
Force.com Migration Tool: This is a Java/Ant-based command-line utility for moving metadata between a local directory and a Salesforce org. This tool is a bit more complicated for admins and developers who don’t come from traditional programming background. It is possible to setup an Ant script to retrieve all the metadata from your Salesforce instance then commit the metadata to git source control so that you can begin scheduling routine backups of all your customizations. The automation can give you peace of mind that behind the scenes all the metadata is being backed up to source control! For more information see this page: ANT Migration Tool.
APP EXCHANGE OPTIONS:
There are also many third-party options on the AppExchange. As a matter of fact, Salesforce itself has been recommending for some time that you use a third-party option for your backup needs. Some Apps are more comprehensive than others in that they allow you to automate backups for both your data AND metadata, and provide a mechanism by which to restore that data easily. You can search for these by visiting the AppExchange directly and searching for keyword backup.
Some things to consider if you decide to go with a third-party App Exchange backup option:
1. Comprehensive: Can the App provide a full backup of all of your Salesforce data, metadata, and attachments?
2. Secure: Backup data should be saved to secure cloud storage – not on an office laptop! For certain compliance requirements the data may also need to be encrypted both in transit and at rest.
3. Consistent: Can you schedule your backups to run on a set schedule which is easy to define and monitor. Ideally you want to have a daily backup, but perhaps your company is comfortable with a weekly or bi-weekly process.
As you consider your data recovery options you need to carefully consider setting standards for how much data your company can afford to lose before it begins a data recovery protocol as well as the time you can afford to lose in the event of a breach and need for backup. Obviously, no one wants to lose any data or time, but the reality is you need to have a plan for both.
We recommend that you consider multiple backup apps and carefully read the reviews provided by other customers before selecting one. Two apps that we are recommend you look into are OwnBackup and Prodly. OwnBackup can be invoked through their API for automated data management. Prodly has tools especially build for declarative data sets (CPQ, FSL).
Do you really need a data recovery plan?
In a word – Yes! Even the most careful users or administrators find themselves in situations where they have either deleted large amounts of data, or have modified records, only to later realize that a mistake was made. With tools like the Data Loader, it is very easy to mass delete or update records. Worst case scenario is you’ve been hacked and need to start fresh from yesterday’s data. Smart business practices dictate that you keep a regular backup of your data for emergency purposes and to do a manual point-in-time backup before you proceed with any major data project within your organization.
How Cloud Next Level can help?
With our team of experienced Business Analysts, Developers, Strategists, Trainers, Project Managers and Administrators, we can help you evaluate your current backup strategies and help create new ones if necessary. If you don’t have a backup strategy yet, we can help you with that too. We can train you in using Salesforce’s native backup options or help you evaluate what is available on the App Exchange to meet your needs and budget.
Cloud Next Level can help you plan for the future without fear. Let Cloud Next Level take your company to the Next Level.