summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/php-backup3
-rw-r--r--scripts/php-clean4
-rw-r--r--scripts/sql-backup7
3 files changed, 14 insertions, 0 deletions
diff --git a/scripts/php-backup b/scripts/php-backup
new file mode 100644
index 000000000..a18481628
--- /dev/null
+++ b/scripts/php-backup
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+tar -zcf drop.tgz *
diff --git a/scripts/php-clean b/scripts/php-clean
new file mode 100644
index 000000000..998f0f08d
--- /dev/null
+++ b/scripts/php-clean
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+find . -name "*~" | xargs rm -f
+find . -name "DEADJOE" | xargs rm -f
diff --git a/scripts/sql-backup b/scripts/sql-backup
new file mode 100644
index 000000000..edca9b006
--- /dev/null
+++ b/scripts/sql-backup
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+username="dries"
+database="dries"
+hostname="dione"
+
+mysqldump -h $hostname -u $username -p $database > mysql-backup