#!/bin/bash

/bin/tar -cvzf /media/WDBlue/backup/ImagesMyPi/Octoprint"$(date '+%Y-%m-%d')".tgz /home/souti/OctoPrint/*
/bin/tar -cvzf /media/WDBlue/backup/ImagesMyPi/saveOctoprintData"$(date '+%Y-%m-%d')".tgz --exclude=uploads --exclude=logs /home/souti/.octoprint/
/bin/tar -cvzf /media/WDBlue/backup/ImagesMyPi/saveOctoprint2Data"$(date '+%Y-%m-%d')".tgz --exclude=uploads --exclude=logs /home/souti/.octoprint2/
