restore revision e75c2484bff064fbbf51e92aed4f37b08e6427b7
12343c067e12be071a68bbb10d1d1c4870696769Tinderbox User#!/bin/sh
6c2a76b3e2ccd32c35814b6e0f54da00190749d7Evan Hunt#
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
e5404e49304b1f8f13a03cc63e5341e4501735ceTinderbox User#
e5404e49304b1f8f13a03cc63e5341e4501735ceTinderbox User# The contents of this file are subject to the terms of the
ba9e87b35e561bc7354ce3f4b9685b747b7be507Tinderbox User# Common Development and Distribution License, Version 1.0 only
1f9754245cbd5eec2d2a667bb292f62f72386d4bMark Andrews# (the "License"). You may not use this file except in compliance
59663800d2ec04777dae2791dd92aa563faf94c8Evan Hunt# with the License.
d0036fd5ddfe3c8e24151bbb1f21bc51bf876774Tinderbox User#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# You can obtain a copy of the license at
1f9754245cbd5eec2d2a667bb292f62f72386d4bMark Andrews# trunk/opends/resource/legal-notices/OpenDS.LICENSE
59663800d2ec04777dae2791dd92aa563faf94c8Evan Hunt# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
1ca2cf024391992fe14b2df7d3ae0f575d074452Evan Hunt# See the License for the specific language governing permissions
70732dde17dc4944e2e030293e31c0e40df9e61eTinderbox User# and limitations under the License.
70732dde17dc4944e2e030293e31c0e40df9e61eTinderbox User#
a2c370ca12bb0360ff7e969474ead3f788c65fffTinderbox User# When distributing Covered Code, include this CDDL HEADER in each
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User# file and include the License file at
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# add the following below this CDDL HEADER, with the fields enclosed
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# by brackets "[]" replaced with your own identifying information:
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Portions Copyright [yyyy] [name of copyright owner]
2b7254075b883d70852a2757210793603085a0f1Tinderbox User#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
b91d11bfcc30b96f2c80f3a76d12e3dcc8597a68Mark Andrews#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Copyright 2006-2008 Sun Microsystems, Inc.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Portions Copyright 2011 ForgeRock AS
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# This script may be used to perform a restore of a Directory Server backend.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsOPENDJ_INVOKE_CLASS="org.opends.server.tools.RestoreDB"
415d630b6309922caee8469384a6fab75cf05032Mark Andrewsexport OPENDJ_INVOKE_CLASS
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
415d630b6309922caee8469384a6fab75cf05032Mark AndrewsSCRIPT_NAME="restore"
e813f036c8251b6d9d2a72fa84f80c2c9d2795afMark Andrewsexport SCRIPT_NAME
9218b940febade3085fd6d95a15e67d5f94833f0Tinderbox User
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsSCRIPT_DIR=`dirname "${0}"`
415d630b6309922caee8469384a6fab75cf05032Mark Andrews"${SCRIPT_DIR}/../lib/_mixed-script.sh" "${@}"
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews