first commit
This commit is contained in:
7
prestashop.sh
Executable file
7
prestashop.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /media/WDBlue/backup/prestashop/daily/;
|
||||
/usr/bin/mysqldump --databases prestashop > /tmp/prestashop.sql;
|
||||
/bin/tar cvzf prestashop"$(date '+%Y-%m-%d')".tgz /tmp/prestashop.sql
|
||||
/bin/tar cvzf prestashopSiteWeb"$(date '+%Y-%m-%d')".tgz /opt/prestashop/*
|
||||
|
||||
Reference in New Issue
Block a user