Changes

From SME Server
Jump to navigationJump to search
Line 133: Line 133:  
Log into the <code>prodIP</code> box and stop all services that can modify data.
 
Log into the <code>prodIP</code> box and stop all services that can modify data.
   −
  SVC='qpsmtpd sqpsmtpd crond pop3 dovecot pop3s ftp httpd-e-smith atalk smb qmail'  
+
For SME8 and SME7
 +
 
 +
SVC='qpsmtpd sqpsmtpd crond pop3 imap imaps pop3s ftp httpd-e-smith atalk smb qmail'
 +
for s in $SVC; do service $s stop; done
 +
 
 +
For SME9
 +
 
 +
  SVC='qpsmtpd sqpsmtpd crond pop3 dovecot pop3s ftp httpd-e-smith smb qmail'  
 
  for s in $SVC; do service $s stop; done
 
  for s in $SVC; do service $s stop; done
   Line 156: Line 163:  
This action will complete very quickly as only hardlinks are used and no data is physically moved.<br>
 
This action will complete very quickly as only hardlinks are used and no data is physically moved.<br>
   −
'''''Note:''' Do not be scared if your prompt looks different!<br><br>
+
'''''Note:''' Do not be scared if your prompt looks different!<br><br>''
    
Now do a reboot
 
Now do a reboot
Line 186: Line 193:       −
=== Using the backup and restore fonctions ===
+
=== Using the backup and restore functions ===
 
The general working way is to make a backup of the old SME and to restore it on the new SME (upgraded or not).
 
The general working way is to make a backup of the old SME and to restore it on the new SME (upgraded or not).
The fonction "RPMCheck" can be used indirectly with the backup server (compare the list with the old and with the new hardware) to get the list of rpm's that are missing on the new hardware but it is not available for a backup on the external usb disk.  
+
The function "RPMCheck" can be used indirectly with the backup server (compare the list with the old and with the new hardware) to get the list of rpm's that are missing on the new hardware but it is not available for a backup on the external usb disk.  
    
==== Preparation ====
 
==== Preparation ====
Line 246: Line 253:     
After the restore, the new prodserver will reboot.
 
After the restore, the new prodserver will reboot.
 +
 
'''Note for the case of 3 machines:''' Make sure that the old hardware is switched off or no more connect to the network before the new hardware reboots because the new hardware will take its IP after the reconfiguration.
 
'''Note for the case of 3 machines:''' Make sure that the old hardware is switched off or no more connect to the network before the new hardware reboots because the new hardware will take its IP after the reconfiguration.
   −
If the backup job should be used for futher backups of the new hardware, don't forget to replace the temporary IP of "Remotehost" through the presius set IP of the olf server into the conf file of the affa job.
+
==== Tasks post restore ====
   −
In case of an OS upgrade, check and if necessary reconfigure the repositories of yum for the new version.
+
* If the backup job should be used for further backups of the new hardware, don't forget to replace the temporary IP of "Remotehost" through the previus set IP of the old server into the conf file of the affa job.
 +
* In case of an OS upgrade, check and if necessary reconfigure the repositories of yum for the new version.
    
[[Category: Howto]]
 
[[Category: Howto]]
 
[[Category: Backup]]
 
[[Category: Backup]]
 
----
 
----
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu