#!/bin/sh -e # backup data from wiki (FTP) unset url="ftp://example.net/" backup="/path/to/backup" wget -q --no-cache -nH -c -t0 --mirror -P$backup -i- <