<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://uat.community.rws.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Installing PostgreSQL</title><link>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4734/installing-postgresql</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12 Non-Production</generator><item><title>Installing PostgreSQL</title><link>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4734/installing-postgresql</link><pubDate>Wed, 12 Jan 2022 08:09:58 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:58d7684f-af14-4b54-9c5f-8c8a20e39921</guid><dc:creator>Eugene Kuchynski</dc:creator><comments>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4734/installing-postgresql#comments</comments><description>Current Revision posted to Wiki by Eugene Kuchynski on 1/12/2022 8:09:58 AM&lt;br /&gt;
&lt;h1&gt;Installing PostgreSQL&lt;/h1&gt;
&lt;p&gt;The installation of the PosgreSQL database management engine is fast and simple. You can get a database server up and running in about a minute.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the PostgreSQL website (&lt;a href="https://www.postgresql.org/download/windows/"&gt;https://www.postgresql.org/download/windows/&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Download the installer&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and choose the correct installation package (according your operating system). Depending on operating system, you will see different instructions for installation.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/2451.pastedimage1582727278034v1.png" /&gt;&lt;/li&gt;
&lt;li&gt;Run installer and follow the procedure for installation.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/7041.pastedimage1582727313678v2.png" /&gt;&lt;br /&gt;On the component selection step, you can remove Stack Builder:&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/7633.pastedimage1582727392201v4.png" /&gt;&lt;/li&gt;
&lt;li&gt;During installation select admin password, as it will be required to connect SDL Trados Business Manager to PostgreSQL server.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/4812.pastedimage1582727412556v5.png" /&gt;&lt;/li&gt;
&lt;li&gt;Leave default port:&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/8233.pastedimage1582727436588v6.png" /&gt;&lt;/li&gt;
&lt;li&gt;Proceed to finish installation.&lt;/li&gt;
&lt;/ol&gt;
&lt;h1 class="name"&gt;PostgreSQL configuration&lt;/h1&gt;
&lt;p&gt;After installation, it may be required to open the&amp;nbsp;PosgreSQL port&amp;nbsp;(5432 by default) in the Windows Firewall.&lt;/p&gt;
&lt;div style="background-color:#fcb1b1;border-left:15px solid #FC8B8B;border-right:3px solid #FC8B8B;margin-bottom:15px;margin-top:15px;padding:10px;"&gt;&lt;strong&gt;Important&lt;/strong&gt;. It is highly recommended to open&amp;nbsp;C:\Program Files\PostgreSQL\11\data\postgresql.conf file and&amp;nbsp;set&amp;nbsp;&lt;strong&gt;idle_in_transaction_session_timeout&lt;/strong&gt; parameter. To do this, remove leading &lt;strong&gt;#&lt;/strong&gt; symbol to uncomment it, and set some value instead of zero, for example &lt;strong&gt;5000&lt;/strong&gt;, which corresponds to 5 seconds. After changing this value, please restart PostgreSQL server from the Services console (or by restarting computer).&lt;/div&gt;
&lt;div class="content"&gt;
&lt;h1 class="name"&gt;Connecting TBM to PostgreSQL server&lt;/h1&gt;
&lt;div class="content"&gt;
&lt;ol&gt;
&lt;li&gt;Open configuration page (https://localhost/Config).&lt;/li&gt;
&lt;li&gt;Select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PostgreSQL&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Database system&lt;/strong&gt;&amp;nbsp;field.&lt;/li&gt;
&lt;li&gt;Specify server name (localhost), port if needed, database name (will be created automatically) and additional parameters as needed (see PostgreSQL official documentation).&lt;/li&gt;
&lt;li&gt;Click&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Save&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Go to login page and try to logon as default user (&lt;strong&gt;Admin, User@TBM&lt;/strong&gt;). If connection parameters are specified correctly, you will see dashboard page. Otherwise, you will get an error. Usually error message says why connection has failed (for example, misspelled server name or password).&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;Database backup&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;After installation, run the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;pgAdmin 4&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;utility, which was installed along with the server. It may look like:&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/3000.pastedimage1562854373423v1.png" /&gt;&lt;/li&gt;
&lt;li&gt;Enter your password and confirm that server works correctly. Enter the prerequisites here (optional).&lt;/li&gt;
&lt;li&gt;From within SDL Trados Business Manager, you can create and restore backups only when the program in local mode. With network mode, backups are created using corresponding database engine (PostgreSQL, in this case).&lt;/li&gt;
&lt;li&gt;Expand server -&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Databases&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;- find your database, right click on it and select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Backup&lt;/strong&gt;.&lt;br /&gt;&lt;img alt=" " height="213" src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/3326.pastedimage1562854382855v2.png" width="231" /&gt;&lt;/li&gt;
&lt;li&gt;Specify file name, select compression ratio if your database file size is large enough, and select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Backup&lt;/strong&gt;.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/8726.image.png" /&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;Database restore&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;To restore database from backup, follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;pgAdmin&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;utility and delete database you wish to restore.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/3302.image-_2800_1_2900_.png" /&gt;&lt;/li&gt;
&lt;li&gt;Create an empty database with the same name.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/2061.image-_2800_2_2900_.png" /&gt;&lt;/li&gt;
&lt;li&gt;Right-click on the created database and select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Restore&lt;/strong&gt;.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/7026.image-_2800_3_2900_.png" /&gt;&lt;/li&gt;
&lt;li&gt;In the shown dialog, specify backup file location and select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Restore&lt;/strong&gt;.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/3872.pastedimage1562854632903v3.png" /&gt;&lt;/li&gt;
&lt;li&gt;After the restore operation completes, you can connect to the restored database.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/7658.image-_2800_5_2900_.png" /&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Installing PostgreSQL</title><link>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4734/installing-postgresql/revision/4</link><pubDate>Thu, 22 Apr 2021 08:07:36 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:58d7684f-af14-4b54-9c5f-8c8a20e39921</guid><dc:creator>Eugene Kuchynski</dc:creator><comments>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4734/installing-postgresql#comments</comments><description>Revision 4 posted to Wiki by Eugene Kuchynski on 4/22/2021 8:07:36 AM&lt;br /&gt;
&lt;h1&gt;Installing PostgreSQL&lt;/h1&gt;
&lt;p&gt;The installation of the PosgreSQL database management engine is fast and simple. You can get a database server up and running in about a minute.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the PostgreSQL website (&lt;a href="https://www.postgresql.org/download/windows/"&gt;https://www.postgresql.org/download/windows/&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Download the installer&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and choose the correct installation package (according your operating system). Depending on operating system, you will see different instructions for installation.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/2451.pastedimage1582727278034v1.png" /&gt;&lt;/li&gt;
&lt;li&gt;Run installer and follow the procedure for installation.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/7041.pastedimage1582727313678v2.png" /&gt;&lt;br /&gt;On the component selection step, you can remove Stack Builder:&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/7633.pastedimage1582727392201v4.png" /&gt;&lt;/li&gt;
&lt;li&gt;During installation select admin password, as it will be required to connect SDL Trados Business Manager to PostgreSQL server.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/4812.pastedimage1582727412556v5.png" /&gt;&lt;/li&gt;
&lt;li&gt;Leave default port:&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/8233.pastedimage1582727436588v6.png" /&gt;&lt;/li&gt;
&lt;li&gt;Proceed to finish installation.&lt;/li&gt;
&lt;/ol&gt;
&lt;h1 class="name"&gt;PostgreSQL configuration&lt;/h1&gt;
&lt;p&gt;After installation, it may be required to open the&amp;nbsp;PosgreSQL port&amp;nbsp;(5432 by default) in the Windows Firewall.&lt;/p&gt;
&lt;div class="content"&gt;
&lt;h1 class="name"&gt;Connecting TBM to PostgreSQL server&lt;/h1&gt;
&lt;div class="content"&gt;
&lt;ol&gt;
&lt;li&gt;Open configuration page (https://localhost/Config).&lt;/li&gt;
&lt;li&gt;Select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PostgreSQL&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Database system&lt;/strong&gt;&amp;nbsp;field.&lt;/li&gt;
&lt;li&gt;Specify server name (localhost), port if needed, database name (will be created automatically) and additional parameters as needed (see PostgreSQL official documentation).&lt;/li&gt;
&lt;li&gt;Click&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Save&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Go to login page and try to logon as default user (&lt;strong&gt;Admin, User@TBM&lt;/strong&gt;). If connection parameters are specified correctly, you will see dashboard page. Otherwise, you will get an error. Usually error message says why connection has failed (for example, misspelled server name or password).&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;Database backup&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;After installation, run the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;pgAdmin 4&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;utility, which was installed along with the server. It may look like:&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/3000.pastedimage1562854373423v1.png" /&gt;&lt;/li&gt;
&lt;li&gt;Enter your password and confirm that server works correctly. Enter the prerequisites here (optional).&lt;/li&gt;
&lt;li&gt;From within SDL Trados Business Manager, you can create and restore backups only when the program in local mode. With network mode, backups are created using corresponding database engine (PostgreSQL, in this case).&lt;/li&gt;
&lt;li&gt;Expand server -&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Databases&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;- find your database, right click on it and select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Backup&lt;/strong&gt;.&lt;br /&gt;&lt;img alt=" " height="213" src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/3326.pastedimage1562854382855v2.png" width="231" /&gt;&lt;/li&gt;
&lt;li&gt;Specify file name, select compression ratio if your database file size is large enough, and select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Backup&lt;/strong&gt;.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/8726.image.png" /&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;Database restore&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;To restore database from backup, follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;pgAdmin&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;utility and delete database you wish to restore.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/3302.image-_2800_1_2900_.png" /&gt;&lt;/li&gt;
&lt;li&gt;Create an empty database with the same name.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/2061.image-_2800_2_2900_.png" /&gt;&lt;/li&gt;
&lt;li&gt;Right-click on the created database and select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Restore&lt;/strong&gt;.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/7026.image-_2800_3_2900_.png" /&gt;&lt;/li&gt;
&lt;li&gt;In the shown dialog, specify backup file location and select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Restore&lt;/strong&gt;.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/3872.pastedimage1562854632903v3.png" /&gt;&lt;/li&gt;
&lt;li&gt;After the restore operation completes, you can connect to the restored database.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/7658.image-_2800_5_2900_.png" /&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Installing PostgreSQL</title><link>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4734/installing-postgresql/revision/3</link><pubDate>Thu, 11 Jul 2019 14:01:22 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:58d7684f-af14-4b54-9c5f-8c8a20e39921</guid><dc:creator>Eugene Kuchynski</dc:creator><comments>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4734/installing-postgresql#comments</comments><description>Revision 3 posted to Wiki by Eugene Kuchynski on 7/11/2019 2:01:22 PM&lt;br /&gt;
&lt;p&gt;This section&amp;nbsp;contains information about installing and configuring PostgreSQL database engine.&lt;/p&gt;
&lt;p&gt;See nested articles, which contains detailed information on this subject.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Installing PostgreSQL</title><link>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4734/installing-postgresql/revision/2</link><pubDate>Thu, 11 Jul 2019 13:59:14 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:58d7684f-af14-4b54-9c5f-8c8a20e39921</guid><dc:creator>Eugene Kuchynski</dc:creator><comments>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4734/installing-postgresql#comments</comments><description>Revision 2 posted to Wiki by Eugene Kuchynski on 7/11/2019 1:59:14 PM&lt;br /&gt;
&lt;p&gt;See nested articles, which contains detailed information on this subject.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Installing PostgreSQL</title><link>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4734/installing-postgresql/revision/1</link><pubDate>Thu, 11 Jul 2019 13:57:01 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:58d7684f-af14-4b54-9c5f-8c8a20e39921</guid><dc:creator>Eugene Kuchynski</dc:creator><comments>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4734/installing-postgresql#comments</comments><description>Revision 1 posted to Wiki by Eugene Kuchynski on 7/11/2019 1:57:01 PM&lt;br /&gt;
&lt;p&gt;&lt;span style="background-color:#ff0000;"&gt;PostgreSQL installation&lt;/span&gt;&lt;br /&gt;The installation of the PosgreSQL database management engine is fast and simple. You can get a database server up and running in about a minute.&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ff0000;"&gt;PostgreSQL configuration&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ff0000;"&gt;Connecting client computers to PostgreSQL server&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ff0000;"&gt;Database backup&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ff0000;"&gt;Database restore&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>