Automatic FTP downloading of archive

I’ve just set up a cron job to make a backup of my databases, and now want to download and delete those databases, as it is against DH TOS to host backups.

The instructions on the wiki
are a a little unclear. I’m on OSX, and I believe I’m to create two files, but not sure how to name them, or where to place them. It seems as though something is missing in the instructions, but maybe it’s just late or I’m just an idiot.

Support was far less than helpful.

oh yeah, also, the cron task is already set up, I just need to know what to do with:

cd /home/username/backups/archives
sftp -bftp username’


cd backups/
get archives/*
rm archives/*


Figured it out. Ignore.