Changes

From SME Server
Jump to navigationJump to search
2,098 bytes added ,  12:23, 27 March 2008
added backup and restore concepts section
Line 143: Line 143:  
  etc/samba/smbpasswd
 
  etc/samba/smbpasswd
 
  etc/smbpasswd
 
  etc/smbpasswd
 +
 +
 +
===Backup and Restore concepts, issues and other information===
 +
 +
The sme backup & restore concept is that only data (users & ibays) and configuration (including all mysql dbs) is backed up & restored.
 +
All contribs (ie installed as rpms) are not backed up.
 +
 +
A restore is done to a fresh installation of sme server, and then contribs are reinstalled.
 +
As configuration data is restored, you should not need to setup those reinstalled contribs again.
 +
 +
It's good admin practise to create an ibay specifically to house a copy of every rpm you install, so you can easily reinstall those from your backed up and restored copies, although with yum repos being available now, it's not so necessary to do this. It does provide a reminder of everything you have installed though, in case you forget.
 +
 +
The Affa contrib provides you with a report of missing rpms (if you enable that setting), which is the difference between the source server and the backup server, so you can easily see what needs reinstalling after a restore or Affa "rise", or install those on the Affa backup server in advance (if using a separate backup server).
 +
 +
Note that a tape backup backs up all file systems on the server, but only restores the "standard restore" files. See this list http://wiki.contribs.org/Backup_server_config#Standard_backup_.26_restore_inclusions
 +
 +
If you wish to backup "everything" (including installed rpms), then the standard sme backup methods, which includes most of the available backup contribs eg DAR2, Backup with dar, etc, do not backup "everything".
 +
You need to perform a bare metal or disk clone backup to achieve that.
 +
The contrib that does that is Mondo, but it may not have been updated to be compatible with sme7.x. Another way of easily doing this is to swap out a RAID1 disk, and plug in a clean (empty) disk.
 +
Disk cloning software can also be used, but it must support RAID partitions and lvm volumes, and some software does not.
 +
The Linux dd command will also copy every bit on a disk, to another mounted disk, but it will be slow and may take a long time for a disk with a lot of data.
    
===Reference links===
 
===Reference links===
624

edits

Navigation menu