User Tools

Site Tools


computing:backup:multi_level_backup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
computing:backup:multi_level_backup [2016/10/04 10:57]
gcooper created
computing:backup:multi_level_backup [2018/01/17 11:19] (current)
gcooper
Line 1: Line 1:
-====== Level Backup on SME 8 ======+====== Multi-Level Backup System ======
  
-:!: These notes have been tested only on SME Server version 8, but they will probably work on SME 7 as well. +These notes pertain to a multiple-level backup system.  We are referring to a backup system that uses local storage (usually an internal or external hard diskto back up server data in conjunction with an on-line backup service for off-site storage.
- +
-===== Reference ===== +
- +
-http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter10#To_Workstation_or_USB_Drive +
- +
-http://wiki.contribs.org/Backup_with_dar +
- +
-===== Multi-Level Backup System ===== +
- +
-These notes pertain to configuring what we call "Level 1" backups in multi-level backup system. We are referring to a backup system that uses local hard disk to back up server data as well as an on-line backup service for off-site storage.+
  
   * **Typical Scenario**   * **Typical Scenario**
Line 20: Line 10:
      * Uses local hard disk      * Uses local hard disk
         * Fast backups         * Fast backups
-        * Minimal 'backup window' required+        * Minimal 'backup window' (time) required
         * Fast and convenient restores         * Fast and convenient restores
         * Disaster recovery         * Disaster recovery
Line 29: Line 19:
         * No hardware required         * No hardware required
  
-===== Prepare a Separate Backup Hard Disk ===== 
- 
-The following operations are performed at the console as root. 
- 
-==== Prepare the Separate Backup Drive ==== 
- 
-See also **[[computing:storage:disk_partitioning|Advanced Format (4K Sector) Drive Partitioning]]** 
- 
-<file> 
-fdisk -l                             # Determine which drive is the backup drive - Be sure! 
-fdisk /dev/sdx                       # Add a partition 
-mkfs.ext3 -m 1 -L backup /dev/sdx1   # Label and format the partition 
-</file> 
- 
-:!: For very large drives, the ''-m 1'' switch reserves only 1% of the disk space as reserved blocks. 
- 
-==== Mounting the Separate Backup Drive ==== 
- 
-Here we configure SME Server to mount the L1 backup drive in the same place every time. 
- 
-<file> 
-mkdir /media/backup             # Create a mount point 
-vim /etc/fstab                  # Modify /etc/fstab and add a line for your drive 
-                                # The drive is not auto-mounted or fsck'd 
- 
-LABEL=backup            /media/backup           ext3    defaults,noauto 1 0 
- 
-mount /media/backup             # Test the mounting 
-df -h                           # Show the new filesystem 
-umount /media/backup            # Unmount the new filesystem 
-</file> 
- 
-Before continuing to the configuration stage, you must reboot.  Otherwise, the new backup disk will not be available as a choice of disks to back up to.  If you see the Backup share set to nolabel, you forgot to reboot. 
- 
-<file> 
-reboot 
-</file> 
- 
-===== SME Server Manager ===== 
- 
-==== Configure Workstation Backup ==== 
- 
-:!: Settings will vary! This example is for a dedicated internal level-1 backup drive. 
- 
-:!: A set is a full backup plus incrementals. 
- 
-^Item                               ^Setting         ^ 
-|Configure Workstation Backup       |Local USB Disk  | 
-|Backup share                       |backup          | 
-|Number of rotating backup sets     |4               | 
-|Daily backups in each set          |7               | 
-|Workstation backup time of day     |10:00 PM        | 
-|Optional backup session timeout    |8               | 
-|Don't timeout full backup sessions |selected        | 
-|Backup compression level           |6               | 
-|Full backup is allowed on          |Sunday          | 
- 
-=== Problems Due to Firefox === 
- 
-:!: This problem has apparently been fixed in newer updates of SME 8. 
- 
-<file> 
-vim /home/e-smith/db/configuration 
-</file> 
- 
-Search for 'backupwk' and edit the line to remove "^M" 
- 
-==== Run a Backup Manually ==== 
- 
-<file> 
-/etc/e-smith/events/actions/workstation-backup-dar 
-</file> 
computing/backup/multi_level_backup.1475600278.txt.gz · Last modified: 2016/10/04 10:57 by gcooper