I wanted to clear all the data from the database and make a fresh start.
Can anyone plz guide me the exact steps to clear the database
Thank You…
I wanted to clear all the data from the database and make a fresh start.
Can anyone plz guide me the exact steps to clear the database
Thank You…
@seetamN
There are many ways to do this :
bench --site {site-name} reinstall
If you just want to clear all transactions i.e Journal Entries, Sales Invoices, Payment Entries and other except masters. Goto Company List on top right you will see Delete Traansactions Option under Manage Button. ( there you have to enter Company Name and Admin Password )
Drop an existing site. In this operation, the database is dropped and the respective site’s folder is moved from ./sites
to ./archived_sites
Command:
bench drop-site [OPTIONS] {site-name}
Options may be --force or --no-backup
Create New Site as you want to fresh start.
Command:
bench new-site {site-name}
Thank you @Abhishek_Chougule and @Jeel for your suggestion it worked for me.
I did a reinstall.