diff options
author | ivan <ivan> | 1999-08-11 14:42:57 +0000 |
---|---|---|
committer | ivan <ivan> | 1999-08-11 14:42:57 +0000 |
commit | 6178bdb5a08527e9c64deb05fab6b836af869695 (patch) | |
tree | fef99ffad656ba1a872e2f155e92ebeaf8ccf5e2 /bin/backup-freeside | |
parent | 29704e87180ba0be89392b14c1420ff4f36af40a (diff) |
*** empty log message ***
Diffstat (limited to 'bin/backup-freeside')
-rw-r--r-- | bin/backup-freeside | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/backup-freeside b/bin/backup-freeside new file mode 100644 index 000000000..a39b04692 --- /dev/null +++ b/bin/backup-freeside @@ -0,0 +1,6 @@ +#!/bin/sh +/etc/init.d/apache stop +/etc/init.d/mysql stop +tar czvf var-lib-mysql-`date +%y%m%d%H%M%S`.tar.gz /var/lib/mysql +/etc/init.d/mysql start +/etc/init.d/apache start |