This is an example on how you could script your database dumps to be copied to an external machine.
mysqldump -u MYSQL_USERNAME -pMYSQL_PASS | gzip -c | ssh -i /var/lib/jelastic/backup/somefolred/mykey.pub USERNAME@YOUR_TO_HOST 'cat > ~/dump.sql.gz'
Comments
Please sign in to leave a comment.