--- title: "Converting a Bak file to a Bacpac File" slug: "converting-a-bak-file-to-a-bacpac-file" updated: 2024-10-21T09:45:18Z published: 2024-10-21T09:45:18Z canonical: "docs.avontus.com/converting-a-bak-file-to-a-bacpac-file" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.avontus.com/llms.txt > Use this file to discover all available pages before exploring further. # Converting a Bak file to a Bacpac File In [DB tools](https://docs.avontus.com/docs/using-quantifys-database-db-tools) you can no longer restore or backup database files in .bak format. However, you can use SQL Management Studio to restore the .bak version of the database and point Quantify towards it. You can then backup that database in .bacpac format using DB tools. This means you can easily switch between databases without needing to use SQL Management studio, and just by using DB Tools. This article will explain how to do this. Before completing this process, ensure you have deleted the database that Quantify is currently pointing at. This can be done using [Quantify’s Database tools app](https://docs.avontus.com/docs/using-quantifys-database-db-tools) or by manually expanding the **Databases** section in Microsoft **SQL Server Management Studio**, right-clicking on **ASIRentalManager** and selecting **Delete**. ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/image-5DO1UXN2.png) 1. Place the bak file in a folder in the C drive that is easy to access. ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/image-2CJ1WPTO.png) 2. Open up **SQL Server Management Studio** ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/image-1HQ53Z2F.png) 1. Enter your SQL Server credentials. ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/image-2T7HOABP.png) 1. Once connected, right-click on **Databases** 2. Select **Restore Database** ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/image-R3TSGXCB.png) This will open the **Restore database** dialog box 1. Select the **Device** radio button ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/image-HUMY87MO.png) 1. Select the **browse** button ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/image-0GJYG4EH.png) 1. In the **Select backup devices** dialog box, select **Add** ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/image-H5XCAFZU.png) 2. Find the required bac file. ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/image-P0OZ3S8F.png) 1. When the file is added, click **OK**. ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/image-CAW2EHTN.png) 1. Click **OK** again ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/image-BTPI10WM.png) The restoration will be complete. Click **OK** to finish. ![](https://cdn.document360.io/ae69c864-58f0-4711-91e1-d1c2f7dff95f/Images/Documentation/image-LNGI6YKF.png) Your database will still be using the .bak file, and you should be able to log into Quantify with the correct credentials for the database you have just restored. You can then use the DB Tools to create a backup for that database in .bacpac format. Please see [Using Quantify's Database (DB) Tools](https://docs.avontus.com/docs/using-quantifys-database-db-tools) for more information on backing up your database.