Files
sysconfig/damia/root/data/config-partition.data

33 lines
746 B
Bash

#!/bin/bash
# br, sept 2007 - Dec 2010
SOURCEDIR=/ # full path
SERVER=local # could also be user@hostname, or "local" if local ma$
DESTDIR=/mnt/backup1/damia-root # full path, or relative to home dir$
NYEARS=3
NMONTHS=12
NWEEKS=4
NDAYS=7
# filter: can be used in every directory within the "source" dir.
FILTERNAME=".rsync-filter-system"
FILTER=--filter="dir-merge ${FILTERNAME}"
# other rsync options
RSYNCOPTS=""
# functions run just before and after the rsync. Could be useful to create
# database dumps, etc...
function beforesync() {
# next line may be removed if you do something. bash does not like empty
# functions
:
}
function aftersync() {
# we may remove the dump here...
:
}