Changeset 492

Show
Ignore:
Timestamp:
05/08/08 11:50:55 (4 months ago)
Author:
free
Message:

Added support for daily backups

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cdd-utils/trunk/cdd-config

    r491 r492  
    915915} 
    916916 
     917# Schedule a daily backup of the data on a local partition using  
     918# the rdiff-backup-wrapper 
     919backup () { 
     920    partition=$1 # Path to the backup device 
     921    if nullstr $partition; then warning "No partition given"; return; fi 
     922    cfg=/etc/cron.daily/backup 
     923    cat <<EOF > $cfg 
     924#!/bin/sh -e 
     925 
     926rdiff-backup-wrapper $partition 
     927EOF 
     928 
     929chmod 755 $cfg 
     930 
     931} 
     932 
    917933# Configure Dnsmasq to act as integrated DNS/DHCP server, which 
    918934# automatically updates the zone info when assigning addresses 
  • cdd-utils/trunk/debian/changelog

    r490 r492  
    99  * Set trinity APT 
    1010  * Added support for dnsmasq 
     11  * Added support for daily backups 
    1112 
    1213 -- Free Ekanayaka <free@64studio.com>  Sun, 27 Apr 2008 18:24:52 +0200