myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2594] trunk/backup.sh: removed outdated backup s


From: noreply
Subject: [myexperiment-hackers] [2594] trunk/backup.sh: removed outdated backup script
Date: Fri, 27 May 2011 07:13:59 -0400 (EDT)

Revision
2594
Author
dgc
Date
2011-05-27 07:13:58 -0400 (Fri, 27 May 2011)

Log Message

removed outdated backup script

Removed Paths

Diff

Deleted: trunk/backup.sh (2593 => 2594)


--- trunk/backup.sh	2011-05-25 22:17:36 UTC (rev 2593)
+++ trunk/backup.sh	2011-05-27 11:13:58 UTC (rev 2594)
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-RAILS_ROOT="/var/www/m2"
-DB="m2_production"
-DIRS="public/pictures public/workflow"
-USER="backup"
-BACKUP_DIR="/home/backup"
-
-SQL_DUMP="${BACKUP_DIR}/myexp-$(date +%Y-%m-%d).sql"
-PUB_DUMP="${BACKUP_DIR}/myexp-$(date +%Y-%m-%d).tgz"
-SQL_LINK="${BACKUP_DIR}/myexp.sql"
-PUB_LINK="${BACKUP_DIR}/myexp.tgz"
-
-/usr/bin/mysqldump ${DB} > ${SQL_DUMP}
-/bin/tar Cczf ${RAILS_ROOT} ${PUB_DUMP} ${DIRS}
-/bin/ln -sf ${SQL_DUMP} ${SQL_LINK}
-/bin/ln -sf ${PUB_DUMP} ${PUB_LINK}
-/bin/chown -h ${USER}:${USER} ${SQL_DUMP} ${PUB_DUMP} ${SQL_LINK} ${PUB_LINK}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]