How To: simple backup script for local backups

  • I wrote a Backupscript for a friend of mine.
    It backups pictures from a shared folder to his other 3 disks so he has 4 backups, just to be sure.


    You can use it for other things, documents etc., too.


    The script is configured to remove files, that were deleted on the source from all backups, except the first one.
    The second script removes the deleted files on all backups!




    backup.sh




    removedeletedfiles.sh



    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!