• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

backup question

qualispace

Regular Pleskian
Hello,
I have a backup script that will create a tar.gz file of each website and copy the file in another drive. I have Plesk 7.5 Reloaded. The following is the script

# eg : sourcedir="/usr/local/psa/home/vhosts"
#sourcedir="Put in the path of the source folder"
sourcedir="/home/robinson/temp/test"

# eg : backupdir="/backupdrive"
#backupdir="Put in the path of the destination folder"
backupdir="/home/robinson/temp/dest"


for i in `ls $sourcedir`
do
tar -cpzf $backupdir/$i.tar.gz $sourcedir/$i --exclude "$sourcedir/logs"
done

Can anybody tell me if the above script will work fine or not? Also tell me where are the access_log files stored for all the websites in Plesk 7.5 Reloaded.

Thanks
Regards
Nitesh
 
Back
Top