Difference between revisions of "UpgradeDisk"
From SME Server
Jump to navigationJump to search (summary added) |
m (→Upgrade Disk) |
||
Line 2: | Line 2: | ||
Hard drive restore requires a complete system. It is meant to take a hard | 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. | + | drive from a system, mount it, and do a restore from it. |
+ | |||
+ | It does not restore contribs or manually added software, except if it's in an Ibay and instructs you to move custom-templates. | ||
Summarised from http://forums.contribs.org/index.php?topic=30745.0 | Summarised from http://forums.contribs.org/index.php?topic=30745.0 |
Revision as of 00:10, 1 July 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.
It does not restore contribs or manually added software, except if it's in an Ibay and instructs you to move custom-templates.
Summarised from http://forums.contribs.org/index.php?topic=30745.0
- 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
- Shut down & install old drive and start machine.
- mkdir /mnt/tmp
- mount /dev/hdb2 /mnt/tmp (adjust "hdb2" according to where the old drive is installed).
- db configuration setprop backup Program CopyFromDisk status enabled
- 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
- cd /etc/e-smith
- mv templates-custom templates-custom.old
- mkdir templates-custom
- mv templates-user-custom templates-user-custom.old
- mkdir templates-user-custom
- signal-event post-upgrade
- signal-event reboot
- Shutdown and remove old drive