Quantcast
Channel: Plesk 12.x for Linux
Viewing all articles
Browse latest Browse all 5091

operate mysqldump through plesk schedule task

$
0
0
I was fiddling around with mysqldump commands but i cant seem to get those working in Scheduled Tasks. Although i use the plesk internal backups i would like to setup an off-site backup also which copies the db-export to a SFTP location.

I used a Scheduled Task with ROOT permission

example:
Code:
mysqldump -u username -p password --all-databases > db-export.sql
results:
Code:
Task "mysqldump -u username -p secret --all-databases...
operate mysqldump through plesk schedule task

Viewing all articles
Browse latest Browse all 5091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>