Changes

From SME Server
Jump to navigationJump to search
80 bytes added ,  19:19, 10 March 2008
m
Line 432: Line 432:  
===== Alternatively setup a USB drive =====
 
===== Alternatively setup a USB drive =====
 
<ol></li><li>log into the 'prodbox'  
 
<ol></li><li>log into the 'prodbox'  
</li><li>Connect a USB hard disk to the USB Bus. Now you must determine what device the kernel has assigned to the drive. View the /var/log/message and search for ''Initializing USB Mass Storage driver''. A few lines below you'll find the name of the device. In this example it is ''sdc''. Replace ''/dev/sdc'' by ''your device'' in following instructions.
+
</li><li>Connect a USB hard disk to the USB Bus. Now you must determine what device the kernel has assigned to the drive. View the /var/log/message and search for ''Initializing USB Mass Storage driver''. A few lines below you'll find the name of the device. In this example it is ''sdh''. Replace ''/dev/sdh'' by ''your device'' in following instructions.
</li><li>Use the fdisk program to create a linux partition
+
</li><li>Use the fdisk program to create a linux partition. '''Verify that this is really the attached USB drive before you continue!'''
  fdisk /dev/sdc
+
 
You'll most likely find an existing vfat dos partition, which you have to delete first. In the following we assume, that you have created a single partition ''/dev/sdc1''.
+
  fdisk /dev/sdh
 +
You'll most likely find an existing vfat dos partition, which you have to delete first. In the following we assume, that you have created a single partition ''/dev/sdh1''.
 
</li><li>Now format the drive with an ext3 filesystem
 
</li><li>Now format the drive with an ext3 filesystem
  mkfs.ext3 /dev/sdc1
+
  mkfs.ext3 /dev/sdh1
 
</li><li>Make the mount point
 
</li><li>Make the mount point
 
  mkdir -p /mnt/affadevice
 
  mkdir -p /mnt/affadevice
 
</li><li>Add the following line to the /etc/fstab
 
</li><li>Add the following line to the /etc/fstab
  /dev/sdc1 /mnt/affadevice ext3 defaults
+
  /dev/sdh1 /mnt/affadevice ext3 defaults
 
</li><li>Mount the drive
 
</li><li>Mount the drive
 
  mount /mnt/affadevice
 
  mount /mnt/affadevice
Line 447: Line 448:  
  df
 
  df
 
</li></ol>
 
</li></ol>
 +
 
===== Setup Affa =====
 
===== Setup Affa =====
 
You want to run backups on 11:30 h, 15:30 h and 19:30 h and you want to keep the last 3 scheduled backups, 7 daily, 5 weekly, 12 monthly and 1 yearly backups.
 
You want to run backups on 11:30 h, 15:30 h and 19:30 h and you want to keep the last 3 scheduled backups, 7 daily, 5 weekly, 12 monthly and 1 yearly backups.
501

edits

Navigation menu