admin:backup_and_restore

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
admin:backup_and_restore [2021/03/31 14:48] Gary Willettsadmin:backup_and_restore [2022/01/17 23:10] – [Restoring your data] Mark Glover
Line 1: Line 1:
 {{indexmenu_n>60}} {{indexmenu_n>60}}
-====== 24.06. Backup ====== +====== 25.06. Backup ======
 If your data is important, then data backups need to happen, because things can go wrong (power failures, disk failures, ransomware, etc.) If your data is important, then data backups need to happen, because things can go wrong (power failures, disk failures, ransomware, etc.)
  
Line 74: Line 73:
  
 =====  Restoring your data ===== =====  Restoring your data =====
 +<WRAP important center round 90%>
 +For data security purposes, the //New data file//, //Restore// and //Open new datafile// functions are disabled if you are on a satellite site in a synchronising system.
 +</WRAP>
  
 An mSupply database can be created from a backup: An mSupply database can be created from a backup:
- 
   - Log in to msupply with an old data file or by creating a new data file and click menu **File > Restore...**   - Log in to msupply with an old data file or by creating a new data file and click menu **File > Restore...**
   - Locate your backup file in the //**Open**// dialog that appears. Your backup file has file extension ''.4BK'', eg. ''CMS.4BK'' Hit **OK**.   - Locate your backup file in the //**Open**// dialog that appears. Your backup file has file extension ''.4BK'', eg. ''CMS.4BK'' Hit **OK**.
Line 85: Line 86:
   - Select the data file and hit the **OK** button.   - Select the data file and hit the **OK** button.
   - You may be prompted for a log file.  Click on the **Create** button.  Select the suggested location, which is the same as your new data file location, and click on the **Save** button.   - You may be prompted for a log file.  Click on the **Create** button.  Select the suggested location, which is the same as your new data file location, and click on the **Save** button.
-  - You will be prompted to do a backup.  It is not necessary to do this at this stage, but the log file will not be created until you create the first backup, so you may as well accept the offer.  It can take a while to open this new data file, particularly if it is a large data file and the index file is not included with the backup (hours).+  - You will be advised that **The log file will be activated after the next backup of the data file.  Do you want to start the backup automatically?**.  If you click **OK** here, then a backup will be created //now// This can take many minutes if it is a large data file.  It is not necessary to create the backup at this stage, but the log file will not be created until you create the first backup
 +  - After clicking **OK** or **Cancel**, the data file will open.  This will take time (hours) if it is a large data file and the index file is not included with the backup (hours)
 +  - You will then be asked to **Please create and specify the location of of your log file in the next window.**  You may find that the parent location of the default location is where the log file is already created.  You can overwrite it.
   - mSupply should open your restored data file and you should be presented with the log in screen to the new data file.   - mSupply should open your restored data file and you should be presented with the log in screen to the new data file.
  
  • Last modified: 2022/05/30 02:03
  • by Mark Glover