<h1 id="localrepositorymigrationtoadifferentlocation">Local repository migration to a different location</h1> <h2 id="problem">Problem</h2> <p>CloudBerry Backup stores the information about backed up data in local repository (sqlite database). This database grows as you perform the backup. By default this database is located in the %program% data directory. Where you can find product’s configuration files, log files and other. By default it’s located on disk C.</p> <p>If you don't have enough disk space for the local repository, read on.</p> <h2 id="suggestionsandresolutions">Suggestions and Resolutions</h2> <ol> <li>You can shrink database by going to the Tools -&gt; Options -&gt; Repository -&gt; “Shrink Database” button. It will remove all empty lines, all information about outdated accounts, history or cache. In some cases, however, you will win several megabytes. If that's not enough:</li> <li>You can move your repository somewhere outside the current volume. </li> </ol> <p>To do that , go to Tools -&gt; Options -&gt; Repository -&gt; Change the location folder.</p> <p><img src="/content/images/12939b17-2bb6-46e9-a64f-7a0dd3cf039e.png" alt="" /></p> <p>NB:</p> <ul> <li>The database will be moved (!not copied!) to a new location;</li> <li>Make sure that your UI is running under administrator;</li> <li>Make sure that your Backup service is stopped. Otherwise, you will receive an error.</li> </ul> <p><img src="/content/images/c19e59e2-ff51-4390-a419-cb3f0bb69342.png" alt="" /></p> <p>Once you run the Cloudberry Backup with certain rights and stopped the backup service, you should receive the following notification that the database location successfully changed.</p> <p><img src="/content/images/c969edeb-9970-4d78-9284-10d0ba53a9ab.png" alt="" /></p> <p>Restart your backup agent, the service and check that you can see all your data under the Backup Storage tab in UI.</p>