Benutzer-Werkzeuge

Webseiten-Werkzeuge


backup
#!/bin/sh
 
if test -d /backup/
       then
       echo "Backup Directory Exists"
else
       mkdir /backup/
       echo "Created Backup Directory"
fi
 
cd /backup
 
mysqldump -uroot -pn0vell --opt lportal > /backup/lportal.sql
mysqldump -uroot -pn0vell --opt sitescape > /backup/sitescape.sql
 
 
 
tar -czf /backup/teamingfiles.tar.gz /home/icecoredata
tar -czf /media/nss/VOL1/teamingbackup/lportalbkup.tar.gz /backup/*
 
 
exit
backup.txt · Zuletzt geändert: 2010/01/03 11:03 (Externe Bearbeitung)