devcopy sample config file



# USAGE:
#     devcopy SRC_DRIVE
#     I.e.,
#     devcopy hda

# CHANGE LOG:
#    5/8/05     incorporated changes from cygwin version
#            SRC_PARTITIONS changed from string to a list
#    9/2/05    changed had.config, etc.: /dev/hda changed to hda ...
#    9/2/05    added DEST_PARTITION_TYPES

# DEVICE_DIR may be optionally specified here
# this is the directory in which device files specified in SRC_PARTITIONS should be found
# default value is DEVICE_DIR=/dev; uncomment below to override
#DEVICE_DIR=/cygdrive
# backup to hdc: Western Digital 60GB
BAK_DRIVE="hdc"
REQUIRED_BAK_MODEL="WDC WD600BB-00CFC0" # get this from: cat /proc/ide/hdc/model

# set the partitioning scheme for each source/backup;
SRC_PARTITIONS=(hda1 hda3)
DEST_PARTITIONS=(hdc1 hdc3)

# types partitions
SRC_PARTITION_TYPES=(vfat ext3)
DEST_PARTITION_TYPES=(vfat ext2)

#SRC_MOUNT_OPTIONS. DEST_MOUNT_OPTIONS added on 12/19/2005 - untested!
SRC_MOUNT_OPTIONS=(iocharset=iso8859-1,codepage=850,uni_xlate=1)
DEST_MOUNT_OPTIONS=(iocharset=iso8859-1,codepage=850,uni_xlate=1)

# commands to run before rsync:
#PRE_COMMANDS="echo pre-command goes here; echo hello"

# commands to run after rsync:
#POST_COMMANDS="echo post-command goes here; echo hello"

# The file system types which are currently  supported are listed in linux/fs/filesystems.c:
# adfs, affs, aut­ofs, coda, coherent,  devpts,  efs,  ext,  ext2,  hfs,  hpfs,
# iso9660,  minix,  msdos, ncpfs, nfs, ntfs, proc, qnx4, romfs,smbfs, sysv, udf, ufs, umsdos, vfat, xenix, xiafs.

# RSYNC_FLAGS="-avx --delete"