<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Restore backup of multiple companies and upgrading]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=8166</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8166&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Restore backup of multiple companies and upgrading.]]></description>
		<lastBuildDate>Tue, 27 Jul 2021 00:13:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Restore backup of multiple companies and upgrading]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39778#p39778</link>
			<description><![CDATA[<p>Thank you for the explanation, sounds right. I will give it a try. As I will be creating a new FA instance, it should be risk free. I shall come back when I have tried (may take a couple of days as I need time to do that).</p>]]></description>
			<author><![CDATA[null@example.com (thorbjornw)]]></author>
			<pubDate>Tue, 27 Jul 2021 00:13:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39778#p39778</guid>
		</item>
		<item>
			<title><![CDATA[Re: Restore backup of multiple companies and upgrading]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39774#p39774</link>
			<description><![CDATA[<p>@thorbjornw</p><p>Yes it can be done. But I would not recommend it. If you are&nbsp; worried about the backup size then its not because of the first company. When you do backups within FA its by company data and not the entire db. Backups within FA are&nbsp; named after company prefix within the DB. i.e 0_ is for the first installed company that cannot be deleted, and&nbsp; 1_ for the second company ...etc.. </p><p>In post #2 above @poncho1234 has hinted on how you can do that. I will elaborate further.</p><p>I assume your existing installation has two companies. the old company with prefix 0_ and the new company with prefix 1_ you can find out the used prefixes when you login to the old company&nbsp; and go setup-&gt;Create/Update Companies Table Pref. </p><p>Now:</p><p>1. Log in to the new company Setup-&gt; Backup and Restore.<br />2. Create Backup<br />3.Choose the Backup and Download it.<br />4. With a text Editor open the file just downloaded. (must have _1_ char in it if the company prefix is 1_)<br />5.Find and replace `1_ with `0_ in all occurrences. (Replace All)<br />6. Save file<br />7. Install another instance of FA<br />8. On new instance go Setup-&gt;Backup and Restore-&gt;Choose file saved in step 6 and then Upload file -&gt;Restore Backup.</p><p>Now you will have one company with all the second company data with prefix 0_ </p><p>Good luck.</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Mon, 26 Jul 2021 09:34:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39774#p39774</guid>
		</item>
		<item>
			<title><![CDATA[Re: Restore backup of multiple companies and upgrading]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39769#p39769</link>
			<description><![CDATA[<p>Not sure if this is the right thread. I had to create a new company fast, and as I had a copy of my principal company on a PC, I thought the easiest was to create the new company in that copy. Unfortunately I didn&#039;t create a new database, so now I have both companies in the same database (the first and the second). I don&#039;t really need the copy of my principal (first) company, so I thought the easiest would be to eliminate that, and keep the new company, I created (and which already has a lot of data in it). <br />Is there are way I can eliminate the first company without damaging the second? I can see that even though I have made the second company the default, the first company still has the privilege to configure the system. So I can imagine it will not be possible to delete? Or is there any other way I could do it? E.g. create a new company (preferably in a second version of FA) and migrate only the data from the second company?<br />I can of course keep both companies and simply ignore the first one. However, as the first company is very heavy in data and the backup is already around 80 MB (before compressing), it would be good to get rid of it (short of simply deleting all the preceding years).<br />I am running FA 2.4.4 on a LAMP setup.</p>]]></description>
			<author><![CDATA[null@example.com (thorbjornw)]]></author>
			<pubDate>Sun, 25 Jul 2021 21:38:28 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39769#p39769</guid>
		</item>
		<item>
			<title><![CDATA[Re: Restore backup of multiple companies and upgrading]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35022#p35022</link>
			<description><![CDATA[<p>No, system setup priviledge remain with the 1st company.</p><p>Yes you are right, but I&#039;m still not sure for your case that you can?&nbsp; </p><p>You are &#039;restoring&#039; a company from your newly made parent company(2.3) </p><p>So briefly with lots of steps missed...normal - existing 2.3 installation, upgrade software to 2.4, then use installation to upgrade DB to 2.4.</p><p>You want to install fresh installation of 2.4 then &#039;restore&#039; with a 2.3DB, the upgrade the DB to 2.4.</p><br /><p>You could just try it then compare finished DB with DB that&#039;s included; but is it worth all the unknowns and the risk to your DB integrity?</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Thu, 23 May 2019 14:04:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35022#p35022</guid>
		</item>
		<item>
			<title><![CDATA[Re: Restore backup of multiple companies and upgrading]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35012#p35012</link>
			<description><![CDATA[<p>is the default company flagged which one that has system setup priviledge? </p><p>As I remember, FA has upgrade functionality. I remember I used back then. It will automatically append some new database table/column. Because I only have the backup database, I wonder if I can do it without installing it to 2.3 first. I notice the announcement usually is about the source code and not database.</p>]]></description>
			<author><![CDATA[null@example.com (barbarian)]]></author>
			<pubDate>Thu, 23 May 2019 01:08:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35012#p35012</guid>
		</item>
		<item>
			<title><![CDATA[Re: Restore backup of multiple companies and upgrading]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35005#p35005</link>
			<description><![CDATA[<p>You can set the default company in Create/Update Company; is that what you want?</p><p>For a new installation of V2.3 using one of the companies from your backup</p><p>1. Select all tables with your chosen prefix copy this to a new file<br />2. Find and replace prefix with 0_ <br />3. Save file: after install upload file, select file in Backup &amp; restore and restore.</p><p>Don&#039;t think its possible to go from 2.3 directly to 2.4.6 have a look at the &#039;Announcements&#039; forum; read the &#039;Sticky&#039; posts.</p><p>Please note there are DB changes, so the company template you made above with have to be changed OR upgraded for 2.4.6</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Wed, 22 May 2019 19:43:55 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35005#p35005</guid>
		</item>
		<item>
			<title><![CDATA[Restore backup of multiple companies and upgrading]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35004#p35004</link>
			<description><![CDATA[<p>So, I just got a backup for a database with multiple companies data in it. The version is 2.3rc.<br />So, I need to select one of the company as parent company (that cando system setup, install module, etc). I know the table prefix. How to setup as parent company?</p><p>As for upgrading, is it possible to upgrade directly to 2.4.6 from 2.3rc?</p>]]></description>
			<author><![CDATA[null@example.com (barbarian)]]></author>
			<pubDate>Wed, 22 May 2019 18:27:30 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35004#p35004</guid>
		</item>
	</channel>
</rss>
