function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jose ZunigaJose Zuniga 

Data backup in salesforce

I need to develop an Apex script to backup all the database data every day. Is there an optimal way to do that? What could be needed to be done if pictures or pdf files are saved in the database?

Thanks in Advance
 
UC InnovationUC Innovation
Where are you backing up the data to?  There are a lot of backup apps in the AppExchange.  If you are backing up the data to SQL Server, DBAmp is a good app for that:

https://appexchange.salesforce.com/listingDetail?listingId=a0N300000016bWzEAI
David_GardelDavid_Gardel
To back up all your data from SF without coding, take a look at Skyvia (https://skyvia.com/backup/salesforce-backup). Data is stored in secure Azure GRS and can be restored just in few clicks.