From 4a6c6de758960a2f98ba58f20a1c17c6ee67111c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 10 Oct 2000 10:52:19 +0000 Subject: Huge update - I don't have time to write everything down but the directory structure changes, some sections are expanded. Take a look at the source code or ask me to elaborate on certain issues/topics. --- scripts/php-backup | 3 +++ scripts/php-clean | 4 ++++ scripts/sql-backup | 7 +++++++ 3 files changed, 14 insertions(+) create mode 100644 scripts/php-backup create mode 100644 scripts/php-clean create mode 100644 scripts/sql-backup (limited to 'scripts') 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 -- cgit v1.2.3