Michael's Blog

Home | Gallery | Stats | Downloads | Links | Scripts | Fuel Stats | Wiki | RSS
If they're there, they're there, if they're not, they're not...
-- siena     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