Changes

Jump to navigation Jump to search
7 bytes added ,  17:54, 29 July 2013
Line 831: Line 831:     
*IF USED RISE FEATURE
 
*IF USED RISE FEATURE
1. Login as "root" on your production server.
+
Login as "root" on your production server.
   −
2.
   
  mkdir /etc/backup
 
  mkdir /etc/backup
   −
3.
+
cp -r /etc/{passwd,samba,e-smith,group,gshadow,shadow,ssh,sudoers} /etc/backup
  cp -r /etc/{passwd,samba,e-smith,group,gshadow,shadow,ssh,sudoers} /etc/backup
+
 
  −
4.
   
  yes | cp -r /var/affa/"JOBNAME"/"ARCHIVE"/etc/* /etc/
 
  yes | cp -r /var/affa/"JOBNAME"/"ARCHIVE"/etc/* /etc/
   −
5.
+
And finally reconfigure the server
 +
 
 
  signal-event post-upgrade; signal-event reboot
 
  signal-event post-upgrade; signal-event reboot
    
*IF USED FULL-RESTORE (Complete until step 1,2,3)
 
*IF USED FULL-RESTORE (Complete until step 1,2,3)
   −
4. Login as "root" to your AFFA server
+
Login as "root" to your AFFA server
   −
5.
   
  export RDIR=/var/affa/"JOBNAME"/"ARCHIVE"/etc/
 
  export RDIR=/var/affa/"JOBNAME"/"ARCHIVE"/etc/
   −
6.
   
  rsync -av $RDIR "PRODSERV-IP":/etc/
 
  rsync -av $RDIR "PRODSERV-IP":/etc/
   −
7. On "PRODSERV" ssh:
+
On "PRODSERV" ssh:
 
  signal-event post-upgrade; signal-event reboot
 
  signal-event post-upgrade; signal-event reboot
  

Navigation menu