Avatar

Michael's Blog

Home | Gallery | Stats | Downloads | Links | Scripts | Fuel Stats | Wiki | RSS
Quote:
in fact, you might say that you are the best service I ever quit.
-- 89110     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