Author: jsdelfino
Date: Mon Nov 21 08:47:04 2011
New Revision: 1204400

URL: http://svn.apache.org/viewvc?rev=1204400&view=rev
Log:
Add a few useful backup scripts.

Added:
    tuscany/sca-cpp/trunk/modules/edit/config-backup   (contents, props changed)
      - copied, changed from r1201614, tuscany/sca-cpp/trunk/ubuntu/Makefile.am
    tuscany/sca-cpp/trunk/modules/edit/data-backup   (contents, props changed)
      - copied, changed from r1201614, tuscany/sca-cpp/trunk/ubuntu/Makefile.am
    tuscany/sca-cpp/trunk/ubuntu/ubuntu-backup   (with props)
    tuscany/sca-cpp/trunk/ubuntu/ubuntu-backup-all   (with props)
Modified:
    tuscany/sca-cpp/trunk/ubuntu/Makefile.am

Copied: tuscany/sca-cpp/trunk/modules/edit/config-backup (from r1201614, 
tuscany/sca-cpp/trunk/ubuntu/Makefile.am)
URL: 
http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/config-backup?p2=tuscany/sca-cpp/trunk/modules/edit/config-backup&p1=tuscany/sca-cpp/trunk/ubuntu/Makefile.am&r1=1201614&r2=1204400&rev=1204400&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/ubuntu/Makefile.am (original)
+++ tuscany/sca-cpp/trunk/modules/edit/config-backup Mon Nov 21 08:47:04 2011
@@ -1,3 +1,5 @@
+#!/bin/sh
+
 #  Licensed to the Apache Software Foundation (ASF) under one
 #  or more contributor license agreements.  See the NOTICE file
 #  distributed with this work for additional information
@@ -15,8 +17,6 @@
 #  specific language governing permissions and limitations
 #  under the License.
 
-dist_ubuntu_SCRIPTS = ip-redirect ip-redirect-all uec2-conf uec2-setenv 
uec2-ssh uec2-start uec2-status uec2-stop
-ubuntudir=$(prefix)/ubuntu
-
-dist_noinst_SCRIPTS = ubuntu-bin-image ubuntu-bin-all-image ubuntu-dev-image 
ubuntu-dev-all-image ubuntu-install ubuntu-install-all uec2-bin-image 
uec2-bin-all-image uec2-dev-image uec2-dev-all-image
+cd ../../
+tar czf ../config-backup.tar.gz modules/edit/*start modules/edit/*stop 
modules/edit/htdocs/*.js modules/edit/htdocs/public/*.js 
modules/edit/htdocs/home/*.b64 modules/edit/htdocs/home/*.png
 

Propchange: tuscany/sca-cpp/trunk/modules/edit/config-backup
------------------------------------------------------------------------------
    svn:executable = *

Copied: tuscany/sca-cpp/trunk/modules/edit/data-backup (from r1201614, 
tuscany/sca-cpp/trunk/ubuntu/Makefile.am)
URL: 
http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/data-backup?p2=tuscany/sca-cpp/trunk/modules/edit/data-backup&p1=tuscany/sca-cpp/trunk/ubuntu/Makefile.am&r1=1201614&r2=1204400&rev=1204400&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/ubuntu/Makefile.am (original)
+++ tuscany/sca-cpp/trunk/modules/edit/data-backup Mon Nov 21 08:47:04 2011
@@ -1,3 +1,5 @@
+#!/bin/sh
+
 #  Licensed to the Apache Software Foundation (ASF) under one
 #  or more contributor license agreements.  See the NOTICE file
 #  distributed with this work for additional information
@@ -15,8 +17,6 @@
 #  specific language governing permissions and limitations
 #  under the License.
 
-dist_ubuntu_SCRIPTS = ip-redirect ip-redirect-all uec2-conf uec2-setenv 
uec2-ssh uec2-start uec2-status uec2-stop
-ubuntudir=$(prefix)/ubuntu
-
-dist_noinst_SCRIPTS = ubuntu-bin-image ubuntu-bin-all-image ubuntu-dev-image 
ubuntu-dev-all-image ubuntu-install ubuntu-install-all uec2-bin-image 
uec2-bin-all-image uec2-dev-image uec2-dev-all-image
+cd ../../
+tar czf ../data-backup.tar.gz modules/edit/accounts modules/edit/apps 
modules/edit/dashboards modules/edit/store modules/edit/tmp/appdata
 

Propchange: tuscany/sca-cpp/trunk/modules/edit/data-backup
------------------------------------------------------------------------------
    svn:executable = *

Modified: tuscany/sca-cpp/trunk/ubuntu/Makefile.am
URL: 
http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/ubuntu/Makefile.am?rev=1204400&r1=1204399&r2=1204400&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/ubuntu/Makefile.am (original)
+++ tuscany/sca-cpp/trunk/ubuntu/Makefile.am Mon Nov 21 08:47:04 2011
@@ -18,5 +18,5 @@
 dist_ubuntu_SCRIPTS = ip-redirect ip-redirect-all uec2-conf uec2-setenv 
uec2-ssh uec2-start uec2-status uec2-stop
 ubuntudir=$(prefix)/ubuntu
 
-dist_noinst_SCRIPTS = ubuntu-bin-image ubuntu-bin-all-image ubuntu-dev-image 
ubuntu-dev-all-image ubuntu-install ubuntu-install-all uec2-bin-image 
uec2-bin-all-image uec2-dev-image uec2-dev-all-image
+dist_noinst_SCRIPTS = ubuntu-bin-image ubuntu-bin-all-image ubuntu-dev-image 
ubuntu-dev-all-image ubuntu-install ubuntu-backup ubuntu-install-all 
ubuntu-backup-all uec2-bin-image uec2-bin-all-image uec2-dev-image 
uec2-dev-all-image
 

Added: tuscany/sca-cpp/trunk/ubuntu/ubuntu-backup
URL: 
http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/ubuntu/ubuntu-backup?rev=1204400&view=auto
==============================================================================
--- tuscany/sca-cpp/trunk/ubuntu/ubuntu-backup (added)
+++ tuscany/sca-cpp/trunk/ubuntu/ubuntu-backup Mon Nov 21 08:47:04 2011
@@ -0,0 +1,30 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#    
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+
+# Install a complete distribution, the required system tools and libraries, the
+# runtime dependencies and the Tuscany SCA runtime on a fresh Ubuntu Server
+# 10.10 system.
+
+# Display commands as they are executed
+set -x
+
+# Create src archive
+tar czf tuscany-sca-cpp-1.0-src.tar.gz apache-libcloud-incubating-0.4.2 
apache-libcloud-incubating-0.4.2.tar.bz2 apr-1.4.x apr-1.4.x-bin curl-7.19.5 
curl-7.19.5-bin curl-7.19.5.tar.gz expat-2.0.1 expat-2.0.1-bin 
expat-2.0.1.tar.gz htmltidy-bin httpd-2.3.15-beta httpd-2.3.15-beta.tar.gz 
httpd-2.3.15-bin js-1.8.5-bin js-1.8.5 js185-1.0.0.tar.gz libcloud-0.4.2-bin 
liboauth-0.9.1 liboauth-0.9.1-bin liboauth-0.9.1.tar.gz libopkele libopkele-bin 
libstrophe libstrophe-bin libxml2-2.7.7 libxml2-2.7.7-bin 
libxml2-sources-2.7.7.tar.gz memcached-1.4.7 memcached-1.4.7-bin 
memcached-1.4.7.tar.gz mod_auth_openid mod-auth-openid-bin 
modsecurity-apache_2.6.1 modsecurity-apache-2.6.1-bin 
modsecurity-apache_2.6.1.tar.gz modsecurity-crs_2.2.2 
modsecurity-crs_2.2.2.tar.gz nspr-4.8.8-bin nspr-4.8.8 nspr-4.8.8.tar.gz nuvem 
page-speed-1.9 page-speed-1.9-bin page-speed-sdk.zip scribe scribe-2.2-bin 
scribe-2.2.tar.gz thrift-0.2.0 thrift-0.2.0-bin thrift-0.2.0-incubating.tar.gz 
tidy tinycdb-0.77 tiny
 cdb-0.77-bin tinycdb_0.77.tar.gz tuscany-sca-cpp tuscany-sca-cpp-bin
+
+# Create bin archive
+tar czf tuscany-sca-cpp-1.0.tar.gz apr-1.4.x-bin curl-7.19.5-bin 
expat-2.0.1-bin htmltidy-bin httpd-2.3.15-bin js-1.8.5-bin libcloud-0.4.2-bin 
liboauth-0.9.1-bin libopkele-bin libstrophe-bin libxml2-2.7.7-bin 
memcached-1.4.7-bin mod-auth-openid-bin modsecurity-apache-2.6.1-bin 
nspr-4.8.8-bin nuvem/nuvem-parallel page-speed-1.9-bin scribe-2.2-bin 
thrift-0.2.0-bin tinycdb-0.77-bin tuscany-sca-cpp tuscany-sca-cpp-bin
+

Propchange: tuscany/sca-cpp/trunk/ubuntu/ubuntu-backup
------------------------------------------------------------------------------
    svn:executable = *

Added: tuscany/sca-cpp/trunk/ubuntu/ubuntu-backup-all
URL: 
http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/ubuntu/ubuntu-backup-all?rev=1204400&view=auto
==============================================================================
--- tuscany/sca-cpp/trunk/ubuntu/ubuntu-backup-all (added)
+++ tuscany/sca-cpp/trunk/ubuntu/ubuntu-backup-all Mon Nov 21 08:47:04 2011
@@ -0,0 +1,30 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#    
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+
+# Install a complete distribution, the required system tools and libraries, the
+# runtime dependencies and the Tuscany SCA runtime on a fresh Ubuntu Server
+# 10.10 system.
+
+# Display commands as they are executed
+set -x
+
+# Create src archive
+tar czf tuscany-sca-cpp-all-1.0-src.tar.gz apache-libcloud-incubating-0.4.2 
apache-libcloud-incubating-0.4.2.tar.bz2 apr-1.4.x apr-1.4.x-bin 
axis2c-1.6.0-bin axis2c-src-1.6.0 axis2c-src-1.6.0.tar.gz curl-7.19.5 
curl-7.19.5-bin curl-7.19.5.tar.gz expat-2.0.1 expat-2.0.1-bin 
expat-2.0.1.tar.gz google_appengine google_appengine_1.4.0.zip htmltidy-bin 
httpd-2.3.15-beta httpd-2.3.15-beta.tar.gz httpd-2.3.15-bin js-1.8.5-bin 
js-1.8.5 js185-1.0.0.tar.gz libcloud-0.4.2-bin liboauth-0.9.1 
liboauth-0.9.1-bin liboauth-0.9.1.tar.gz libopkele libopkele-bin libstrophe 
libstrophe-bin libxml2-2.7.7 libxml2-2.7.7-bin libxml2-sources-2.7.7.tar.gz 
memcached-1.4.7 memcached-1.4.7-bin memcached-1.4.7.tar.gz mod_auth_openid 
mod-auth-openid-bin modsecurity-apache_2.6.1 modsecurity-apache-2.6.1-bin 
modsecurity-apache_2.6.1.tar.gz modsecurity-crs_2.2.2 
modsecurity-crs_2.2.2.tar.gz nspr-4.8.8-bin nspr-4.8.8 nspr-4.8.8.tar.gz nuvem 
page-speed-1.9 page-speed-1.9-bin page-speed-sdk.zip postgresql-9.0.3 
 postgresql-9.0.3-bin postgresql-9.0.3.tar.gz qpidc-0.6 qpidc-0.6-bin 
qpid-cpp-0.6.tar.gz scribe scribe-2.2-bin scribe-2.2.tar.gz thrift-0.2.0 
thrift-0.2.0-bin thrift-0.2.0-incubating.tar.gz tidy tinycdb-0.77 
tinycdb-0.77-bin tinycdb_0.77.tar.gz tuscany-sca-cpp tuscany-sca-cpp-bin 
vysper-0.6 vysper-0.6-bin.tar.gz
+
+# Create bin archive
+tar czf tuscany-sca-cpp-all-1.0.tar.gz apr-1.4.x-bin axis2c-1.6.0-bin 
curl-7.19.5-bin expat-2.0.1-bin google_appengine htmltidy-bin httpd-2.3.15-bin 
js-1.8.5-bin libcloud-0.4.2-bin liboauth-0.9.1-bin libopkele-bin libstrophe-bin 
libxml2-2.7.7-bin memcached-1.4.7-bin mod-auth-openid-bin 
modsecurity-apache-2.6.1-bin nspr-4.8.8-bin nuvem/nuvem-parallel 
page-speed-1.9-bin postgresql-9.0.3-bin qpidc-0.6-bin scribe-2.2-bin 
thrift-0.2.0-bin tinycdb-0.77-bin tuscany-sca-cpp tuscany-sca-cpp-bin vysper-0.6
+

Propchange: tuscany/sca-cpp/trunk/ubuntu/ubuntu-backup-all
------------------------------------------------------------------------------
    svn:executable = *


Reply via email to