Difference between revisions of "UpgradeDisk"

From SME Server
Jump to navigationJump to search
m (SME Server:Documentation:HowTo:UpgradeDisk moved to UpgradeDisk: move to article space)
(summary added)
Line 1: Line 1:
 
==Upgrade Disk==
 
==Upgrade Disk==
 +
 +
Hard drive restore requires a complete system.  It is meant to take a hard
 +
drive from a system, mount it, and do a restore from it.
  
 
Summarised from http://forums.contribs.org/index.php?topic=30745.0
 
Summarised from http://forums.contribs.org/index.php?topic=30745.0
Line 6: Line 9:
 
# On the new machine do a fresh install of sme7
 
# On the new machine do a fresh install of sme7
 
# Shut down & install old drive and start machine.
 
# Shut down & install old drive and start machine.
# cd /
 
 
# mkdir /mnt/tmp
 
# mkdir /mnt/tmp
# mount /dev/hdb2 /mnt/tmp (adjust "hdb2" according to where the 6.0 drive is installed).
+
# mount /dev/hdb2 /mnt/tmp (adjust "hdb2" according to where the old drive is installed).
 
# db configuration setprop backup Program CopyFromDisk status enabled
 
# db configuration setprop backup Program CopyFromDisk status enabled
 
# signal-event pre-restore
 
# signal-event pre-restore

Revision as of 12:44, 11 April 2007

Upgrade Disk

Hard drive restore requires a complete system. It is meant to take a hard drive from a system, mount it, and do a restore from it.

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. mkdir /mnt/tmp
  5. mount /dev/hdb2 /mnt/tmp (adjust "hdb2" according to where the old drive is installed).
  6. db configuration setprop backup Program CopyFromDisk status enabled
  7. signal-event pre-restore
  8. signal-event restore-tape /mnt/tmp (note: this step may take a long time depending on how much data is being restored
  9. cd /etc/e-smith
  10. mv templates-custom templates-custom.old
  11. mkdir templates-custom
  12. mv templates-user-custom templates-user-custom.old
  13. mkdir templates-user-custom
  14. signal-event post-upgrade
  15. signal-event reboot
  16. Shutdown and remove old drive