FTP backups on the fly

  • Hallo,


    I tried to find a solution to generate backups on the fly (without storing them local) on an ftp backup space. So I wrote this small script which is able to do that.


    ATTENTION:
    Do not use this script in productive environment or with an unstable FTP Server location (e.g. laggy cloud services). The script does not give a feedback on errors (there is only one stored on the FTP Server - so if its is broken there is no other backup)! Use at your own risk!


    ATTENTION 2:
    I switched to Syncovery CL for Linux so I am no longer supporting/maintaining this script. If you are using this script and want more (like incremental backups or SFTP/WebDav support) you my check out the new backup soltion I am using: click here.


    Features:

    • generates compressed .tar.gz archives on a ftp backups space during compression (no local space needed)
    • wildcards for include and exclude paths


    There are still some features missing so maybe one of you can help me to improve this script:

    • Encrypt the backups with password
    • Add SFTP support
    • Backup version history (delete only not needed backups from the ftp server)
    • detect errors and send an email if there is one or more errors


    Version 1.0:


    Edited 3 times, last by UncleSam: Attentions part added ().