Difference between revisions of "UpgradeDisk"

From SME Server
Jump to navigationJump to search
m
(Added category)
Line 20: Line 20:
 
# signal-event reboot
 
# signal-event reboot
 
# Shutdown and remove old drive
 
# Shutdown and remove old drive
 +
 +
[[Category:HowTo]]

Revision as of 00:08, 18 February 2007

Upgrade Disk

Summarised from http://forums.contribs.org/index.php?topic=30745.0

  1. On the old SME server prior to shutting down do signal-event pre-backup then shutdown & remove the drive
  2. On the new machine do a fresh install of sme7
  3. Shut down & install old drive and start machine.
  4. cd /
  5. mkdir /mnt/tmp
  6. mount /dev/hdb2 /mnt/tmp (adjust "hdb2" according to where the 6.0 drive is installed).
  7. db configuration setprop backup Program CopyFromDisk status enabled
  8. signal-event pre-restore
  9. signal-event restore-tape /mnt/tmp (note: this step may take a long time depending on how much data is being restored
  10. cd /etc/e-smith
  11. mv templates-custom templates-custom.old
  12. mkdir templates-custom
  13. mv templates-user-custom templates-user-custom.old
  14. mkdir templates-user-custom
  15. signal-event post-upgrade
  16. signal-event reboot
  17. Shutdown and remove old drive