Categorized | cpanel

Restore multiply Cpanel/WHM backups shell script

#!/bin/bash

BACKUPS=$(ls -al /home/*.gz |awk '{print $9}')

for i in $BACKUPS
do
echo "Restoring $i now...."
/scripts/restorepkg $i
done

Related posts:

  1. backup and restore Cpanel accounts with command line usnig ssh
  2. Echo and print are used to output in PHP
  3. creating backup of accounts in cpanel
  4. The Importance Of Creating Backup
  5. How to secure tmp the easy way if you have WHM/Cpanel

Leave a Reply

Plese subscribe to my newsletter

Please subscribe via your email to follow me

E-mail:

Subscribe
Unsubscribe