<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Reset full system (Delete all entries)?]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3572&amp;type=atom" />
	<updated>2013-02-04T00:57:00Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=3572</id>
		<entry>
			<title type="html"><![CDATA[Re: Reset full system (Delete all entries)?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15445#p15445" />
			<content type="html"><![CDATA[<p>Mere deletion of data records is insufficient. <br />The auto_increment counter has to be reset as well if used. <br />Hence a TRUNCATE command is better suited for purges.</p><p>Also, some of the data should not be purges as they may pertain to <br />&nbsp; permissions, <br />&nbsp; logical inter-relationships used in code,<br />&nbsp; drop-down list and other form element choices,<br />&nbsp; sys_prefs choices.</p><p><strong>The recomended way</strong>: After FA is setup and tweaked (extensions, languages, roles, prefs) the way you want it. take a backup and use it to restore for purges later on. Remember the passwords as well for the restored state.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-02-04T00:57:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15445#p15445</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reset full system (Delete all entries)?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15441#p15441" />
			<content type="html"><![CDATA[<p>That might have been part of why my attempt at wiping the database clean didn&#039;t work.&nbsp; What happened was not all of the data was erased, and some of the indexes got mangled.&nbsp; When I tried to then restore the real data from a backup, stuff got jumbled up....&nbsp; GL accounts weren&#039;t balancing, reports were wrong, etc.</p>]]></content>
			<author>
				<name><![CDATA[chrison]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17070</uri>
			</author>
			<updated>2013-02-03T16:51:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15441#p15441</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reset full system (Delete all entries)?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15437#p15437" />
			<content type="html"><![CDATA[<p>Beware: Some new tables and data get created / modified when some extensions get installed.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-02-03T14:03:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15437#p15437</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reset full system (Delete all entries)?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15435#p15435" />
			<content type="html"><![CDATA[<p>I found an SQL script somewhere in the forum for an earlier version of FA (can&#039;t remember which one but I think it was 2.2.x) that supposedly wipes the data clean.&nbsp; I tried to modify it to work with 2.3.13 but when I ran it it made a terrible mess of things so I ended up having to start from a clean install.</p><p>My recommendation is to NOT try and wipe the sample data and reset the database.&nbsp; There are just too many interrelated tables and if something goes wrong you&#039;re totally screwed.&nbsp; In the end, it is probably much easier to just start fresh with a clean install.&nbsp; However, if you wish to give it a try I do wish you the best of luck.</p><p>Regards,</p><p>Chris</p>]]></content>
			<author>
				<name><![CDATA[chrison]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17070</uri>
			</author>
			<updated>2013-02-03T08:19:17Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15435#p15435</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reset full system (Delete all entries)?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15429#p15429" />
			<content type="html"><![CDATA[<p>I am not sure this is possible in FA. The best practice with any installation is to backup a clean copy once the setup is all done. You of course can do this at the DB level, but please make sure you understand the ERD of FA tables.</p>]]></content>
			<author>
				<name><![CDATA[tekillah]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17210</uri>
			</author>
			<updated>2013-02-02T20:08:56Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15429#p15429</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reset full system (Delete all entries)?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14436#p14436" />
			<content type="html"><![CDATA[<p>Is there any option to delete all the entries from within the system itself? (To delete as batch or by selecting multiple entries at a time)</p>]]></content>
			<author>
				<name><![CDATA[bluebird]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=16648</uri>
			</author>
			<updated>2012-11-27T12:12:26Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14436#p14436</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Reset full system (Delete all entries)?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14434#p14434" />
			<content type="html"><![CDATA[<p>No, but you can restore the company from the same script as you started with.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2012-11-27T10:32:28Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14434#p14434</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Reset full system (Delete all entries)?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14431#p14431" />
			<content type="html"><![CDATA[<p>My installation have many sample data which I created while looking around the system.<br />Is there are way that I can reset complete system so that it becomes fresh installation?</p>]]></content>
			<author>
				<name><![CDATA[bluebird]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=16648</uri>
			</author>
			<updated>2012-11-27T07:21:43Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14431#p14431</id>
		</entry>
</feed>
