Backup/Restore Options

Backup/Restore Options:

This feature has a set of options to save and archive Inventory data, and be able to restore them by date per Inventory Center. The backup files are saved as .csv files and organized folder wise for different Inventory centers. You can choose to save your backups in either the SD card or the Dropbox. Either way, the backup files can be used to restore data in myStock or import into third party applications for processing, reporting or auditing.



In the myStock application, you can perform backup of the data to SD Card and enable options to restore your Inventory data from the backups you have saved. The location of the backups saved in the SD Card is ‘/mystock/backup/’. Within this folder, you will find backups saved by Inventory Centers. The folder names of each Inventory Centers are indexes used for internal identification within the myStock application. They are typically of the format IC#. Read the following sections to find out the functioning of each section of local Backup/Restore options.


Dropbox is a file hosting service operated by Dropbox, Inc., that offers cloud storage, file synchronization and client software. In the myStock application, you can do a backup and have your Product list and Transaction list saved to Dropbox. This keeps your data safe and simplifies the process of transferring the backup files between devices or third party applications. To use this feature, you are required to have an account in and link the myStock Inventory Manager application to Dropbox. Dropbox cloud service offers a significant amount of storage size for free and is available on multiple platforms such as Android, iOS, windows, mac, linux and web, so you always have access to your data. The myStock application’s Dropbox Options screen has all the options required to interface with Dropbox. These are explained in the following sections:


Link to Dropbox:

In order to use the Dropbox cloud service, you must link the myStock application to your Dropbox account. To do this, click on “Link to Dropbox”. This will redirect you to the Dropbox app, if you have the app installed or other wise to the web. Then sign in to your account and tap on “Allow” to authenticate the process. After this, the myStock application will be linked to your Dropbox account and a folder “myStock” will be created in your Dropbox. To find your backup files look in this folder.


Backup to Dropbox:

This feature allows the Inventory data for the active center to be saved and archived. The myStock application maintains separate database for each Inventory Center and they are saved within a folder ‘/backup’ in the myStock Dropbox folder. The Inventory centers have indexes for internal identification. Typical indexes would be IC1, IC2, IC3, etc. The backup files are stored in folders named after these indexes under /myStock/backup folder in Dropbox. And within these index folders, daily backups are stored separately based on the date on which the backup is done. You can have only one backup per day. If you attempt a second time, the first set of backup files will be overwritten. All Dropbox operations requires an Internet connection, so this process can take time depending on the Internet connection and the amount of data being backed up.

Restore Active Inventory Center:

This option allows you to restore backup data of an active center stored in Dropbox, into the current database. When you tap on “Restore Active Center” option, you will be shown a confirmation dialog. Pressing proceed will display a list of dates you have performed backup in the past. You can restore data even from an earlier date. This will erase all of the existing data stored in the active Inventory Center. So it is recommended to take a fresh backup as of ‘now’ before commencing the restoration of the old one. It is a requirement to have an active Internet connection during this task.

Import from other Backups:

This option is used to import data from any Inventory Center stored in Dropbox to the active Inventory Center. When you tap the option “Import from Other Centers”, your existing data will be replaced by the data being imported. So it is recommended you take a backup of the existing data before you perform a Restore.