Avatar

Michael's Blog

Home | RSS | Gallery | Stats | About | Comics | Downloads | Links | Scripts | Test Scripts | Wiki |

Cpanel Backup Restores

2006-11-13 00:00:00.00 by Michael 0.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

Return to main page.