renamed the backup/restore scripts in storageAdmin
This commit is contained in:
parent
07ea662459
commit
fb94c18d86
|
@ -108,10 +108,10 @@ install-arch:
|
|||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/storageServer \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/storageAdmin \
|
||||
$(CURDIR)/debian/campcaster-station/opt/campcaster/var/Campcaster
|
||||
mv -f $(CURDIR)/debian/campcaster/opt/campcaster/bin/backup.sh \
|
||||
mv -f $(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-backup \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-import \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/bin/dumpDbSchema.sh \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/bin/restore.sh \
|
||||
$(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-restore \
|
||||
$(CURDIR)/debian/campcaster-station/opt/campcaster/bin
|
||||
mv -f $(CURDIR)/debian/campcaster/opt/campcaster/var/cache \
|
||||
$(CURDIR)/debian/campcaster-station/opt/campcaster/var
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
# Location : $URL$
|
||||
#-------------------------------------------------------------------------------
|
||||
#-------------------------------------------------------------------------------
|
||||
# This script creates the tar archiv with backup of LS data
|
||||
# This script creates a tgz archive of the Campcaster storage.
|
||||
#
|
||||
# To get usage help, try the -h option
|
||||
#-------------------------------------------------------------------------------
|
||||
|
@ -53,7 +53,7 @@ destfile="storage$datestr.tar"
|
|||
#-------------------------------------------------------------------------------
|
||||
printUsage()
|
||||
{
|
||||
echo "This script creates the tgz archiv with backup of LS data.";
|
||||
echo "This script creates a tgz archive of the Campcaster storage.";
|
||||
echo "parameters:";
|
||||
echo "";
|
||||
echo " -d, --destination Destination directory [default:$tmpmaindir].";
|
|
@ -26,7 +26,7 @@
|
|||
# Location : $URL$
|
||||
#-------------------------------------------------------------------------------
|
||||
#-------------------------------------------------------------------------------
|
||||
# This script restores LS data previously backuped by backup.sh
|
||||
# This script restores the data which was backed up with campcaster-backup.
|
||||
#
|
||||
# To get usage help, try the -h option
|
||||
#-------------------------------------------------------------------------------
|
||||
|
@ -51,10 +51,10 @@ tarfile0="xmls.tar"
|
|||
#-------------------------------------------------------------------------------
|
||||
printUsage()
|
||||
{
|
||||
echo "This script restores LS data previously backuped by backup.sh.";
|
||||
echo "This script restores the data which was backed up with campcaster-backup."
|
||||
echo "parameters:";
|
||||
echo "";
|
||||
echo " -f, --file File with backuped data, required.";
|
||||
echo " -f, --file File with the backed up data, required.";
|
||||
echo " -h, --help Print this message and exit.";
|
||||
echo "";
|
||||
}
|
|
@ -127,8 +127,8 @@ install:
|
|||
${CP} ${BIN_DIR}/campcaster-import ${DEST_DIR}/bin
|
||||
${RM} ${DEST_DIR}/bin/autogen.sh
|
||||
${SED} -i -e ${SED_PHPPART_DIR} \
|
||||
${DEST_DIR}/bin/backup.sh \
|
||||
${DEST_DIR}/bin/restore.sh \
|
||||
${DEST_DIR}/bin/campcaster-backup \
|
||||
${DEST_DIR}/bin/campcaster-restore \
|
||||
${DEST_DIR}/bin/dumpDbSchema.sh \
|
||||
${DEST_DIR}/bin/campcaster-import
|
||||
${MKDIR} ${PHPPART_DIR}
|
||||
|
|
Loading…
Reference in New Issue