Simple and reliable backups for your spigot server! Supports FTP/SFTP!
Feel free to fork and change for your own use (licensed under Apache).
View at https://www.spigotmc.org/resources/ebackup-simple-and-reliable-backups-for-your-server-supports-ftp-sftp.69917/.