Skip to content

Instantly share code, notes, and snippets.

@ilumos
Last active February 29, 2020 23:13
Show Gist options
  • Save ilumos/755468bd606d48b7cceef116f1f070cd to your computer and use it in GitHub Desktop.
Save ilumos/755468bd606d48b7cceef116f1f070cd to your computer and use it in GitHub Desktop.
backup-website-via-ftp.sh
wget --mirror \
--timestamping \
--continue \
--ftp-user="user" \
--ftp-password="password" \
--secure-protocol=auto \
--no-check-certificate \
--no-proxy \
--passive-ftp \
--no-host-directories \
--quiet \
--show-progress \
--directory-prefix="/data/backups/example.com" \
ftps://elara.servers.prgn.misp.co.uk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment