I have a LAMP server that I want to back up to my FreeNAS box. I want to do a daily/weekly/monthly backup of the site files as well as the databases.
I want to make a script to do this with RSYNC.
I know how to make keys and the backup script from the server side, but for security's sake I would rather pull the files from my NAS box, rather than push from my webserver (so my NAS key is't on my webserver).
Can anybody give me an idea of what the script would look like to do the sqldump and pull the files from the NAS?
I want to make a script to do this with RSYNC.
I know how to make keys and the backup script from the server side, but for security's sake I would rather pull the files from my NAS box, rather than push from my webserver (so my NAS key is't on my webserver).
Can anybody give me an idea of what the script would look like to do the sqldump and pull the files from the NAS?