Knowledgebase
offsite backups?
Posted by PirateSolutions, 05-13-2011, 05:41 PM | So I have 2 virtual servers. I would want to use one for backup. Im interested only in MySQL backup on a remote SSH(2nd VPS). Anyone got some script for that?
|
Posted by jzukerman, 05-13-2011, 10:06 PM | Here's one example script that I have used. Note the script has your password in it, so if someone gets ahold of the script, :|
Make sure to chmod 600 mysqlbackup.sh script file.
You'll also want to set up passwordless SSH logins via keys:
http://www.petefreitag.com/item/532.cfm
|
Posted by SetForNet, 05-14-2011, 01:59 AM | I don't think this is good for security...
|
|
Add to Favourites
Print this Article |
Also Read