Michael's Blog

Home | Gallery | Stats | Downloads | Links | Scripts | Fuel Stats | Wiki | RSS
I'm sorry to hear that turkforums is being DoS attacked, but Turkey and Greece have been fighting for thousands of year
s... If Christ couldn't fix it, how can I?
-- Phil     Add quote.

Cpanel Backup Restores

2006-11-13 00:00:00 by Michael 0 Comments
Tags: linux cpanel backup restore

Here's my Cpanel tip of the day.

If you want to restore backups for a server on the command line just run this.

cd /
ln -s /backup/cpbackup/(daily,weekly,monthly) web
cd web
for x in ls *.tar.gz | cut -d "." -f 1; do /scripts/restorepkg $x; done
cd ..
rm web