YAML examples for Download
Download files from server
yaml- action: "Download files from server" type: "DOWNLOAD" source_path: "/var/www/backups" destination_path: "/local/backups" recursive: true overwrite: true targets: - target: backup-server type: SSH host: backup.example.com port: 22 auth: method: PASSWORD username: backup_user password: $BACKUP_PASSWORD
Simple file download
yaml- action: "Download files" type: "DOWNLOAD" source_path: "Home/www" targets: - target: server type: SSH host: example.com auth: method: PASSWORD username: user
Download files via FTP/FTPS
yaml- action: "Download files via FTPS" type: "DOWNLOAD" source_path: "Home/www" destination_path: / download_excludes: - /tmp - '*.log' download_includes: - /tmp/assets - /tmp/styles targets: - target: ftp_server type: FTP secure: true host: ftp.example.com auth: username: ftp_user password: $FTP_PASSWORD