summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/config-backup
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-11-21 08:47:04 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-11-21 08:47:04 +0000
commit5a4e8af02b6fc5fefc5f7a2a95cc1e735759c40a (patch)
treed94ba50bb3481203dcda5236fe0b008395cc7137 /sca-cpp/trunk/modules/edit/config-backup
parentf86212d3e102a4f383fc85fc1c77563b84665bb3 (diff)
Add a few useful backup scripts.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1204400 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/edit/config-backup')
-rwxr-xr-xsca-cpp/trunk/modules/edit/config-backup22
1 files changed, 22 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/edit/config-backup b/sca-cpp/trunk/modules/edit/config-backup
new file mode 100755
index 0000000000..9951518863
--- /dev/null
+++ b/sca-cpp/trunk/modules/edit/config-backup
@@ -0,0 +1,22 @@
+#!/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
+# 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.
+
+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
+