Gatt: generate an ssh key and tell your server about it:
HOWTO: set up ssh keys
Ok got the mysqldump to work over SSH
The problem is it keeps prompting for my ssh passwordCode:mysqldump -uUSERNAME -pPASSWORD --all-databases | ssh user@mirror-server "mysql -uUSERNAME -pPASSWORD"![]()
Gatt: generate an ssh key and tell your server about it:
HOWTO: set up ssh keys
Thanks - think its working now - just waiting on the cronjob to run ...
yay it works
now have a fully working mirror server![]()
just as well it works! dropped the Moodle database from the LIVE server instead of the mirror
![]()
If i remember at the college, i setup a NAS as a auto mount disk and used the onboard moodle backup script.
Ubuntu tut for setting up a auto mount
Automatically Mounting Windows SMB Shares in Ubuntu v3 | Matt Van Stone
There are currently 1 users browsing this thread. (0 members and 1 guests)