Michael's Blog |
| Home | RSS | Gallery | Stats | About | Comics | Downloads | Links | Scripts | Test Scripts | Wiki | |
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