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
admin:reserve:backup [15/08/2011 11:11]
alek
admin:reserve:backup [07/10/2013 15:27]
alek
Line 2: Line 2:
 ====== Backup with LVM ====== ====== Backup with LVM ======
  
-Backup system in Wialon Pro 1106 can be organized on the basis of [[http://​en.wikipedia.org/​wiki/​Logical_Volume_Manager_%28Linux%29|LVM]] (Logical Volume Manager). ​+Backup system in Wialon Pro 1301 can be organized on the basis of [[http://​en.wikipedia.org/​wiki/​Logical_Volume_Manager_%28Linux%29|LVM]] (Logical Volume Manager). ​
  
 Perform the following actions to set up the backup system by yourself: ​ Perform the following actions to set up the backup system by yourself: ​
Line 119: Line 119:
 </​code> ​ </​code> ​
  
-===== 2. Перенос базы данных на LVM =====+===== 2. Transfer Database to LVM =====
  
 Format the logical partition //storage// (in the example below //xfs// file system is used): ​ Format the logical partition //storage// (in the example below //xfs// file system is used): ​
Line 182: Line 182:
 # lvcreate -L1G -s -n storage_snap /​dev/​berkleydb/​storage ​ # lvcreate -L1G -s -n storage_snap /​dev/​berkleydb/​storage ​
 </​code>​ </​code>​
-From this moment you have a backup copy of your database. ​+ 
 +From this momentyou have a backup copy of your database. ​
  
 It is recommended to save the snapshot on a disk or to a file using the command //dd// (to make sure, store it on three mediums). Then in case of fall, you could mount this snapshot or restore the original. ​ It is recommended to save the snapshot on a disk or to a file using the command //dd// (to make sure, store it on three mediums). Then in case of fall, you could mount this snapshot or restore the original. ​
  
 To automate the backup procedure, you can write a script and start it according on schedule using //​cron//​. ​ To automate the backup procedure, you can write a script and start it according on schedule using //​cron//​. ​
Was this helpful?
Thank you!