PPF Config Backup
Unix Shell Script for backing up the PPF config files. To restore change to the ppf/system/ directory and unpack there.
#!/bin/sh ### settings ################################################################## now=`date +%Y%m%d` backupdir=~/backups tempdir=/tmp ppfdir=~/ppf/system ### script #################################################################### filelist=$tempdir/ppf-config-$now.txt cd $ppfdir find . -name *Config.xml > $filelist echo ./ChannelCentral/LiveStats.xml >> $filelist echo ./PPF/brain.ser >> $filelist echo ./PPF/reminders.dat >> $filelist tar -czf $backupdir/ppf-configs.tar.gz -T $filelist rm -f $filelist
Back to PircBot Plugin Framework