An FYI, in case it helps others. Iβve opted for a client-side approach for FlatPress backups with my tool of choice being the open source WinSCP. Iβve found WinSCP better than FileZilla, not least because it has reliably handled large file transfers and maintains the create dates of any files you transfer.
Of particular importance for automating FlatPress backup are directory synchronisation and scripting. In fact, the WinSCP GUI can generate the script for you based upon existing profile settings. For completeness this is the very simple script that I run:
Code: Select all
open ftp://<username>:<password>@ftp.yourserver.com
lcd c:\mywebsitebackup
cd /mywebste.com/htdocs
synchronize local -mirror
close
exit
This opens a connection to the server, changes the local and remote directories before mirroring from the remote to the local. On Windows I can then schedule this to run as a daily task.
A good tool for the arsenal!