In Cloudvanti Sitefinity we provide you with a pipeline to backup your website database. The pipeline for the Staging and Production database is different but the process is the same.

https://media.nimvio.com/Project_7b52b729-4b2f-4836-83ff-80c738b6f0a9/Media/assets_doc_sitefinity/site-db-backup_published.png

Here is the backup database process:

  1. User create new release in <subscription-name>-DB-Backup-<PRD/STG>.CD pipelineThis will run the DB Backup Pipeline.
  2. The primary database will be duplicated to the secondary database.
  3. The secondary database will be exported to Azure storage. After the database is exported, the secondary database will be deleted.
For the exported database to be transactionally consistent, you must ensure either that no write activity is occurring during the export, or that you are exporting from a transactionally consistent copy of your database.

You can backup the latest database from staging and production with these steps:

  1. Navigate to Pipelines >> Releases.
  2. For backup database from:
    Staging select: <subscription-name>-DB-Backup-STG.CD.
    Production select: <subscription-name>-DB-Backup-PRD.CD.
    For this example, we use the backup for the Production database.
     
    https://media.nimvio.com/Project_7b52b729-4b2f-4836-83ff-80c738b6f0a9/Media/assets_doc_sitefinity/site-db-backup2_published.png

     
  3. Click the Create release button on the top right side.
     
    https://media.nimvio.com/Project_7b52b729-4b2f-4836-83ff-80c738b6f0a9/Media/assets_doc_sitefinity/site-db-backup3_published.png

     
  4. Fill in the form Release Description, you can fill it with the reason why you want to backup the database.
     
    https://media.nimvio.com/Project_7b52b729-4b2f-4836-83ff-80c738b6f0a9/Media/assets_doc_sitefinity/site-db-backup4_published.png

     
  5. Your database backup is stored in Azure Storage Account in System Folder as a .bacpac extension. The folder can be accessed from here. For more detail see this Upload Database Backup File.
     
    https://media.nimvio.com/Project_7b52b729-4b2f-4836-83ff-80c738b6f0a9/Media/assets_doc_sitefinity/site-db-backup5_published.png

     
  6. Choose Staging or Production Folder.
     
    https://media.nimvio.com/Project_7b52b729-4b2f-4836-83ff-80c738b6f0a9/Media/assets_doc_sitefinity/site-db-backup6_published.png

     
  7. Choose db-backup folder
     
    https://media.nimvio.com/Project_7b52b729-4b2f-4836-83ff-80c738b6f0a9/Media/assets_doc_sitefinity/site-db-backup7_published.png

     
  8. The name of the Backup file is the same as the release name.
    https://media.nimvio.com/Project_7b52b729-4b2f-4836-83ff-80c738b6f0a9/Media/assets_doc_sitefinity/site-db-backup8_published.png


     
    https://media.nimvio.com/Project_7b52b729-4b2f-4836-83ff-80c738b6f0a9/Media/assets_doc_sitefinity/site-db-backup9_published.png

     
  9. Click the Download button on the right side to download the backup file
     
    https://media.nimvio.com/Project_7b52b729-4b2f-4836-83ff-80c738b6f0a9/Media/assets_doc_sitefinity/site-db-backup10_published.png