• 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.

mail report from backup script

F

foscolino

Guest
hi,
is it possibile send a mail report after script plesk backup is completed?
is it possible for you?

i have wrote this script but the report.txt in my mail is blank

# backup psa
cd /usr/local/psa/bin/
./psadump -F -f /home/test/backup-notario / > /home/test/report-backup.txt
( echo To: [email protected]
echo Subject: Report Backup my server
echo
cat /home/test/report.txt
) | /var/qmail/bin/qmail-inject

#end of batch
thanks.
 
Back
Top