<div dir="ltr">If you want to bulk process your layers there are a few options. If you break the existing connection, the project will prompt you to find new layers when it starts up, the interface for which includes features like "auto-find" etc. There is also a plugin called changeDataSource which provides a similar functionality to changing the data source from the layer context menu, but I believe it supports bulk processing as well.<div><br></div><div>Personally in most instances I use a text editor to find and replace the various data source strings within the project file, but this is context specific and if you have complex configurations you may break things in your project. If you want a good visual UX the plugin route is probably the best.</div><div><br></div><div>Regards</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 25 Sept 2021 at 12:29, L.W. <<a href="mailto:eaglelw@gmx.de">eaglelw@gmx.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I want to change the database server for my QGIS-Project.<br>
<br>
I have a new server at a new location, postgres+postgis.<br>
Postgis extension is activated on 2nd one.<br>
<br>
Do I have to change every single layer each at a time? Is there a batch<br>
option?<br>
<br>
How can I achieve this without loosing data and a lot of time?<br>
<br>
Regards<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>