#!/bin/bash

cd /media/WDBlue/backup/prestashop/hourly/;
/usr/bin/mysqldump  --databases prestashop > /tmp/prestashop.sql;
/bin/tar cvzf prestashop"$(date '+%H')".tgz /tmp/prestashop.sql
/bin/tar cvzf prestashopSiteWeb"$(date '+%H')".tgz /opt/prestashop/*

