Upgrade from A to B Branch

از ویکی پارس پویش
(تفاوت بین نسخه‌ها)
پرش به: ناوبری, جستجو
(صفحه‌ای جدید حاوی 'Category:IBSng <div dir=ltr lang=en> ;Note: All VoIP Tariffs and Charges will be erased by upgrade process. If client uses VoIP services, ma...' ایجاد کرد)
 
 
(یک ویرایش میانی توسط یک کاربر نشان داده نشده‌است)
سطر ۱: سطر ۱:
 
[[Category:IBSng]]
 
[[Category:IBSng]]
 
<div dir=ltr lang=en>
 
<div dir=ltr lang=en>
;Note: All VoIP Tariffs and Charges will be erased by upgrade process. If client uses VoIP services, make sure he backed up everything.
+
;Note: All VoIP Tariffs and Charges will be erased by upgrade process.  
 +
If client uses VoIP services, make sure he backed up everything.
  
 
#Backup Database (Dump/Restore if installing on new machine)
 
#Backup Database (Dump/Restore if installing on new machine)
سطر ۷: سطر ۸:
 
#Extract B Branch files in /usr/local/IBSng
 
#Extract B Branch files in /usr/local/IBSng
 
#Run setup script of B Branch and skip table import
 
#Run setup script of B Branch and skip table import
#Run from_A_Branch_mig.py in script directory and SAVE THE OUPUT!<pre>python /usr/local/IBSng/scripts/from_A_Branch_mig.py > /tmp/OUTPUT</pre>
+
#Run from_A_Branch_mig.py in script directory and SAVE THE OUPUT!
#Run from_A_branch_upgrade.sql in db directory by psql<pre>psql -U ibs IBSng < /usr/local/IBSng/db/from_A_branch_upgrade.sql</pre>
+
<pre>python /usr/local/IBSng/scripts/from_A_Branch_mig.py > /tmp/OUTPUT</pre>
#Run OUPUT generated by python script by psql<pre>psql -U ibs IBSng < /tmp/OUTPUT</pre>
+
#Run from_A_branch_upgrade.sql in db directory by psql
 +
<pre>psql -U ibs IBSng < /usr/local/IBSng/db/from_A_branch_upgrade.sql</pre>
 +
#Run OUPUT generated by python script by psql
 +
<pre>psql -U ibs IBSng < /tmp/OUTPUT</pre>
 
#Check Configuration file for changes
 
#Check Configuration file for changes
 
</div>
 
</div>

نسخهٔ کنونی تا ‏۲۶ سپتامبر ۲۰۱۱، ساعت ۱۴:۵۳

Note
All VoIP Tariffs and Charges will be erased by upgrade process.

If client uses VoIP services, make sure he backed up everything.

  1. Backup Database (Dump/Restore if installing on new machine)
  2. Backup And Delete /usr/local/IBSng /etc/init.d/IBSng
  3. Extract B Branch files in /usr/local/IBSng
  4. Run setup script of B Branch and skip table import
  5. Run from_A_Branch_mig.py in script directory and SAVE THE OUPUT!
python /usr/local/IBSng/scripts/from_A_Branch_mig.py > /tmp/OUTPUT
  1. Run from_A_branch_upgrade.sql in db directory by psql
psql -U ibs IBSng < /usr/local/IBSng/db/from_A_branch_upgrade.sql
  1. Run OUPUT generated by python script by psql
psql -U ibs IBSng < /tmp/OUTPUT
  1. Check Configuration file for changes
ابزارهای شخصی

گویش‌ها
فضاهای نام
عملکردها
گشتن
جعبه‌ابزار