gumara

เหนือกว่าเหตุผล ผมไม่มีเหตุผล

เตรียมอัพเกรดคลับ

Submitted by gumara on Fri, 08/15/2008 - 10:31

รอบเท่าไหร่ไม่รู้ คราวนี้เดี๋ยวจะอิงคำแนะนำสุกรี ก็สุกรีแนะว่า ให้ติด drupal ใหม่ แล้วค่อย import data บางตารางจากอันเดิมเข้ามา อันนี้คือผมต้องการเคลียร์ drupal ให้สะอาดๆนะครับ กรณีอัพเกรดปกติ มิต้องยุ่งยากเช่นนี้

ก็คิดว่า ผมจะใช้วิธี

  1. เรียก database ขึ้นมา ผ่าน phpmyadmin
  2. เช็คดูกับ drupal ที่สะอาดๆ ว่าตารางไหนไม่จำเป็น
  3. แล้วลบทิ้งไปจนเหลือเฉพาะอันที่เราจะเอาจริงๆ (ระวังพวก blog หรือเมนูด้วย อย่าลบทิ้ง ได้ไม่ต้องสร้างใหม่ จริงๆก็เช็คด้วย ถ้าเป็นโมดูลที่มากับ core ก็ไม่น่าจะมีปัญหา ก็ต้องใช้วิจารนญาณในการคัดเลือกกันเอง)
  4. ทีนี้ก็จะเหลือแต่ database drupal เปล่าๆ ที่ไม่มีโมดูลอื่นปน
  5. แล้วค่อยอัพเกรดเป็น 6 ผ่านตัว wizard ของมัน

คิดว่าวิธีนี้น่าจะได้ ถ้าทำตามสุกรีแนะนำเป๊ะ ผมคงต้องรู้โครงสร้างของ database ของทั้งเวอร์ชั่น 5 แล้วก็เวอร์ชั่น 6 ด้วย แล้วก็ความต่างของมันว่ามันต่างตรงไหน ซึ่งตรงนี้ผมเลือกที่จะผลักภาระไปให้ตัว wizard เพราะ wizard มันฉลาดความน่าไว้ว่างใจสูง

เอ... หรือจะรอให้โมดูลที่ใช้มันออกตัวเต็มให้หมดก่อนดีหว่า... ไม่เป็นไร ถือว่าซ้อมมือ

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • Twitter-style @usersnames are linked to their Twitter account pages.
  • Twitter-style #hashtags are linked to search.twitter.com.

More information about formatting options

rMilk

Comment

Tags

Another ~


Let's chat

User login

del.icio.us/~

tweet me

Add to Technorati Favorites


Stat:

free web tracker