Difference between revisions of "UpgradeDisk"

From SME Server
Jump to navigationJump to search
m (New page: ==Upgrade Disk=== Summarised from http://forums.contribs.org/index.php?topic=30745.0 # On the old sme6 server prior to shutting down do '''signal-event pre-backup''' then shutdown & remove the d...)
 
m
Line 3: Line 3:
 
Summarised from http://forums.contribs.org/index.php?topic=30745.0
 
Summarised from http://forums.contribs.org/index.php?topic=30745.0
  
# On the old sme6 server prior to shutting down do  '''signal-event pre-backup''' then shutdown & remove the drive
+
# On the old SME server prior to shutting down do  '''signal-event pre-backup''' then shutdown & remove the drive
 
# On the new machine do a fresh install of sme7.0 OS
 
# On the new machine do a fresh install of sme7.0 OS
 
# Shut down & install old 6.0 drive and start machine.
 
# Shut down & install old 6.0 drive and start machine.
Line 11: Line 11:
 
# db configuration setprop backup Program CopyFromDisk status enabled
 
# db configuration setprop backup Program CopyFromDisk status enabled
 
# signal-event pre-restore
 
# signal-event pre-restore
# signal-event restore-tape /mnt/tmp '''(note: this step may take a long time depending on how much data is being restored)'''
+
# signal-event restore-tape /mnt/tmp (note: this step may take a long time depending on how much data is being restored
 
# cd /etc/e-smith
 
# cd /etc/e-smith
 
# mv templates-custom templates-custom.old
 
# mv templates-custom templates-custom.old
Line 19: Line 19:
 
# signal-event post-upgrade
 
# signal-event post-upgrade
 
# signal-event reboot
 
# signal-event reboot
# Shutdown and remove old sme6 drive
+
# Shutdown and remove old drive

Revision as of 09:14, 17 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.0 OS
  3. Shut down & install old 6.0 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