How can I take backup of my SQLite file ? I save around 1000 rows of data and 2 tables in sqlite which is getting called for offline purpose. But when i clear data for the app my SQLite file gets deleted. Is there a way to take online backup or store it in some other destination so that data in it doesn’t get deleted ?
I am also sending data to server once internet is on but there may be a case of internet failure and data getting stacked and user clears data for the app!