Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:how_to_use_the_backup_restore_feature [2024/02/22 18:15] jake [1. Set the cycle for backup of the data] |
en:how_to_use_the_backup_restore_feature [2024/02/27 16:45] jake [How to Use the 'Backup & Restore' Feature with BioStar 2] |
||
---|---|---|---|
Line 6: | Line 6: | ||
Thanks to this new function, users can back up the necessary data on BioStar 2 more easily and conveniently. \\ | Thanks to this new function, users can back up the necessary data on BioStar 2 more easily and conveniently. \\ | ||
- | <callout type="primary" icon="true"> | + | <callout type="primary" icon="true"> If you have an issue with this feature in BioStar 2 v2.9.4 or v2.9.5, please refer to the linked article below. \\ https://support.supremainc.com/en/support/solutions/articles/24000088219 \\ |
- | If you have an issue with this feature in BioStar 2 v2.9.4 or v2.9.5, please refer to the linked article below. \\ https://support.supremainc.com/en/support/solutions/articles/24000088219 \\ | + | |
</callout> | </callout> | ||
+ | |||
===== Background ===== | ===== Background ===== | ||
Line 66: | Line 66: | ||
<callout type="primary" icon="true"> | <callout type="primary" icon="true"> | ||
- | There are a total of four options (Not Use / Daily / Weekly / Monthly) on Frequency \\ | + | There are a total of four options **(Not Use / Daily / Weekly / Monthly)** on **Frequency** \\ |
</callout> | </callout> | ||
* Not Use: If selecting this option, the data will not be backed up regularly and automatically. Instead, you can back up the data by clicking the "Backup Now" in "General." \\ {{:en:pic2.png?400|}} | * Not Use: If selecting this option, the data will not be backed up regularly and automatically. Instead, you can back up the data by clicking the "Backup Now" in "General." \\ {{:en:pic2.png?400|}} | ||
- | * Daily: If selecting it, the data will be backed up at the set time daily | + | * Daily: If selecting it, the data will be backed up at the set time daily \\ {{:en:pic3.png?400|}} |
+ | * Weekly: If selecting it, the data will be backed up at the set time and day weekly \\ {{:en:pic4.png?400|}} | ||
+ | * Monthly: If selecting it, the data will be backed up at the set time and date monthly \\ {{:en:pic5.png?400|}} | ||
+ | |||
+ | <callout type="primary" icon="true"> | ||
+ | Users can see the last time the data was backed up, indicated by the red line below in the General | ||
+ | </callout> | ||
+ | * Example) \\ {{:en:pic6.png?400|}} | ||
+ | |||
+ | ==== 2. Set the number of files to keep ==== | ||
+ | Users can define the maximum number of backup files to keep by setting **"Number of Backup Files to Keep"** in the General section of BioStar 2. Once a specific number is set, the oldest backup data will be deleted when the number of backup files exceeds this limit. | ||
+ | |||
+ | <callout type="primary" icon="true"> | ||
+ | The allowable number range is **from 1 to 100** | ||
+ | </callout> | ||
+ | * Example) \\ {{:en:pic7.png?400|}} | ||
+ | |||
+ | ==== 3. Use the extra application to restore ==== | ||
+ | Restoring the data is processed through the extra tool named "biostar-restore." The tool will be automatically installed when installing BioStar 2 v.2.9.3 and located in C:\Program Files\BioStar 2(x64). | ||
+ | Since the specific tool for data restoration is separate from BioStar 2, users can attempt to restore data when BioStar 2 isn't running normally due to configuration problems or database issues. \\ | ||
+ | |||
+ | ==== 4. Restorable depending on the backup data version ==== | ||
+ | If the backup data was generated using a version lower than the current one, it cannot be restored through this new function. \\ | ||
+ | **Example)** \\ | ||
+ | If the backup data is generated in v.2.9.3, it CANNOT be restored in v.2.9.4 or a higher version of BioStar 2. \\ | ||
+ | |||
+ | <callout type="primary" icon="true"> | ||
+ | Suprema plans to improve the above restriction, but the specific plan is not fixed \\ | ||
+ | </callout> | ||
+ | |||
+ | ===== Precautions ===== | ||
+ | In the case of using **MSSQL**, you will meet the two types of warning popups below and CANNOT each function normally if you don't assign the **sysadmin** of the **Server Role** to the database user. \\ | ||
+ | __If you are in the above case, please check first if the sysadmin has already been assigned to the user.__ \\ | ||
+ | {{:en:pic8.png?400|}} | ||
+ | |||
+ | * **Error Case 1.** \\ {{:en:pic9.png?300|}} \\ | ||
+ | * **Error Case 2.** \\ {{:en:pic10.png?300|}} \\ | ||
+ | |||
+ | ===== Execution Procedure ===== | ||
+ | |||
+ | ==== Step 1. Backup (based on the case of using the function manually) ==== | ||
+ | === Step 1-1. === | ||
+ | Go to **SYSTEM BACKUP** in **Settings** after logging into BioStar 2 \\ {{:en:pic11.png?300|}} | ||
+ | |||
+ | === Step 1-2. === | ||
+ | Click **Backup Now** \\ {{:en:pic12.png?300|}} | ||
+ | |||
+ | <callout type="primary" icon="true"> | ||
+ | Backup File Path: Set the path to save the backup file. The save path must be set to a directory that has already been created | ||
+ | </callout> | ||
+ | |||
+ | === Step 1-3. === | ||
+ | Go to **C:\Program Files\BioStar 2(x64)\Backupgenerated correctly** and check if the file is the correct one generated when you tried to make it. \\ {{:en:pic13.png?300|}} | ||
+ | |||
+ | |||
+ | ==== Step 2. Restore ==== | ||
+ | |||
+ | === Step 2-1. === | ||
+ | Run the application named **biostar-restore** located at **C:\Program Files\BioStar 2(x64)** \\ {{:en:pic14.png?300|}} | ||
+ | |||
+ | === Step 2-2. === | ||
+ | * **1) If using Maria DB,** \\ Select the file and apply it after clicking the **Select File** button. Then, put the **root password** on your **Maria DB** and click the **Restore** button. \\ {{:en:pic15.png?300|}} | ||
+ | * **2) If using MSSQL,** \\ Select the file and apply it after clicking the **Select File** button. Then, click the **Restore** button. \\ {{:en:pic16.png?300|}} | ||
+ | |||
+ | === Step 2-3. === | ||
+ | Then, you will see an additional popup appear below. Then, click Yes. \\ {{:en:pic17.png?300|}} | ||
+ | |||
+ | === Step 2-4. === | ||
+ | Finally, the restoration is completed normally if you see the popup below. \\ | ||
+ | However, please note that the popup does not disappear even when the restoration is completed normally. \\ {{:en:pic18.png?400|}} | ||
+ | === Step 2-5. === | ||
+ | You must log into BioStar 2 again once the restoration has been completed. After logging into BioStar 2, please check whether the restoration has been completed normally. | ||