Config backup

mkdir /home/mento/sys
#!/bin/bash

BACKUP="/home/mento/sys"
DATE=`date "+%Y%m%d_%H%M"`

/bin/tar -chPf $BACKUP/sys_$DATE.tar \
/etc \
/usr/local/etc

/bin/bzip2 $BACKUP/sys_$DATE.tar

/bin/sync

exit 0
 
Logged in as: Oszkár Kmetti
backup/configbackup.txt · Last modified: 2008.08.04 23:38 by oszi
 
Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki