• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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