| Revision:

# Date Author Comment
10237 04/25/2017 11:23 PM Matt Jones

Add backup script to copy files to Amazon S3.

9202 05/08/2015 11:11 AM Jing Tao

Use the wild card in the class path. So it will not be pain if the jar files were changed.

9141 03/06/2015 02:10 PM Jing Tao

Make them executable.

9140 03/05/2015 11:05 PM Jing Tao

Add a script file to restore knb db from a dumped file.

9139 03/05/2015 11:02 PM Jing Tao

Add a script to dump the knb database.

9090 02/04/2015 09:47 AM Jing Tao

Add the option -h for tar command in order to follow the link.

9011 12/02/2014 05:15 PM Jing Tao

Don't remove postgresql 8.4 and 9.1
Don't remove data directory of postgresql 8.4

8945 10/31/2014 04:07 PM Jing Tao

add the code to install xmlstarlet.

8944 10/30/2014 07:58 PM Jing Tao

Find files of which type is link.

8942 10/28/2014 08:23 PM Jing Tao

Keep /var/lib/postgresql/8.4/main directory.

8941 10/28/2014 04:11 PM Jing Tao

Add the code to stop tomcat and apache.

8940 10/28/2014 04:03 PM Jing Tao

Add the "-y" option to force removing the old postgresql without prompting a y/n question.

8939 10/28/2014 02:07 PM Jing Tao

Restore the database for a gzipped sql file.

8938 10/28/2014 01:35 PM Jing Tao

Added the code to gzip the output file in the dumpall command. This will save disk space.

8937 10/24/2014 03:46 PM Jing Tao

Modified the redirect rules which didn't work.

8936 10/24/2014 02:50 PM Jing Tao

Add the code to add the attribute useHttpOnly='false' to the Context element in the context.xml file.

8935 10/24/2014 01:02 PM Jing Tao

Fixed a bug the code can get the argument from the command line.

8934 10/24/2014 12:47 PM Jing Tao

Added the code to change the permission of the backup file so the postgres user can read it.

8933 10/24/2014 12:24 PM Jing Tao

Added the code to check if the metacat backup file exists.
Added the code "exist 0" at the end of the scripts.

8932 10/24/2014 12:08 PM Jing Tao

Added the .conf to those site files since the new apache server only loads the sites with the extension.

8931 10/24/2014 09:45 AM Jing Tao

Add the code to vacuum the db.

8930 10/23/2014 04:32 PM Jing Tao

Add the code to enable the 8009 port for ajp connection in the server.xml of tomcat7.

8929 10/22/2014 12:29 PM Jing Tao

Added the code to modify the geo data directory in the file.

8928 10/22/2014 11:43 AM Jing Tao

Fixed some bugs to restore postgresql data.

8927 10/21/2014 09:30 PM Jing Tao

Add the code install some components for installing tomcat7

8926 10/21/2014 09:13 PM Jing Tao

Use a variable to replace the hard code.

8925 10/21/2014 07:30 PM Jing Tao

Use the version directly.

8924 10/21/2014 07:28 PM Jing Tao

Fixed a typo.

8923 10/21/2014 07:26 PM Jing Tao

put the date to an output file.

8922 10/21/2014 06:56 PM Jing Tao

A script for vacuum the db.

8921 10/21/2014 06:32 PM Jing Tao

Add a script to move the db from 8.3 to 9.1 base on a dumped file.

8920 10/21/2014 10:58 AM Jing Tao

Use the pg_dumpall command to back up all information of the database.

8919 10/20/2014 07:35 PM Jing Tao

Add the code to backup the cerificate/key of the apache server.

8918 10/20/2014 04:46 PM Jing Tao

Removed the code to write the backup file to a dvd drive.

8917 10/20/2014 02:56 PM Jing Tao

Added the code to copy Metacat and other web applications from the webapps directory in tomcat6 to tomcat7.
It also update the value of deploy.applicationDir in the file as well.

8916 10/20/2014 01:10 PM Jing Tao

Only insert new configuration lines once to the /etc/tomcat7/

8915 10/20/2014 11:34 AM Jing Tao

Used variables to replace hard code in sed command. Also we have to escape the variables.

8913 10/20/2014 09:42 AM Jing Tao

Used variables to replace the hard code.

8912 10/17/2014 06:15 PM Jing Tao

Add the code to modify the file.

8911 10/17/2014 05:13 PM Jing Tao

Fixed typo.

8909 10/17/2014 04:49 PM Jing Tao

Add a script to install openjdk 7 and tomcat 7.
It also configures java, javac,keytools and tomcat7.

8883 10/10/2014 01:23 PM Jing Tao

Backup the /etc/apache2/site-enabled directory.

8882 10/09/2014 04:40 PM Jing Tao

Remove the code to stop/start ldap server.
Change the script name to stop/start tomcat.
Also backup

8700 03/06/2014 03:28 PM Lauren Walker

Edited the replicaPolicies script to print out a list of IDs that have a different authoritative member node, the number of successes, and failures at the end.

8699 03/05/2014 11:46 AM Lauren Walker

Add comments to bash script to explain its function and dependencies

8698 03/05/2014 11:30 AM Lauren Walker

Added a bash script to call /replicaPolicies/{pid} via the DataONE API for all objects in a MN or a list of ids.

8549 01/31/2014 03:09 PM Jing Tao

Add a note to let users know where to run the script.

8490 01/10/2014 03:06 PM Jing Tao

Change the base directory location.

8483 01/09/2014 04:34 PM Jing Tao

Add a double quotes at $@. This will make the any argument in the double quotes as one argument.

8482 01/09/2014 04:18 PM Jing Tao

Pass all arguments to the java class.

8480 01/09/2014 12:11 PM Jing Tao

Add a script to help administor to manage usrs/groups.

8265 09/23/2013 03:54 PM ben leinfelder

Refer to metacat.war deployments since those are now the default.

5311 04/14/2010 11:31 AM daigle

Merge 1.9.2 changes back into the trunk

4810 02/17/2009 02:45 PM daigle

moved file from metacat/bin to metacat/src/scripts/bash since eclipse uses <project>/bin as a default build directory and these files will consistently get blown away locally by eclipse.