diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cbb3a13 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.rpm +*.log +*spec-20* +*.tar.gz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..39bf669 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: smeserver-dar2 +# $Id: Makefile,v 1.1 2022/08/20 03:01:48 jpp Exp $ +NAME := smeserver-dar2 +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/README.md b/README.md index 4b7f1fa..ee2ba49 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ -# smeserver-dar2 +# smeserver-dar2 -SMEServer Koozali developed git repo for smeserver-dar2 smecontribs \ No newline at end of file +SMEServer Koozali developed git repo for smeserver-dar2 smecontribs + +## Wiki +
https://wiki.koozali.org/DAR2 + +## Bugzilla +Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-dar2&product=SME%20Contribs&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED) + +## Description + +
*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.* +*Once it has been checked, then this comment will be deleted* +
diff --git a/additional/CHANGELOG.git b/additional/CHANGELOG.git new file mode 100644 index 0000000..65a5fa7 --- /dev/null +++ b/additional/CHANGELOG.git @@ -0,0 +1,11 @@ +commit ad556cdcafb3cf6b22fb8c2abe99c04e1d37a254 +Author: Stephane de Labrusse +Date: Fri Aug 8 13:57:07 2014 +0200 + + rm root/etc/e-smith/web/panels + +commit 8fe0c3211551757c053ed93c19c36861e41a3d04 +Author: Stephane de Labrusse +Date: Fri Aug 8 13:41:22 2014 +0200 + + first commit to SME Server 9 diff --git a/additional/README.md b/additional/README.md new file mode 100644 index 0000000..7d2f552 --- /dev/null +++ b/additional/README.md @@ -0,0 +1 @@ +smeserver-dar2 is a contrib for SME Server, a Linux distro oriented server. see http://wiki.contribs.org diff --git a/additional/smeserver-dar2.spec b/additional/smeserver-dar2.spec new file mode 100644 index 0000000..d406c2f --- /dev/null +++ b/additional/smeserver-dar2.spec @@ -0,0 +1,214 @@ +# $Id: smeserver-dar2.spec,v 1.2 2013/07/14 16:24:30 unnilennium Exp $ +# Authority: darrellmay +# Name: Darrell May + +Summary: Disk ARchive for SME Server +%define name smeserver-dar2 +Name: %{name} +%define version 0.0.3 +%define release 1 +Version: %{version} +Release: %{release}%{?dist} +License: GPL +Group: SME/addon +Source: %{name}-%{version}.tar.gz +BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot +BuildArchitectures: noarch +Requires: dar >= 2.3.1 +Requires: smeserver-release >= 9.0 +Requires: e-smith-formmagick +BuildRequires: e-smith-devtools +%description +SME Server implementation of Disk ARchive (http://dar.linux.free.fr) +based on smeserver-backup2. + +%changelog +* Fri Aug 08 2014 stephane de Labrusse 0.0.3-1 +- Initial release to sme9 + +* Sun Jul 14 2013 JP Pialasse 0.0.1-32.sme +- apply locale 2013-07-14 patch + +* Tue Mar 20 2012 SME Translation Server 0.0.1-31.el6 +- apply locale 2012-03-20 patch + +* Sun Mar 06 2011 SME Translation Server 0.0.1-30.sme +- apply locale 2011-03-06 patch + +* Sun May 23 2010 SME Translation Server 0.0.1-29.sme +- apply locale 2010-05-23 patch + +* Tue Mar 02 2010 SME Translation Server 0.0.1-28.sme +- apply locale 2010-03-02 patch + +* Wed Oct 21 2009 SME Translation Server 0.0.1-27.sme +- apply locale 2009-10-21 patch + +* Mon Aug 24 2009 SME Translation Server 0.0.1-26.sme +- apply locale 2009-08-24 patch + +* Wed May 20 2009 SME Translation Server 0.0.1-25.sme +- apply locale 2009-05-20 patch + +* Mon Apr 27 2009 SME Translation Server 0.0.1-24.sme +- apply locale 2009-04-27 patch + +* Tue Mar 03 2009 SME Translation Server +- apply locale 2009-03-03 patch + +* Sun Mar 1 2009 Jonathan Martens 0.0.1-22 +- Apply 1 Mar 2009 locale patch [SME: 5018] + +* Sat Jan 31 2009 Jonathan Martens 0.0.1-21 +- Apply 31 Jan 2009 locale patch [SME: 4951] + +* Thu Jan 1 2009 Jonathan Martens 0.0.1-20 +- Apply 1 Jan 2009 locale patch [SME: 4900] + +* Wed Nov 5 2008 Jonathan Martens 0.0.1-19 +- Apply 5 Nov 2008 locale patch + +* Tue Oct 14 2008 Jonathan Martens 0.0.1-18 +- Apply 14 Oct 2008 locale patch + +* Tue Jul 1 2008 Jonathan Martens 0.0.1-17 +- Apply 1 July 2008 locale patch + +* Wed Jun 25 2008 Jonathan Martens 0.0.1-16 +- Actually apply 25 Jun 2008 locale patch, forgot to commit patch + +* Wed Jun 25 2008 Jonathan Martens 0.0.1-15 +- Apply 25 Jun 2008 locale patch + +* Fri May 30 2008 Jonathan Martens 0.0.1-14 +- Apply 30 May 2008 locale patch + +* Thu May 21 2008 Jonathan Martens 0.0.1-13 +- Apply 21 May 2008 locale patch + +* Mon May 5 2008 Jonathan Martens 0.0.1-12 +- Apply 5 May 2008 locale patch +- Updated e-smith-formmagick requirement + +* Mon Apr 28 2008 Shad L. Lords 0.0.1-11 +- Bump release to rebuild + +* Sat Apr 26 2008 Jonathan Martens 0.0.1-10 +- Take common entries from e-smith-formmagick's general + +* Wed Apr 23 2008 Jonathan Martens 0.0.1-9 +- Fix changelog day + +* Wed Apr 23 2008 Jonathan Martens 0.0.1-8 +- Apply Mar 23 2008 translation patch + +* Tue Apr 22 2008 Jonathan Martens 0.0.1-7 +- Apply Mar 22 2008 translation patch + +* Sun Apr 20 2008 Shad L. Lords 0.0.1-6 +- Remove scripts (not needed anymore) + +* Sun Apr 20 2008 Shad L. Lords 0.0.1-5 +- Clean up translations to work with pootle +- Apply Mar 20 2008 translation patches + +* Wed Aug 22 2007 Shad L. Lords 0.0.1-4 +- Clean up spec so package can be built by koji/plague +- Update to new release naming. No functional changes. +- Make Packager generic + +* Thu Mar 22 2007 Darrell May +- updated actions/dar2-backup to separately zip and backup up dbs +- updated actions/dar2-mc to require only job name to launch +- [0.0.1-3dmay] smeserver-dar2-0.0.1-3.patch +* Fri Mar 16 2007 Darrell May +- updated dar2 panel text: absolute/relative pathing +- updated dar2 panel text: prune wildcard support +- [0.0.1-2dmay] smeserver-dar2-0.0.1-2.patch +* Sun Jan 07 2007 Darrell May +- added dar2-mc action +- added dar support files for Midnight Commander +- [0.0.1-1dmay] +* Fri Oct 19 2006 Darrell May +- BT:1988 added disk usage to report +- official release +- [0.0.1-0dmay] +* Mon Oct 16 2006 Darrell May +- BT:1979 German language file added +- BT:1982 fix navigation-conf generated error +- [0.0.1-b8dmay] +* Wed Oct 11 2006 Darrell May +- BT:1974 verbose prop now controls log file generation, default 'off' +- [0.0.1-b7dmay] +* Wed Oct 11 2006 Darrell May +- major rewrite of dar2-backup/restore templates +- minor updates to action scritps adding more echo statements +- [0.0.1-b6dmay] +* Mon Oct 09 2006 Darrell May +- BT:1966 edited Exclude/Prune labels & switched display order +- added archive listing to dar2-backup output +- [0.0.1-b5dmay] +* Sat Oct 07 2006 Darrell May +- BT:1964 crontab +- [0.0.1-b4dmay] +* Fri Oct 06 2006 Darrell May +- added dar2-dr-restore, a disaster recovery restore script. +- [0.0.1-b3dmay] +* Thu Oct 05 2006 Darrell May +- added db prop Verbose to control backup output detail +- [0.0.1-b2dmay] +* Thu Oct 05 2006 Darrell May +- update actions dar2-backup/restore to support custom mount points +- [0.0.1-b1dmay] +* Wed Oct 04 2006 Darrell May +- initial beta release +- [0.0.1-b0dmay] +* Mon Oct 02 2006 Darrell May +- drop db backup2 defaults +- edit panel name to Disk ARchive +- [0.0.1-a7dmay] +* Sun Oct 01 2006 Darrell May +- initial public alpha release +- [0.0.1-a6dmay] +* Sun Oct 01 2006 Darrell May +- initial rebuild on Restore panel +- [0.0.1-a5dmay] +* Fri Sep 29 2006 Darrell May +- initial rebuild on View/Modify, Backup, Remove panels +- added Expiry to dar2-backup script +- [0.0.1-a4dmay] +* Thu Sep 28 2006 Darrell May +- server-manager panel debugging +- [0.0.1-a3dmay] +* Thu Sep 28 2006 Darrell May +- server-manager panel debugging +- [0.0.1-a2dmay] +* Wed Sep 27 2006 Darrell May +- initial server-manager panel build +- [0.0.1-a1dmay] +* Wed Sep 27 2006 Darrell May +- initial internal alpha release +- [0.0.1-a0dmay] + +%prep + +%setup + + + +%build +/usr/bin/perl createlinks + +%install +/bin/rm -rf $RPM_BUILD_ROOT + +(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) +/bin/rm -f %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist +%files -f %{name}-%{version}-filelist + +%defattr(-,root,root) + +%clean +/bin/rm -rf $RPM_BUILD_ROOT + diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..9b7fd51 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +contribs10 diff --git a/createlinks b/createlinks new file mode 100755 index 0000000..9f2826f --- /dev/null +++ b/createlinks @@ -0,0 +1,7 @@ +#!/usr/bin/perl -w + +use esmith::Build::CreateLinks qw(:all); + +my $panel = "manager"; +panel_link("dar2", $panel); + diff --git a/root/etc/dar2/.gitignore b/root/etc/dar2/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/root/etc/e-smith/db/dar2/defaults/.gitignore b/root/etc/e-smith/db/dar2/defaults/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/root/etc/e-smith/events/actions/dar2-backup b/root/etc/e-smith/events/actions/dar2-backup new file mode 100755 index 0000000..349c510 --- /dev/null +++ b/root/etc/e-smith/events/actions/dar2-backup @@ -0,0 +1,126 @@ +#!/bin/sh + +if [ ! -z "$1" ] + then + DCF=$1 + else + /bin/echo "Syntax incorrect! Usage: dar2-backup dcf" + exit 0 +fi + +STATUS=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF status) +if [ "$STATUS" != 'enabled' ] + then + exit 1 +fi + +# Backup variables +STIME=$(/bin/date) +DAR="/usr/bin/dar" +EXPIRY=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF Expiry) +ID=$(/sbin/e-smith/config get SystemName).$(/sbin/e-smith/config get DomainName) +MOUNT=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF Mount) ## /media/usbdisk or /mnt/dar2 +TARGET=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF Target) ## //host/share +USERNAME=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF Username) +PASSWORD=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF Password) +VERBOSE=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF Verbose) +VFSTYPE=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF VFSType) ## man mount +TODAY=$(/bin/date +%Y.%m.%d) + +/bin/umount $MOUNT >/dev/null 2>&1 + +# mount +if [ "$MOUNT" == "/mnt/dar2" ] + then + MOUNT=$MOUNT/$DCF + # create mount dir + if [ ! -d $MOUNT ] + then + /bin/echo "Creating $MOUNT dir" + /bin/mkdir -p $MOUNT || exit 2 + fi + /bin/echo "Connecting $MOUNT to $TARGET" + /bin/mount -t $VFSTYPE -o username=$USERNAME,password=$PASSWORD $TARGET $MOUNT || exit 3 + else + /bin/echo "Connecting to $MOUNT" + /bin/mount $MOUNT || exit 4 +fi + +# expand job template +/bin/echo "Expanding /etc/dar2/$DCF template" +if [ -e "/etc/dar2/$DCF" ] + then + /bin/rm -f /etc/dar2/$DCF || exit 5 +fi +/sbin/e-smith/expand-template /etc/dar2/dar2-backup $DCF ; /bin/mv /etc/dar2/dar2-backup /etc/dar2/$DCF || exit 6 + +# create destination dir +if [ ! -d $MOUNT/$ID/$DCF ] + then + /bin/echo "Creating destination /$ID/$DCF dir" + /bin/mkdir -p $MOUNT/$ID/$DCF || exit 7 +fi + +# zip and store db's +/bin/echo "Creating $MOUNT/$ID/$DCF/db.zip" +/usr/bin/zip -q -D $MOUNT/$ID/$DCF/db.zip /home/e-smith/db/* + +# expire old backups +/bin/echo "Expiring old backups" +if [ "$EXPIRY" == "0" ] + then + /bin/rm -f $MOUNT/$ID/$DCF/*.dar + else + /usr/bin/find $MOUNT/$ID/$DCF/*.dar -type f -mtime +$EXPIRY -exec /bin/rm -f {} \; > /dev/null 2>&1 +fi + +# execute pre-backup event +/bin/echo "Executing pre-backup event" +/sbin/e-smith/signal-event pre-backup || exit 8 + +# state verbose +if [ "$VERBOSE" == "on" ] + then + /bin/echo "Verbose logging is on" + else + /bin/echo "Verbose logging is off" +fi + +# perform dar backup +/bin/echo "Performing $DCF backup" +$DAR -B /etc/dar2/$DCF -c $MOUNT/$ID/$DCF/$TODAY || exit 9 + +# list archives +/bin/echo "" +/bin/echo "Listing $DCF archives on target:" +/bin/ls -l $MOUNT/$ID/$DCF/ || 10 + +# disk space usage +/bin/echo "" +/bin/echo "Total target disk space usage:" +/bin/df -h $MOUNT || 11 +/bin/echo "" + +# execute post-backup event +/bin/echo "Executing post-backup event" +/sbin/e-smith/signal-event post-backup || exit 12 + +# create log file +if [ "$VERBOSE" == "on" ] + then + /bin/echo "Creating /var/log/dar2/$ID/$DCF/$TODAY.log" + if [ ! -d /var/log/dar2/$ID/$DCF ] + then + /bin/mkdir -p /var/log/dar2/$ID/$DCF || exit 13 + fi + $DAR -l $MOUNT/$ID/$DCF/$TODAY -as > /var/log/dar2/$ID/$DCF/$TODAY.log || exit 14 +fi + +# dismount +/bin/echo "Dismounting $MOUNT" +/bin/umount -l $MOUNT & + +FTIME=$(/bin/date) +/bin/echo "" +/bin/echo "$STIME - backup started" +/bin/echo "$FTIME - backup finished" diff --git a/root/etc/e-smith/events/actions/dar2-dr-restore b/root/etc/e-smith/events/actions/dar2-dr-restore new file mode 100755 index 0000000..d103089 --- /dev/null +++ b/root/etc/e-smith/events/actions/dar2-dr-restore @@ -0,0 +1,82 @@ +#!/bin/sh + +# default variables +STIME=$(/bin/date) +DAR="/usr/bin/dar" +ID=$(/sbin/e-smith/config get SystemName).$(/sbin/e-smith/config get DomainName) + +clear +/bin/echo "Enter your restore type: usb | network" +read TYPE + +/bin/echo "Enter your job name:" +read DCF + +/bin/echo "Enter your archive date to restore from: yyyy.mm.dd" +read DATE + +if [ "$TYPE" == "usb" ] + then + # usb variables + /bin/echo "Enter your usb mount point: /media/usbdisk" + read MOUNT + + /bin/echo "Connecting to $MOUNT" + /bin/mount $MOUNT +fi + +if [ "$TYPE" == "network" ] + then + # ws variables + MOUNT=/mnt/dar2 + + /bin/echo "Enter your target name: //computername/sharename" + read TARGET + + /bin/echo "Enter your username:" + read USERNAME + + /bin/echo "Enter your password:" + read PASSWORD + + /bin/echo "Enter your filesystem type: smbfs | cifs" + read VFSTYPE + + MOUNT=$MOUNT/$DCF + # create mount dir + if [ ! -d $MOUNT ] + then + /bin/echo "Creating $MOUNT dir" + /bin/mkdir -p $MOUNT + fi + /bin/echo "Connecting $MOUNT to $TARGET" + /bin/mount -t $VFSTYPE -o username=$USERNAME,password=$PASSWORD $TARGET $MOUNT +fi + +# check backup dir +if [ ! -d $MOUNT/$ID/$DCF ] + then + /bin/echo "Error locating /$ID/$DCF dir" + exit 7 +fi + +# execute pre-restore event +/bin/echo "Executing pre-restore event" +/sbin/e-smith/signal-event pre-restore + +# perform dar restore +/bin/echo "Performing $DCF restore" +$DAR -x $MOUNT/$ID/$DCF/$DATE --fs-root / --noconf --no-warn --empty-dir --verbose + +# dismount +/bin/echo "Dismounting $MOUNT" +/bin/umount -l $MOUNT & + +FTIME=$(/bin/date) + +/bin/echo "$STIME - restore started" +/bin/echo "$FTIME - restore finished" + +# execute post restore events +/bin/echo "Executing post-upgrade & reboot" +/sbin/e-smith/signal-event post-upgrade;reboot diff --git a/root/etc/e-smith/events/actions/dar2-mc b/root/etc/e-smith/events/actions/dar2-mc new file mode 100755 index 0000000..60bd0ad --- /dev/null +++ b/root/etc/e-smith/events/actions/dar2-mc @@ -0,0 +1,66 @@ +#!/bin/sh + +# install dar support into Midnight Commander +if [ ! -e /usr/share/mc/extfs/udar ] + then + cp -af /opt/dar2-mc/udar /usr/share/mc/extfs + cp -af /opt/dar2-mc/extfs.ini /usr/share/mc/extfs + cp -af /opt/dar2-mc/mc.ext /usr/share/mc +fi + +# Prompt for job name +clear +/bin/echo "Enter your job name:" +read DCF + +# Check job status +STATUS=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF status) +if [ "$STATUS" != 'enabled' ] + then + exit 0 +fi + +# variables +DAR="/usr/bin/dar" +ID=$(/sbin/e-smith/config get SystemName).$(/sbin/e-smith/config get DomainName) +MOUNT=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF Mount) +TARGET=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF Target) +USERNAME=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF Username) +PASSWORD=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF Password) +VFSTYPE=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF VFSType) + +/bin/umount $MOUNT >/dev/null 2>&1 + +# mount +if [ "$MOUNT" == "/mnt/dar2" ] + then + MOUNT=$MOUNT/$DCF + # create mount dir + if [ ! -d $MOUNT ] + then + /bin/echo "Creating $MOUNT dir" + /bin/mkdir -p $MOUNT || exit 1 + fi + /bin/echo "Connecting $MOUNT to $TARGET. Please wait..." + /bin/mount -t $VFSTYPE -o username=$USERNAME,password=$PASSWORD $TARGET $MOUNT || exit 2 + else + /bin/echo "Connecting to $MOUNT. Please wait..." + /bin/mount $MOUNT || exit 3 +fi + +# check backup dir +if [ ! -d $MOUNT/$ID/$DCF ] + then + /bin/echo "Error locating /$ID/$DCF dir" + exit 4 +fi + +# run Midnight Commander +/bin/echo "Launching Midnight Commander" +mc $MOUNT/$ID/$DCF + +# dismount +/bin/echo "Dismounting $MOUNT" +/bin/umount -l $MOUNT & + +exit 5 diff --git a/root/etc/e-smith/events/actions/dar2-restore b/root/etc/e-smith/events/actions/dar2-restore new file mode 100755 index 0000000..1357027 --- /dev/null +++ b/root/etc/e-smith/events/actions/dar2-restore @@ -0,0 +1,92 @@ +#!/bin/sh + +if [ ! -z "$1" ] + then + DCF=$1 + else + /bin/echo "Syntax incorrect! Usage: dar2-restore dcf" + exit 0 +fi + +STATUS=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF status) +if [ "$STATUS" != 'enabled' ] + then + exit 1 +fi + +STIME=$(/bin/date) +DAR="/usr/bin/dar" + +# Backup variables +ID=$(/sbin/e-smith/config get SystemName).$(/sbin/e-smith/config get DomainName) +MOUNT=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF Mount) +TARGET=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF Target) +USERNAME=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF Username) +PASSWORD=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF Password) +VFSTYPE=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop $DCF VFSType) + +# Restore variables +DATE=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop Restore.$DCF Date) +DR=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop Restore.$DCF DR) +RESTORETO=$(/sbin/e-smith/db /home/e-smith/db/dar2 getprop Restore.$DCF RestoreTo) + +/bin/umount $MOUNT >/dev/null 2>&1 + +# mount +if [ "$MOUNT" == "/mnt/dar2" ] + then + MOUNT=$MOUNT/$DCF + # create mount dir + if [ ! -d $MOUNT ] + then + /bin/echo "Creating $MOUNT dir" + /bin/mkdir -p $MOUNT || exit 2 + fi + /bin/echo "Connecting $MOUNT to $TARGET" + /bin/mount -t $VFSTYPE -o username=$USERNAME,password=$PASSWORD $TARGET $MOUNT || exit 3 + else + /bin/echo "Connecting to $MOUNT" + /bin/mount $MOUNT || exit 4 +fi + +# expand job template +/bin/echo "Expanding /etc/dar2/$DCF template" +if [ -e "/etc/dar2/$DCF" ] + then + /bin/rm -f /etc/dar2/$DCF || exit 5 +fi +/sbin/e-smith/expand-template /etc/dar2/dar2-restore $DCF ; /bin/mv /etc/dar2/dar2-restore /etc/dar2/$DCF || exit 6 + +# check backup dir +if [ ! -d $MOUNT/$ID/$DCF ] + then + /bin/echo "Error locating /$ID/$DCF dir" + exit 7 +fi + +# execute pre-restore event +if [ "$DR" == "Enabled" ] + then + /bin/echo "Executing pre-restore event" + /sbin/e-smith/signal-event pre-restore || exit 8 +fi + +# perform dar restore +/bin/echo "Performing $DCF restore" +$DAR -x $MOUNT/$ID/$DCF/$DATE -B /etc/dar2/$DCF || exit 9 + +# dismount +/bin/echo "Dismounting $MOUNT" +/bin/umount -l $MOUNT & + +FTIME=$(/bin/date) + +/bin/echo "$STIME - restore started" +/bin/echo "$FTIME - restore finished" + +if [ "$DR" == "Enabled" ] + then + /bin/echo "To finish your disaster recovery restore, please run:" + /bin/echo "" + /bin/echo "signal-event post-upgrade ; signal-event reboot" +fi diff --git a/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..f3e6ba9 --- /dev/null +++ b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Използвайте този панел за определяне, слагане в график и стартиране резервни копия и възстановявания, от и към мрежови папки или локални дискове.

Създай задача за копиране

]]>
+
+ + NO_BACKUP_JOBS + Няма задачи за резервно копиране. + + + MODIFY + Виж/Промени + + + CREATE_TITLE + Създайте задача за резервно копие + + + MODIFY_TITLE + Промени задача за резервно копие + + + RESTORE_TITLE + Задача за възстановяване от копие + + + BACKUP_TITLE + Стартиране на задача за копиране + + + REMOVE_TITLE + Премахване на задача за копиране + + + JOBNAME + Име на задачата + + + BACKUP + Подбор за копирането + + + EXCLUDE + Изключи файлове + + + PRUNE + Прескачане на папки + + + TARGET + Назначение + + + SLICE + Размер на парче + + + VFSTYPE + Файлова система + + + + COMPRESSION + Компресия + + + USERNAME + Потребителско име + + + EXPIRY + Валидност + + + VERBOSE + Подробно + + + BACKUP_DAY + Ден за копието + + + BACKUP_TIME + Час на копието + + + LOCALDRIVE + Локален диск + + + MOUNTED + Монтиран + + + NETWORKSHARE + Мрежова папка + + + UNMOUNTED + Немонтиран + + + DESCRIPTION_RESTORE_DATE + Въведете датата на архива от който искате да възстановявате. Формат [ гггг.мм.дд ] + + + RESTORE_DATE + Дата + + + DESCRIPTION_RESTORE_DR + За да извършите пълно възстановяване при бедствие задайте следното:

Възстановяване след бедствие [ Включено ] Възстановяване [ *.* ] Възстанови в [ / ]

Бележка: След завършване на пълното възстановяване след бедствие, трябва да влезете в панела на server-manager за Рестарт или спиране и да направите Преконфигурация.

За да направите селективно възстановяване, въведете по един път за възстановяване на ред. Пътищата трябва да са относителни. Например: За да възстановите /root/contribs на оригиналното му място трябва да въведете:

Възстановяване при бедствие [ Изключено ] Възстанови [ root/contribs ] Възстанови в [ / ]

]]>
+
+ + RESTORE_DR + Възстановяване при бедствие + + + RESTORE_RESTORETO + Възстанови в + + + DESCRIPTION_JOBNAME + Въведете уникално име на задачата за резервно копие. Името трябва да съдържа само букви, цифри, точки, тирета и долни черти. Без празни символи. + + + DESCRIPTION_DESC + Въведете описание на задачата за резервно копиране. + + + DESCRIPTION_DR + Задачата за резервно копиране за възстановяване при бедствие стартира допълнителен процес по време на копирането и възстановяването. Моля, задайте го изключено, ако правите стандартно резервно копие. + + + DESCRIPTION_BACKUP + Всички необходими пътища за резервно копиране за възстановяване при бедствие за направени по-долу. Отбележете, че абсолютните пътища са невалидни. Всички пътища трябва да са релативни на базовата папка /. Например: [home] е релативна/правила, [/home] е абсолютна/неправилна. Ако правите стандартно резервно копие, променете избраните папки както се изисква по-долу. По един на ред. Не въвеждайте [/, /bash, proc, temp]. + + + DESCRIPTION_EXCLUDE + Въведете изключения за файлове. Например: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. По един на ред. Глобалните символи * и ? са валидни. + + + DESCRIPTION_PRUNE + Въведете разклонения в дървото, които да не бъдат включени в резервното копие. Например: [ home/e-smith/files/ibays/ibayname ]. По един на ред. Глобалните символи * и ? са валидни. + + + DESCRIPTION_TARGET + Валидни назначения са включен локален диск или мрежова папка.

Ако правите копие на включен локален диск, въведете точката на монтиране на диска. Например: [/media/usbdisk]. Оставете празни полетата за потребителско име и парола.

Ако копирате на мрежова папка, въведете назначението във формат UNC. Например: [//computername/sharename]. В добавка трябва да въведете валидни потребителско име и парола, които са за отдалечената система и потребителя има пълни права за писане в папката.

]]>
+
+ + DESCRIPTION_VFSTYPE + Поддържат се три файлови системи. [ext3] за копиране на локален диск. [smbfs] за копиране на работна станция с Windows и споделени папки на SME Server. [cifs] за копиране на Microsoft Windows Server. Забележете че ако ползвате cifs, назначението трябва да бъде по IP адрес. Например: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Въведете размерите на парчетата от томовете за резервно копиране в мегабайти. Например, за да създадете томове от по 650MB за копиране на CD/RW трябва да въведете [ 650 ]. Това би създало в назначението файлове в следния формат: job.гггг.мм.дд.1.dar, job.гггг.мм.дд.1.dar и т.н. Отбележете, че максималния размер на сегмент е 2000MB. Общия размер на задачата за копиране е ограничен само от свободното място на назначението. + + + DESCRIPTION_COMPRESSION + Въведете нивото на компресия от 0 (без) то 9 (максимално). Когато няма компресия скоростта на копиране се увеличава драстично. + + + DESCRIPTION_U_P + Ако копирате на мрежова папка, въведете валидни потребителско име и парола, които са за отдалечената система и потребителя има пълни права за писане в папката. Оставете празни полетата за потребителско име и парола, ако копирате на локален диск. + + + DESCRIPTION_EXPIRY + Въведете срок за валидност на резервното копие. Това ще пази копията на назначението за n дни. Ако изберете 0 означава, че резервните копия ще се припокриват всеки ден. + + + DESCRIPTION_VERBOSE + Опцията Подробно задава нивото на детайл в изхода. При 'пълен' се генерира списък файл по файл и журнал. При 'изключено' генерира само обобщение без журнал. Отбележете, че ако го включите размера на изходните файлове ще е свързан с размера на задачата за копиране и поради това ще стане доста голям. При задачите по график ще бъде изпратено електронно съобщение до администратора с информацията за изпълнение. + + + DESCRIPTION_BACKUP_DAY + Въведете денят в който искате да се случи резервното копие. Оставете го на ръчно за ръчно използване извън графика. + + + DESCRIPTION_BACKUP_TIME + Въведете времето, когато искате резервното копиране да се случи във формат чч:мм. + +
diff --git a/root/etc/e-smith/locale/da/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..95cd9ed --- /dev/null +++ b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARkiv + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + Der er ingen sikkerhedskopi jobs i systemet. + + + MODIFY + Se/Rediger + + + CREATE_TITLE + Opret sikkerhedskopi job + + + MODIFY_TITLE + Rediger sikkerhedskopi job + + + RESTORE_TITLE + Gendan sikkerhedskopi job + + + BACKUP_TITLE + Start sikkerhedskopi job + + + REMOVE_TITLE + Fjern sikkerhedskopi job + + + JOBNAME + Job navn + + + BACKUP + Sikkerhedskopi + + + EXCLUDE + Udelad filer + + + PRUNE + Udelad biblioteker + + + TARGET + Destination + + + SLICE + Fil størrelse + + + VFSTYPE + Filsystem + + + + COMPRESSION + Komprimering + + + USERNAME + Brugernavn + + + EXPIRY + Udløb + + + VERBOSE + Detaljer + + + BACKUP_DAY + Backup dag + + + BACKUP_TIME + Backup tid + + + LOCALDRIVE + Lokalt drev + + + MOUNTED + Tilsluttet + + + NETWORKSHARE + Netværks drev + + + UNMOUNTED + Frakoblet + + + DESCRIPTION_RESTORE_DATE + Indtast dato på det arkiv du ønsker at gendanne fra. Format: [ åååå.mm.dd ] + + + RESTORE_DATE + Dato + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Total gendannelse + + + RESTORE_RESTORETO + Gendan til + + + DESCRIPTION_JOBNAME + Skriv et entydigt navn til sikkerhedskopien. Navnet må kun indeholde bogstaver, tal, punktummer, bindestreger og understregningstegn. Ikke mellemrum. + + + DESCRIPTION_DESC + Indtast en beskrivende tekst for denne sikkerhedskopi. + + + DESCRIPTION_DR + Aktivering af Total Gendannelse betyder, at der gennemføres yderligere processer under sikkerhedskopiering og gendannelse. Deaktiver, hvis der kun skal udføres en standard backup. + + + DESCRIPTION_BACKUP + Alle valg for at kunne gennemføre en Total Gendannelse er aktiveret nedenfor. Bemærk at absolutte stiangivelser er ugyldige. Alle stiangivelser skal angives relativt til "hjemmebiblioteket". Eksempel: [home] er relativt/korrekt, [/home] er absolut/ugyldigt. Hvis du ønsker at gennemføre en standard sikkerhedskopi skal du i nødvendigt omfang redigere sikkerhedskopi angivelserne nedenfor. Kun én stiangivelse pr linie. Indtast ikke [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Indtast fil udeladelser. Eksempel: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. En angivelse pr linje. Jokertegn * og ? er gyldige. + + + DESCRIPTION_PRUNE + Indtast stiangivelser som skal udelades og ikke medtages i sikkerhedskopien. Eksempel: [ home/e-smith/files/ibays/ibayname ]. En angivelse pr linje. Jokertegn * og ? er gyldige. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Tre filsystemer er understøttet. [ext3] for sikkerhedskopi til lokalt tilsluttet drev. [smbfs] for sikkerhedskopi til Microsoft Windows pcer og SME Server shares. [cifs] for sikkerhedskopi til Microsoft Windows Server. Bemærk, at ved brug af cifs, skal destinationen angives som IP adresse. Eksempel: [//10.1.1.1/sharenavn]. + + + DESCRIPTION_SLICE + Indtast størrelsen på sikkerhedskopi filerne i megabytes. Som eksempel på at danne filer på 650 MB som kan lægges på cd-rom skal du indtaste [ 650 ]. Det vil danne backup filer i følgende format: job.åååå.mm.dd.1.dar, job.åååå.mm.dd.2.dar og så videre. Bemærk at den maksimale størrelse er 2000 MB. Størrelsen på Total sikkerhedskopi job er kun begrænset af destinationens ledige diskkapacitet. + + + DESCRIPTION_COMPRESSION + Indtast komprimeringsniveau fra 0 (ingen) til 9 (maksimal). Ingen komprimering forbedrer hastigheden på sikkerhedskopieringen dramatisk. + + + DESCRIPTION_U_P + Hvis du udfører sikkerhedskopiering til et netværksdrev, indtast et gyldigt brugernavn/adgangskode for en lokal brugerkonto med fuld adgangsrettighed til netværksdrevet. Undlad brugernavn og adgangskode hvis der udføres sikkerhedskopiering til et lokalt tilsluttet drev. + + + DESCRIPTION_EXPIRY + Indtast en udløbsdato for sikkerhedskopien. Det vil sikre at sikkerhedskopien forbliver på destinationen i n dage. At vælge 0 betyder at sikkerhedskopien overskrives hver dag. + + + DESCRIPTION_VERBOSE + Verbose-muligheden angiver mængden af oversigtdetaljer. Hvis aktiveret dannes en fuld filliste, og der oprettes en log fil. Hvis deaktiveret oprettes kun en oversigt og ingen log fil. Bemærk, at når Verbose er aktiveret, er størrelsen af de dannede filer relativ til størrelsen af sikkerhedskopi jobbet og de kan derfor blive temmelig store. Planlagte jobs medfører, at der sendes en e-mail til admin med detaljer om jobbet. + + + DESCRIPTION_BACKUP_DAY + Indtast den dag du ønsker at gennemføre sikkerhedskopien. Vælg manual, for ikke planlagt, manuel brug. + + + DESCRIPTION_BACKUP_TIME + Indtast starttid for sikkerhedskopi i 24 timers format (tt:mm). + +
diff --git a/root/etc/e-smith/locale/de/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..6828261 --- /dev/null +++ b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + Es gibt keine Sicherungsaufträge im System. + + + MODIFY + Ansehen/Ändern + + + CREATE_TITLE + Datensicherung anlegen ]]> + + + MODIFY_TITLE + Datensicherung ändern ]]> + + + RESTORE_TITLE + Datensicherung wiederherstellen ]]> + + + BACKUP_TITLE + Datensicherung starten ]]> + + + REMOVE_TITLE + Datensicherung löschen ]]> + + + JOBNAME + Auftrag + + + BACKUP + Verzeichnisse auswählen + + + EXCLUDE + Ausgeschlossene Dateien + + + PRUNE + Ausgeschlossene Verzeichnisse + + + TARGET + Ziel + + + SLICE + Segmentgröße + + + VFSTYPE + Dateisystem + + + + COMPRESSION + Kompressionsfaktor + + + USERNAME + Benutzername + + + EXPIRY + Anzahl Aufbewahrungstage + + + VERBOSE + Ausführliche Logdatei + + + BACKUP_DAY + Sicherungstag + + + BACKUP_TIME + Sicherungszeit + + + LOCALDRIVE + Lokale Festplatten + + + MOUNTED + Ge-mounted + + + NETWORKSHARE + Netzlaufwerk + + + UNMOUNTED + Nicht gemounted + + + DESCRIPTION_RESTORE_DATE + Geben Sie das Datum der Sicherung an, von der wiederhergestellt werden soll. Format: [ yyyy.mm.dd ] + + + RESTORE_DATE + Datum + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Notfall-Datensicherung + + + RESTORE_RESTORETO + Wiederherstellen nach + + + DESCRIPTION_JOBNAME + + + + DESCRIPTION_DESC + Geben Sie eine Beschreibung für diesen Sicherungsauftrag an. + + + DESCRIPTION_DR + Eine Notfall-Datensicherung durchläuft zusätzliche Systemprozesse während der Erstellung bzw. der Wiederherstellung. Beim Ausführen der Standardsicherung sollte deshalb die Notfalldatensicherungs-Option deaktiviert sein, um Leistungseinbußen zu vermeiden. ]]> + + + DESCRIPTION_BACKUP + Die benötigten Verzeichnisse und Dateien zur Durchführung einer Notfall-Datensicherung sind bereits voreingestellt. Alle Einträge müssen mit relativen Pfaden ohne führenden Slash '/' angegeben werden. Wenn Sie eine Standardsicherung durchführen, ändern Sie die Verzeichnisse und Dateien nach Ihren Wünschen. Benutzen Sie je Eintrag eine Zeile und geben Sie nicht [ /,proc,tmp ] ein. ]]> + + + DESCRIPTION_EXCLUDE + Geben Sie an, welche Dateien Sie aus der Datensicherung ausschließen möchten.

Beispiel: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. Benutzen Sie je Eintrag eine Zeile. Wildcards * und ? sind erlaubt. ]]>
+
+ + DESCRIPTION_PRUNE + Geben Sie an, welche Verzeichnisse Sie aus der Datensicherung ausschließen möchten.

Beispiel: [ home/e-smith/files/ibays/ibayname ]. Benutzen Sie je Eintrag eine Zeile. Wildcards * und ? sind erlaubt. ]]>
+
+ + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Drei Dateisysteme werden unterstützt:

[ext3] zur Datensicherung auf angeschlossene lokale Festplatten.
[smbfs] zur Datensicherung auf Windows Arbeitsplätze und SME-Server Netzlaufwerke.
[cifs] zur Datensicherung auf Microsoft Windows Server.

Anmerkung: Wenn Sie cifs verwenden wollen, müssen Sie die Zieladresse immer zusammen mit der IP-Adresse verwenden. Beispiel: [//10.1.1.1/verzeichnisname]. ]]> + + + DESCRIPTION_SLICE + Geben Sie die Segmentgröße der Datensicherung in Megabytes an. Um zum Beispiel 650MB große Segmente für Kopien auf CDR/RW zu erstellen, geben Sie [ 650 ] an. Dadurch werden in der Zieladresse Dateien im Format job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etc. erstellt. Beachten Sie, dass die maximale Segmentgröße 2000MB ist. Insgesamt ist die Größe der Datensicherung nur durch den verfügbaren Speicherplatz in der Zieladresse begrenzt. ]]> + + + DESCRIPTION_COMPRESSION + Geben Sie den Kompressionsfaktor in Stufen von 0 (kein) bis 9 (Maximum) an. Die Geschwindigkeit ihrer Datensicherung ist dramtisch besser, wenn Sie auf Kompression verzichten. ]]> + + + DESCRIPTION_U_P + Wenn Sie auf ein Netzlaufwerk sichern wollen, geben Sie zusätzlich müssen Sie einen Benutzer mit Kennwort an, der als lokaler Benutzer auf dem Netzlaufwerk über vollständige Schreibrechte verfügt. Lassen Sie die Felder Benutzername und Kennwort frei, wenn Sie auf eine angeschlossene lokale Festplatte sichern wollen. + + + DESCRIPTION_EXPIRY + Geben Sie an, wie viele Tage vorhandene Datensicherungen in der Zieladresse beibehalten werden sollen.

Bei Auswahl von 0 Tage werden die Datensicherungen täglich überschrieben. ]]>
+
+ + DESCRIPTION_VERBOSE + Geben Sie an, ob Sie eine ausführliche Logdatei schreiben lassen wollen.

Mit 'Ja' wird eine ausführliche Liste mit allen Dateien erstellt.
Mit 'Nein' wird keine ausführliche Logdatei, sondern nur ein zusammengefasstes Ergebnis erstellt.

Anmerkung: Das Schreiben einer ausführlichen Logdatei kann bei großen Sicherungsaufträgen zu sehr großen Dateien führen!
Zeitgesteuerte Sicherungsaufträge erstellen eine E-Mail an den admin mit zusammengefasstem Ergebnis. ]]> + + + DESCRIPTION_BACKUP_DAY + Geben Sie den Wochentag an, an dem der Sicherungsauftrag ausgeführt werden soll. Bei Auswahl von 'manuell' verzichten Sie auf die zeitgesteuerte Ausführung. Mit Auswahl von '*' wird der Auftrag täglich ausgeführt. ]]> + + + DESCRIPTION_BACKUP_TIME + Geben Sie die Zeit, zu der der Sicherungsauftrag ausgeführt werden soll, im 24-Stunden-Format (hh:mm) an. ]]> + + diff --git a/root/etc/e-smith/locale/el/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..8166dda --- /dev/null +++ b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + There are no backup jobs in the system. + + + MODIFY + View/Modify + + + CREATE_TITLE + Create backup job + + + MODIFY_TITLE + Modify backup job + + + RESTORE_TITLE + Restore backup job + + + BACKUP_TITLE + Launch backup job + + + REMOVE_TITLE + Remove backup job + + + JOBNAME + Job name + + + BACKUP + Backup selections + + + EXCLUDE + Exclude files + + + PRUNE + Prune directories + + + TARGET + Target + + + SLICE + Slice size + + + VFSTYPE + File system + + + + COMPRESSION + Compression + + + USERNAME + Όνομα Χρήστη + + + EXPIRY + Expiry + + + VERBOSE + Verbose + + + BACKUP_DAY + Backup day + + + BACKUP_TIME + Backup time + + + LOCALDRIVE + Local drive + + + MOUNTED + Mounted + + + NETWORKSHARE + Network share + + + UNMOUNTED + Unmounted + + + DESCRIPTION_RESTORE_DATE + Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ] + + + RESTORE_DATE + Date + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Disaster Recovery + + + RESTORE_RESTORETO + Restore to + + + DESCRIPTION_JOBNAME + Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces. + + + DESCRIPTION_DESC + Enter a description for this backup job. + + + DESCRIPTION_DR + A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup. + + + DESCRIPTION_BACKUP + All backup selections needed to perform a Disaster Recovery are preset below. Note absolute paths are invalid. All paths must be relative to the base / directory. Example: [home] is relative/correct, [/home] is absolute/incorrect. If you are a performing a standard backup, edit the backup selections as required below. One entry per line. Do not enter [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid. + + + DESCRIPTION_PRUNE + Enter any directory tree to prune and not include in the backup. Example: [ home/e-smith/files/ibays/ibayname ]. One entry per line. Wildcards * and ? valid. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Three file systems are supported. [ext3] for backup to local attached disk. [smbfs] for backup to Windows workstation and SME Server network shares. [cifs] for backup to Microsoft Windows Server. Note if using cifs, target entry above must use IP address. Example: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Enter the backup volume segment slices in megabytes. As an example to create 650MB volume segments for copying to CDR/RW you would enter [ 650 ]. This would create in the target files of the following format: job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etcetera. Note the maximum segment size is 2000MB. Total backup job size is limited only by available target free space. + + + DESCRIPTION_COMPRESSION + Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed. + + + DESCRIPTION_U_P + If backing up to a network share, enter a valid username/password that is a local account on the target with full access rights to the share. Leave the username and password blank if backing up to an attached local drive. + + + DESCRIPTION_EXPIRY + Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day. + + + DESCRIPTION_VERBOSE + Verbose option sets the output detail. On for full file-by-file listing and log file generated. Off for summary details only and no log file generated. Note if enabled size of output files is related to size of backup job and therefore can become quite large! Scheduled jobs will receive an e-mail to admin of job details. + + + DESCRIPTION_BACKUP_DAY + Enter the day you would like this backup to occur. Leave manual for unscheduled manual use. + + + DESCRIPTION_BACKUP_TIME + Enter the time you would like this backup to occur in 24 hr (hh:mm) format. + +
diff --git a/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..6ced170 --- /dev/null +++ b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/dar2 @@ -0,0 +1,273 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + + Use this panel to define, schedule and launch server backups and restores, + to and from network shares or an attached local disk.

+ +

Create backup job

+ ]]> +
+
+ + NO_BACKUP_JOBS + There are no backup jobs in the system. + + + MODIFY + View/Modify + + + CREATE_TITLE + Create backup job + + + MODIFY_TITLE + Modify backup job + + + RESTORE_TITLE + Restore backup job + + + BACKUP_TITLE + Launch backup job + + + REMOVE_TITLE + Remove backup job + + + JOBNAME + Job name + + + BACKUP + Backup selections + + + EXCLUDE + Exclude files + + + PRUNE + Prune directories + + + TARGET + Target + + + SLICE + Slice size + + + VFSTYPE + File system + + + + COMPRESSION + Compression + + + USERNAME + Username + + + EXPIRY + Expiry + + + VERBOSE + Verbose + + + BACKUP_DAY + Backup day + + + BACKUP_TIME + Backup time + + + LOCALDRIVE + Local drive + + + MOUNTED + Mounted + + + NETWORKSHARE + Network share + + + UNMOUNTED + Unmounted + + + DESCRIPTION_RESTORE_DATE + + Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ] + + + + RESTORE_DATE + Date + + + DESCRIPTION_RESTORE_DR + + To perform a full disaster recovery restore set the following:

+

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

+ +

Note: After completion of a full disaster recovery restore, + you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

+ +

To perform a selective restore, enter one restore path per line. Paths must be relative. + Example: To restore /root/contribs to the original location you would therefore enter:

+

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

+ ]]> +
+
+ + RESTORE_DR + Disaster Recovery + + + RESTORE_RESTORETO + Restore to + + + DESCRIPTION_JOBNAME + + Enter a unique backup job name. The name should contain only letters, + numbers, periods, hyphens and underscores. No spaces. + + + + DESCRIPTION_DESC + + Enter a description for this backup job. + + + + DESCRIPTION_DR + + A Disaster Recovery backup job runs additional system processes during backup + and restore events. Please set to Disabled if performing a standard backup. + + + + DESCRIPTION_BACKUP + + All backup selections needed to perform a Disaster Recovery are preset below. + Note absolute paths are invalid. All paths must be relative to the base / directory. + Example: [home] is relative/correct, [/home] is absolute/incorrect. + If you are a performing a standard backup, edit the backup selections as required below. + One entry per line. Do not enter [ /,/blah,proc,tmp ]. + + + + DESCRIPTION_EXCLUDE + + Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. + One entry per line. Wildcards * and ? are valid. + + + + DESCRIPTION_PRUNE + + Enter any directory tree to prune and not include in the backup. + Example: [ home/e-smith/files/ibays/ibayname ]. + One entry per line. Wildcards * and ? valid. + + + + DESCRIPTION_TARGET + + Valid targets are an attached local drive or network share.

+ +

If backing up to an attached local drive, enter the target mount point of your drive. + Example: [/media/usbdisk]. Leave the username and password fields blank.

+ +

If backing up to a network share, enter the target in UNC format. + Example: [//computername/sharename]. In addition you must enter + a valid username/password that is a local account on the target with full access rights to the share.

+ ]]> +
+
+ + DESCRIPTION_VFSTYPE + + Three file systems are supported. + [ext3] for backup to local attached disk. + [smbfs] for backup to Windows workstation and SME Server network shares. + [cifs] for backup to Microsoft Windows Server. + Note if using cifs, target entry above must use IP address. + Example: [//10.1.1.1/sharename]. + + + + DESCRIPTION_SLICE + + Enter the backup volume segment slices in megabytes. As an example to create + 650MB volume segments for copying to CDR/RW you would enter [ 650 ]. + This would create in the target files of the following format: + job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etcetera. Note the maximum segment size is 2000MB. + Total backup job size is limited only by available target free space. + + + + DESCRIPTION_COMPRESSION + + Enter the compression level from 0 (none) to 9 (maximum). + No compression dramitcally improves backup speed. + + + + DESCRIPTION_U_P + + If backing up to a network share, enter a valid username/password + that is a local account on the target with full access rights to the share. + Leave the username and password blank if backing up to an attached local drive. + + + + DESCRIPTION_EXPIRY + + Enter a backup expiry time. This will keep backups on the target for n days. + Choosing 0 means backups are overwritten every day. + + + + DESCRIPTION_VERBOSE + + Verbose option sets the output detail. On for full file-by-file listing and log file generated. + Off for summary details only and no log file generated. Note if enabled size of output files + is related to size of backup job and therefore can become quite large! + Scheduled jobs will receive an e-mail to admin of job details. + + + + DESCRIPTION_BACKUP_DAY + + Enter the day you would like this backup to occur. Leave manual for unscheduled manual use. + + + + DESCRIPTION_BACKUP_TIME + + Enter the time you would like this backup to occur in 24 hr (hh:mm) format. + + +
diff --git a/root/etc/e-smith/locale/es/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..2410762 --- /dev/null +++ b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disco ARchivo + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + No hay tareas de respaldo en el sistema + + + MODIFY + Ver/Modificar + + + CREATE_TITLE + Crear tarea de respaldo + + + MODIFY_TITLE + Modificar tarea de respaldo + + + RESTORE_TITLE + Restaurar tarea de respaldo + + + BACKUP_TITLE + Lanzar tarea de respaldo + + + REMOVE_TITLE + Eliminar tarea de respaldo + + + JOBNAME + Nombre tarea + + + BACKUP + Selecciones de respaldo + + + EXCLUDE + Excluir archivos + + + PRUNE + Limpiar directorios + + + TARGET + Destino + + + SLICE + Tamaño + + + VFSTYPE + Sistema de Archivos + + + + COMPRESSION + Compresión + + + USERNAME + Nombre de usuario + + + EXPIRY + Vence + + + VERBOSE + Detallado + + + BACKUP_DAY + Día de respaldo + + + BACKUP_TIME + Hora de respaldo + + + LOCALDRIVE + Unidad local + + + MOUNTED + Montada + + + NETWORKSHARE + Recurso de red compartido + + + UNMOUNTED + Desmontada + + + DESCRIPTION_RESTORE_DATE + Introduzca la fecha del archivo desde el cual usted desea restaurar. Formato: [ yyyy.mm.dd ] + + + RESTORE_DATE + Fecha + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Recuperación de Desastres + + + RESTORE_RESTORETO + Restaurar a + + + DESCRIPTION_JOBNAME + Ingrese un nombre de respaldo único. El nombre debe contener solamente letras, números, puntos, guiones y subraya. Sin espacios. + + + DESCRIPTION_DESC + Ingrese una descripción para este respaldo. + + + DESCRIPTION_DR + Un respaldo de Recuperación de Desastres ejecuta procesos adicionales de sistema durante el respaldo, y restaura los eventos. Por favor, fije en Deshabilitado si esta realizando un respaldo estándar. + + + DESCRIPTION_BACKUP + Todas las selecciones de respaldos necesarios para realizar una Recuperación de Desastres son presentados debajo. Observe que las rutas absolutas son inválidas. Todas las rutas deben ser relativas a la base / de directorio. Ejemplo: [home] es relativa/correcta, [/home] es absoluta/incorrecta. Si esta realizando un respaldo estándar, edite las selecciones de respaldos como es requerido debajo. Una entrada por línea. No ingrese [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Ingresar exclusiones de archivos. Ejemplo: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. Una entrada por línea. Los comodines * y ? están permitidos. + + + DESCRIPTION_PRUNE + Ingrese cualquier árbol de directorios a limpiar y no incluido en el respaldo. Ejemplo: [ home/e-smith/files/ibays/ibayname ]. Una entrada por línea. Los comodines * y ? están permitidos. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Son soportados tres sistemas de archivos. [ext3] para respaldar en un disco local adjuntado. [smbfs] para respaldar en una estación de trabajo Windows y en recursos compartidos de red de un SME Server. [cifs] para respaldar en un Servidor Microsoft Windows. Tenga en cuenta que si utiliza cifs, el destino ingresado arriba debe ser una dirección IP. Ejemplo: [//10.1.1.1/nombrerecurso]. + + + DESCRIPTION_SLICE + Ingrese el volumen de los segmentos del respaldo en megabytes. Por ejemplo para crear volúmenes de 650MB para ser copiados en un CDR/RW usted deberá ingresar [ 650 ]. Esto creará los archivos de destino con siguiente formato: tarea.yyyy.mm.dd.1.dar, tarea.yyyy.mm.dd.2.dar, etcétera. Tenga presente que el tamaño máximo por volumen es de 2000MB. El tamaño de respaldo total esta limitado solamente por el espacio libre en el destino. + + + DESCRIPTION_COMPRESSION + Ingrese el nivel de compresión desde 0 (nada) hasta 9 (máximo). Sin compresión mejorará notablemente la velocidad del respaldo. + + + DESCRIPTION_U_P + Si respalda sobre un recurso de red compartido, ingrese un usuario/contraseña válido que sea una cuenta local en el ordenador de destino con acceso completo al recurso compartido. Dejar los campos usuario y contraseña en blanco si respalda sobre una unidad local adjuntada. + + + DESCRIPTION_EXPIRY + Introduzca la cantidad de días de vigencia del respaldo. Esto mantendrá los respaldos en el destino por n días. Si coloca 0 los respaldos serán sobre-escritos cada día. + + + DESCRIPTION_VERBOSE + La opción Detallado ajusta el nivel de detalle de salida. Activar para un listado de archivo-por-archivo y generar un archivo de registro. Desactivar para un resumen de los detalles y no generar un archivo de registro.Tenga en cuenta que si lo activa el tamaño de los archivos de salida es relativo al tamaño de la tarea de respaldo y, por tanto, pueden llegar a ser bastante grandes! Las tareas programadas recibirán un e-mail al admin de los detalles de la tarea. + + + DESCRIPTION_BACKUP_DAY + Ingrese el día que usted desea que este respaldo se lleve a cabo. Dejar en blanco para respaldo manual. + + + DESCRIPTION_BACKUP_TIME + Introduzca la hora que usted desea para que se lleve a cabo este respaldo en el formato de 24 hr (hh:mm). + +
diff --git a/root/etc/e-smith/locale/et/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..bf56ad2 --- /dev/null +++ b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + Süsteemis pole varundusprotsesse rakendatud. + + + MODIFY + Vaata/Muuda + + + CREATE_TITLE + Loo varundusprotsess + + + MODIFY_TITLE + Muuda varundusprotsessi + + + RESTORE_TITLE + Taasta varundusprotsess + + + BACKUP_TITLE + Käivita taastamisprotsess + + + REMOVE_TITLE + Eemalda varundusprotsess + + + JOBNAME + Protsessi nimi + + + BACKUP + Backup selections + + + EXCLUDE + Ära kaasa faile + + + PRUNE + Prune directories + + + TARGET + Sihtkoht + + + SLICE + Slice size + + + VFSTYPE + Failisüsteem + + + + COMPRESSION + Tihendamine + + + USERNAME + Kasutajanimi + + + EXPIRY + Aegub + + + VERBOSE + Raport + + + BACKUP_DAY + Varundamise päev + + + BACKUP_TIME + Varundamise aeg + + + LOCALDRIVE + Kohalik ketas + + + MOUNTED + Mounted + + + NETWORKSHARE + Network share + + + UNMOUNTED + Unmounted + + + DESCRIPTION_RESTORE_DATE + Sisesta varunduse kuupäev millest soovid taastada vormingus: [aaaa.kk.pp] + + + RESTORE_DATE + Kuupäev + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Disaster Recovery + + + RESTORE_RESTORETO + Taasta + + + DESCRIPTION_JOBNAME + Sisesta unikaalne varunduse protsessi nimi. Nimes saab kasutada ainult numbreid, tähti, sümboleid. Tühikud pole lubatud. + + + DESCRIPTION_DESC + Sisesta selle varundusprotsessi kirjeldus. + + + DESCRIPTION_DR + A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup. + + + DESCRIPTION_BACKUP + All backup selections needed to perform a Disaster Recovery are preset below. Note absolute paths are invalid. All paths must be relative to the base / directory. Example: [home] is relative/correct, [/home] is absolute/incorrect. If you are a performing a standard backup, edit the backup selections as required below. One entry per line. Do not enter [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid. + + + DESCRIPTION_PRUNE + Enter any directory tree to prune and not include in the backup. Example: [ home/e-smith/files/ibays/ibayname ]. One entry per line. Wildcards * and ? valid. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Three file systems are supported. [ext3] for backup to local attached disk. [smbfs] for backup to Windows workstation and SME Server network shares. [cifs] for backup to Microsoft Windows Server. Note if using cifs, target entry above must use IP address. Example: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Enter the backup volume segment slices in megabytes. As an example to create 650MB volume segments for copying to CDR/RW you would enter [ 650 ]. This would create in the target files of the following format: job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etcetera. Note the maximum segment size is 2000MB. Total backup job size is limited only by available target free space. + + + DESCRIPTION_COMPRESSION + Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed. + + + DESCRIPTION_U_P + If backing up to a network share, enter a valid username/password that is a local account on the target with full access rights to the share. Leave the username and password blank if backing up to an attached local drive. + + + DESCRIPTION_EXPIRY + Sisesta varunduse aegumise kuupäev. See hoiab varundusfaile alles x päeva. Valid 0, see tähendab et varundusfail kirjutatakse igapäev üle. + + + DESCRIPTION_VERBOSE + Verbose option sets the output detail. On for full file-by-file listing and log file generated. Off for summary details only and no log file generated. Note if enabled size of output files is related to size of backup job and therefore can become quite large! Scheduled jobs will receive an e-mail to admin of job details. + + + DESCRIPTION_BACKUP_DAY + Enter the day you would like this backup to occur. Leave manual for unscheduled manual use. + + + DESCRIPTION_BACKUP_TIME + Sisesta kellaaeg millal see varundusprotsess peaks käivituma 24 tunni vormingus (tt.mm). + +
diff --git a/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..6dbac0a --- /dev/null +++ b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disque d'archives + + + FORM_DESCRIPTION + Utilisez ce panneau pour définir, programmer et lancer les sauvegardes et restaurations du serveur, vers et depuis des dossiers partagés sur le réseau ou un disque dur local.

Créer une tâche de sauvegarde

]]>
+
+ + NO_BACKUP_JOBS + Il n'y a actuellement aucune tâche de sauvegarde sur ce système. + + + MODIFY + Voir/Modifier + + + CREATE_TITLE + Créer une tâche de sauvegarde + + + MODIFY_TITLE + Modifier la tâche de sauvegarde + + + RESTORE_TITLE + Restaurer une tâche de sauvegarde + + + BACKUP_TITLE + Lancer la tâche de sauvegarde + + + REMOVE_TITLE + Supprimer la tâche de sauvegarde + + + JOBNAME + Nom de la tâche + + + BACKUP + Sélections de sauvegarde + + + EXCLUDE + Exclure les fichiers + + + PRUNE + Elaguer les dossiers + + + TARGET + Cible + + + SLICE + Taille des segments + + + VFSTYPE + Système de fichiers + + + + COMPRESSION + Compression + + + USERNAME + Nom d'utilisateur + + + EXPIRY + Expiration + + + VERBOSE + Rapport détaillé + + + BACKUP_DAY + Jour de sauvegarde + + + BACKUP_TIME + Heure de sauvegarde + + + LOCALDRIVE + Disque local + + + MOUNTED + Monté + + + NETWORKSHARE + Partage réseau + + + UNMOUNTED + Non monté + + + DESCRIPTION_RESTORE_DATE + Saisissez la date de l'archive depuis laquelle vous souhaitez effectuer la restauration. Format : [ aaaa.mm.jj ] + + + RESTORE_DATE + Date + + + DESCRIPTION_RESTORE_DR + Pour réaliser une restauration complète après sinistre faites comme ceci:

Restauration après Sinistre [ Activé] Restauration [ *.* ] Restaurer vers [ / ]

Note : après réalisation d'une restauration complète après sinistre, vous aurez à aller dans le gestionnaire du serveur afin de réaliser une Reconfiguration et un Redémarrage de votre serveur depuis le panel Redémarrage et Arrêt.

Pour réaliser une restauration sélective, insérez un chemin de restauration par ligne. Les chemins doivent être relatifs. Par exemple : pour restaurer /root/contribs vers la destination originale vous devrez donc taper :

Restauration après sinistre [ Désactivé] Restauration [ root/contribs ] Restaurer vers [ / ]

]]>
+
+ + RESTORE_DR + Restauration après sinistre + + + RESTORE_RESTORETO + Restaurer vers + + + DESCRIPTION_JOBNAME + Saisissez un nom unique pour la tâche de sauvegarde. Ce nom doit contenir que des lettres, chiffres, points, soulignements et tirets. Aucun espace. + + + DESCRIPTION_DESC + Saisissez une description pour cette tâche de sauvegarde. + + + DESCRIPTION_DR + Une tâche de récupération de désastre exécute quelques commandes complémentaires lors des processus de sauvegarde et de restauration. Si vous souhaitez réaliser une sauvegarde simple, merci de sélectionner désactivé. + + + DESCRIPTION_BACKUP + Toutes les sauvegardes nécessaire à la réalisation d'une restauration après sinistre sont pré sélectionnées ci-dessous. Attention les chemins absolus sont incorrects. Tous les chemins doivent être relatifs au dossier racine /. Exemple : [home] est relatif / correct, [/home] est absolu / incorrect. Si vous réalisez une sauvegarde standard, modifiez les sélections à sauvegarder comme besoin ci-dessous. Une entrée par ligne. Ne pas utiliser [ /,/blah,proc,tmp,dev ]. + + + DESCRIPTION_EXCLUDE + Renseignez tous fichiers à exclure. Par exemple: [ home/e-smith/files/ibays/nomdibay/files/document.doc ]. Une entrée par ligne. Les caractères joker * et ? sont autorisés. + + + DESCRIPTION_PRUNE + Renseignez tout dossier à éliminer et à ne pas inclure dans la sauvegarde. Par exemple: [ home/e-smith/files/ibays/nomdibay ]. Une entrée par ligne. Les caractères jokers * et ? sont autorisés. + + + DESCRIPTION_TARGET + Les cibles valides sont des disques locaux ou des partages sur le réseau.

Si vous utilisez un disque local, saisissez le point de montage cible de votre disque. Par exemple : [/media/usbdisk]. Laissez le nom d'utilisateur et le mot de passe vides.

Si vous utilisez un partage sur le réseau, saisissez la cible au format UNC. Par exemple : [//nomdordinateur/nomdepartage]. De plus vous devez saisir un nom d'utilisateur et un mot de passe valide qui appartient à un compte actif local de la cible avec tous les droits d'accès sur le partage.

]]>
+
+ + DESCRIPTION_VFSTYPE + Trois système de fichier sont supportés. [ext3] pour les sauvegardes sur disque local. [smfs] pour les sauvegardes sur un poste de travail Windows ou sur un partage réseau SME Server. [cifs] pour les sauvegardes vers un serveur Microsoft Windows. NB : Si vous utilisez le système cifs, la cible saisie ci-dessus doit inclure l'adresse IP. Exemple : [//10.1.1.1/nom_du_partage]. + + + DESCRIPTION_SLICE + Saisissez la taille des segments en megabytes. PAr exemple pour creer un segment de 650 MB pour copier sur un CD-R/RW vous devrez saisir [ 650]. Ceci créera des fichiers cibles au format suivant:job.aaaa.mm.jj.1.dar, job.aaaa.mm.jj.2.dar, etc. A noter que la taille maximum par segment est de 2000MB. La taille maximal de la sauvegarde est limitée seulement par l'espace disponible sur l'espace cible. + + + DESCRIPTION_COMPRESSION + Saisissez le taux de compression de 0 (aucune) à 9 (maximum). L'absence de compression améliore significativement la vitesse de sauvegarde. + + + DESCRIPTION_U_P + Si vous sauvegardez sur un partage sur le réseau, saisissez un couple utilisateur / mot de passe valide qui correspond à un compte local sur la cible avec tous les droits sur le partage. Laissez le nom d'utilisateur et le mot de passe vides si vous sauvegardez sur un disque local. + + + DESCRIPTION_EXPIRY + Saisissez une temps d'expiration. Ceci conservera les sauvegardes sur la cible pour n jours. Choisir 0 revient à dire que les sauvegardes seront écrasées chaque jour. + + + DESCRIPTION_VERBOSE + L'option rapport détaillé influe sur les détails affichés. [ On ] pour un rapport complet fichier par fichier avec génération d'un fichier de log. [ Off ] pour un résumé et pas de génération de long fichier de log. A noter que si l'option est activée la taille du fichier de log généré est proportionnel à la taille de la sauvegarde réalisée et peut donc devenir très grosse! Les tâches programmées recevront un courriel de rapport sur le compte admin. + + + DESCRIPTION_BACKUP_DAY + Saisissez le jour où vous désirez voir cette sauvegarde se réaliser. Laissez à manuel pour une sauvegarde non programmée à utilisation manuelle. + + + DESCRIPTION_BACKUP_TIME + Saisissez lh'eure à laquelle vous voulez réaliser cette sauvegarde au format horaire 0-24 (hh:mm). + +
diff --git a/root/etc/e-smith/locale/he/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..3523afc --- /dev/null +++ b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + There are no backup jobs in the system. + + + MODIFY + View/Modify + + + CREATE_TITLE + Create backup job + + + MODIFY_TITLE + Modify backup job + + + RESTORE_TITLE + Restore backup job + + + BACKUP_TITLE + Launch backup job + + + REMOVE_TITLE + Remove backup job + + + JOBNAME + Job name + + + BACKUP + Backup selections + + + EXCLUDE + Exclude files + + + PRUNE + Prune directories + + + TARGET + Target + + + SLICE + Slice size + + + VFSTYPE + File system + + + + COMPRESSION + Compression + + + USERNAME + שם משתמש + + + EXPIRY + Expiry + + + VERBOSE + Verbose + + + BACKUP_DAY + Backup day + + + BACKUP_TIME + Backup time + + + LOCALDRIVE + Local drive + + + MOUNTED + Mounted + + + NETWORKSHARE + Network share + + + UNMOUNTED + Unmounted + + + DESCRIPTION_RESTORE_DATE + Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ] + + + RESTORE_DATE + Date + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Disaster Recovery + + + RESTORE_RESTORETO + Restore to + + + DESCRIPTION_JOBNAME + Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces. + + + DESCRIPTION_DESC + Enter a description for this backup job. + + + DESCRIPTION_DR + A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup. + + + DESCRIPTION_BACKUP + All backup selections needed to perform a Disaster Recovery are preset below. Note absolute paths are invalid. All paths must be relative to the base / directory. Example: [home] is relative/correct, [/home] is absolute/incorrect. If you are a performing a standard backup, edit the backup selections as required below. One entry per line. Do not enter [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid. + + + DESCRIPTION_PRUNE + Enter any directory tree to prune and not include in the backup. Example: [ home/e-smith/files/ibays/ibayname ]. One entry per line. Wildcards * and ? valid. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Three file systems are supported. [ext3] for backup to local attached disk. [smbfs] for backup to Windows workstation and SME Server network shares. [cifs] for backup to Microsoft Windows Server. Note if using cifs, target entry above must use IP address. Example: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Enter the backup volume segment slices in megabytes. As an example to create 650MB volume segments for copying to CDR/RW you would enter [ 650 ]. This would create in the target files of the following format: job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etcetera. Note the maximum segment size is 2000MB. Total backup job size is limited only by available target free space. + + + DESCRIPTION_COMPRESSION + Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed. + + + DESCRIPTION_U_P + If backing up to a network share, enter a valid username/password that is a local account on the target with full access rights to the share. Leave the username and password blank if backing up to an attached local drive. + + + DESCRIPTION_EXPIRY + Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day. + + + DESCRIPTION_VERBOSE + Verbose option sets the output detail. On for full file-by-file listing and log file generated. Off for summary details only and no log file generated. Note if enabled size of output files is related to size of backup job and therefore can become quite large! Scheduled jobs will receive an e-mail to admin of job details. + + + DESCRIPTION_BACKUP_DAY + Enter the day you would like this backup to occur. Leave manual for unscheduled manual use. + + + DESCRIPTION_BACKUP_TIME + Enter the time you would like this backup to occur in 24 hr (hh:mm) format. + +
diff --git a/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..08b64b1 --- /dev/null +++ b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + There are no backup jobs in the system. + + + MODIFY + View/Modify + + + CREATE_TITLE + Create backup job + + + MODIFY_TITLE + Modify backup job + + + RESTORE_TITLE + Restore backup job + + + BACKUP_TITLE + Launch backup job + + + REMOVE_TITLE + Remove backup job + + + JOBNAME + Job name + + + BACKUP + Backup selections + + + EXCLUDE + Exclude files + + + PRUNE + Prune directories + + + TARGET + Target + + + SLICE + Slice size + + + VFSTYPE + File system + + + + COMPRESSION + Compression + + + USERNAME + Felhasználónév + + + EXPIRY + Expiry + + + VERBOSE + Verbose + + + BACKUP_DAY + Backup day + + + BACKUP_TIME + Backup time + + + LOCALDRIVE + Local drive + + + MOUNTED + Mounted + + + NETWORKSHARE + Network share + + + UNMOUNTED + Unmounted + + + DESCRIPTION_RESTORE_DATE + Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ] + + + RESTORE_DATE + Dátum + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Disaster Recovery + + + RESTORE_RESTORETO + Restore to + + + DESCRIPTION_JOBNAME + Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces. + + + DESCRIPTION_DESC + Enter a description for this backup job. + + + DESCRIPTION_DR + A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup. + + + DESCRIPTION_BACKUP + All backup selections needed to perform a Disaster Recovery are preset below. Note absolute paths are invalid. All paths must be relative to the base / directory. Example: [home] is relative/correct, [/home] is absolute/incorrect. If you are a performing a standard backup, edit the backup selections as required below. One entry per line. Do not enter [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid. + + + DESCRIPTION_PRUNE + Enter any directory tree to prune and not include in the backup. Example: [ home/e-smith/files/ibays/ibayname ]. One entry per line. Wildcards * and ? valid. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Three file systems are supported. [ext3] for backup to local attached disk. [smbfs] for backup to Windows workstation and SME Server network shares. [cifs] for backup to Microsoft Windows Server. Note if using cifs, target entry above must use IP address. Example: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Enter the backup volume segment slices in megabytes. As an example to create 650MB volume segments for copying to CDR/RW you would enter [ 650 ]. This would create in the target files of the following format: job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etcetera. Note the maximum segment size is 2000MB. Total backup job size is limited only by available target free space. + + + DESCRIPTION_COMPRESSION + Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed. + + + DESCRIPTION_U_P + If backing up to a network share, enter a valid username/password that is a local account on the target with full access rights to the share. Leave the username and password blank if backing up to an attached local drive. + + + DESCRIPTION_EXPIRY + Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day. + + + DESCRIPTION_VERBOSE + Verbose option sets the output detail. On for full file-by-file listing and log file generated. Off for summary details only and no log file generated. Note if enabled size of output files is related to size of backup job and therefore can become quite large! Scheduled jobs will receive an e-mail to admin of job details. + + + DESCRIPTION_BACKUP_DAY + Enter the day you would like this backup to occur. Leave manual for unscheduled manual use. + + + DESCRIPTION_BACKUP_TIME + Enter the time you would like this backup to occur in 24 hr (hh:mm) format. + +
diff --git a/root/etc/e-smith/locale/id/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..8b7e35e --- /dev/null +++ b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + There are no backup jobs in the system. + + + MODIFY + View/Modify + + + CREATE_TITLE + Create backup job + + + MODIFY_TITLE + Modify backup job + + + RESTORE_TITLE + Restore backup job + + + BACKUP_TITLE + Launch backup job + + + REMOVE_TITLE + Remove backup job + + + JOBNAME + Job name + + + BACKUP + Backup selections + + + EXCLUDE + Exclude files + + + PRUNE + Prune directories + + + TARGET + Target + + + SLICE + Slice size + + + VFSTYPE + File system + + + + COMPRESSION + Compression + + + USERNAME + Nama pengguna + + + EXPIRY + Expiry + + + VERBOSE + Verbose + + + BACKUP_DAY + Backup day + + + BACKUP_TIME + Backup time + + + LOCALDRIVE + Local drive + + + MOUNTED + Mounted + + + NETWORKSHARE + Network share + + + UNMOUNTED + Unmounted + + + DESCRIPTION_RESTORE_DATE + Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ] + + + RESTORE_DATE + Date + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Disaster Recovery + + + RESTORE_RESTORETO + Restore to + + + DESCRIPTION_JOBNAME + Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces. + + + DESCRIPTION_DESC + Enter a description for this backup job. + + + DESCRIPTION_DR + A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup. + + + DESCRIPTION_BACKUP + All backup selections needed to perform a Disaster Recovery are preset below. Note absolute paths are invalid. All paths must be relative to the base / directory. Example: [home] is relative/correct, [/home] is absolute/incorrect. If you are a performing a standard backup, edit the backup selections as required below. One entry per line. Do not enter [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid. + + + DESCRIPTION_PRUNE + Enter any directory tree to prune and not include in the backup. Example: [ home/e-smith/files/ibays/ibayname ]. One entry per line. Wildcards * and ? valid. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Three file systems are supported. [ext3] for backup to local attached disk. [smbfs] for backup to Windows workstation and SME Server network shares. [cifs] for backup to Microsoft Windows Server. Note if using cifs, target entry above must use IP address. Example: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Enter the backup volume segment slices in megabytes. As an example to create 650MB volume segments for copying to CDR/RW you would enter [ 650 ]. This would create in the target files of the following format: job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etcetera. Note the maximum segment size is 2000MB. Total backup job size is limited only by available target free space. + + + DESCRIPTION_COMPRESSION + Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed. + + + DESCRIPTION_U_P + If backing up to a network share, enter a valid username/password that is a local account on the target with full access rights to the share. Leave the username and password blank if backing up to an attached local drive. + + + DESCRIPTION_EXPIRY + Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day. + + + DESCRIPTION_VERBOSE + Verbose option sets the output detail. On for full file-by-file listing and log file generated. Off for summary details only and no log file generated. Note if enabled size of output files is related to size of backup job and therefore can become quite large! Scheduled jobs will receive an e-mail to admin of job details. + + + DESCRIPTION_BACKUP_DAY + Enter the day you would like this backup to occur. Leave manual for unscheduled manual use. + + + DESCRIPTION_BACKUP_TIME + Enter the time you would like this backup to occur in 24 hr (hh:mm) format. + +
diff --git a/root/etc/e-smith/locale/it/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..6a3197b --- /dev/null +++ b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Usare questo pannello per definire, programmare e avviare backup e restore del server, da e verso cartelle di rete o dischi locali collegati al server.

Crea backup job

]]>
+
+ + NO_BACKUP_JOBS + Non ci sono lavori di backup definiti sul sistema + + + MODIFY + Visualizza/Modifica + + + CREATE_TITLE + Crea backup job + + + MODIFY_TITLE + Modifica backup job + + + RESTORE_TITLE + Ripristina backup job + + + BACKUP_TITLE + Avvia backup job + + + REMOVE_TITLE + Elimina backup job + + + JOBNAME + Nome del backup + + + BACKUP + Selezione per il backup + + + EXCLUDE + Escludi file + + + PRUNE + Escludi cartelle + + + TARGET + Destinazione + + + SLICE + Dimensione segmento + + + VFSTYPE + File system + + + + COMPRESSION + Compressione + + + USERNAME + Nome utente + + + EXPIRY + Scadenza + + + VERBOSE + Verbose + + + BACKUP_DAY + Giorno del backup + + + BACKUP_TIME + Ora del backup + + + LOCALDRIVE + Disco locale + + + MOUNTED + Montato + + + NETWORKSHARE + Condivisione di rete + + + UNMOUNTED + Non montato + + + DESCRIPTION_RESTORE_DATE + Inserire la data dell'archivio da cui ripristinare i file. Formato: [ yyyy.mm.dd ] + + + RESTORE_DATE + Data + + + DESCRIPTION_RESTORE_DR + Per eseguire un disaster recovery completo configurarlo come segue:

Disaster Recovery [ Abilitato ] Ripristino [ *.* ] Ripristino su [ / ]

Nota: dopo il completamento di un disaster recovery, è necessario accedere al pannello del server manager Riavvio spegnimento e selezionare Riconfigura il server.

Per eseguire un ripristino selettivo, inserire un persorso di ripristino per riga. I percorsi sono relativi. Ad esempio, per ripristinare /root/contribs nella posizione originale selezionare:

Disaster Recovery [ Disabilitato ] Ripristino [ root/contribs ] Ripristino su [ / ]

]]>
+
+ + RESTORE_DR + Disaster Recovery + + + RESTORE_RESTORETO + Ripristino su + + + DESCRIPTION_JOBNAME + Inserire un nome unico per il backup job. Il nome deve contenere solo lettere, numeri, punti, trattini e underscore. Non sono ammessi spazi. + + + DESCRIPTION_DESC + Inserire una descrizione per il backup job. + + + DESCRIPTION_DR + Un Disaster Recovery esegue dei processi di sistema aggiuntivi durante il salvataggio ed il ripristino. Impostare a 'disabilitato' se si esegue un salvataggio standard. + + + DESCRIPTION_BACKUP + Tutte le selezioni di file/cartelle necessarie per eseguire un Disaster Recovery son preimpostate di seguito. Nota: i percorsi assoluti non sono validi. Tutti i percorsi devono essere relativi a / . Ad esempio [home] è relativo/corretto, [/home] è assoluto/scorretto. Se sis sta eseguendo un salvataggio standard, compilare la lista di backup come indicato sotto. Una selezione per riga. Non inserire [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Inserire le esclusioni dei file. Ad esempio: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. Una selezione per riga. Sono ammessi i caratteri 'wildcard' * e ?. + + + DESCRIPTION_PRUNE + Inserire qualunque ramo dell'albero da escludere dal backup. Esempio: [ home/e-smith/files/ibays/ibayname ]. Un valore per riga. Le wildcards * e ? sono valide. + + + DESCRIPTION_TARGET + Le destinazioni valide sono un disco locale collegato al server o una cartella di rete.

Se si salva su un disco locale, inserire il mount point del disco. Esempio: [/media/usbdisk]. Lasciare i campi username e password vuoti.

Se si salva su una cartella di rete, inserire la destinazione in formato UNC. Esempio: [//computername/sharename]. In aggiunta vanno inseriti username/password validi per il sistema di destinazione con diritti di accesso completo alla cartella condivisa.

]]>
+
+ + DESCRIPTION_VFSTYPE + Sono supportati tre tipi di file systems. [ext3] per backup su dischi locali collegati al server. [smbfs] per backup su pc Windows e cartelle condivise su SME Server. [cifs] for backup su Microsoft Windows Server. Nota if utilizzando cifs, per la destinazione si deve utilizzare un indirizzo IP. Example: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Inserire le dimensioni di ripartizione del backup in megabytes. Ad esempio per creare segmenti da 650MB da salvare su CDR/RW inserire [ 650 ]. I file di destinazione saranno creati secondo il formato: job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, ecc.. Nota: la dimensione massima del segmento è 2000MB. La dimensione totale del backup è limitata unicamente dallo spazio disponibile sull'unità di destinazione. + + + DESCRIPTION_COMPRESSION + Inserire il livello di compressione da 0 (none) a 9 (maximum). Nessuna compressione incrementa drasticamente la velocità di backup. + + + DESCRIPTION_U_P + Salvando su una cartella di rete, inserire una username/password validi come account locali del sistema di destinazione, con diritti di accesso completi alla cartella di rete. Lasciare username e password vuoti se si salva su una device locale collegato al server. + + + DESCRIPTION_EXPIRY + Inserire una scadenza per il backup. Il backup verrà conservato per n giorni. Inserendo 0 i backup verranno sovrascritti ogni giorno. + + + DESCRIPTION_VERBOSE + L'opzione "verbose" imposta il dettaglio del log. "On" per listare ogni file salvato e generazione del log. "Off" per il solo sommario senza generazione del log. Nota: se l'opzione "On" è attiva la dimensione del file di log è commisurata al numero di file salvati, quindi può diventare molto grande! I backup programmati inviano una e-mail ad admin con i dettagli del backup. + + + DESCRIPTION_BACKUP_DAY + Inserire il giorno in cui si desidera che venga eseguito il backup. Lasciare su manuale per non programmare il backup. + + + DESCRIPTION_BACKUP_TIME + Inserire l'ora del backup in formato 24 ore (hh:mm). + +
diff --git a/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..0ac0cd9 --- /dev/null +++ b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + There are no backup jobs in the system. + + + MODIFY + View/Modify + + + CREATE_TITLE + Create backup job + + + MODIFY_TITLE + Modify backup job + + + RESTORE_TITLE + Restore backup job + + + BACKUP_TITLE + Launch backup job + + + REMOVE_TITLE + Remove backup job + + + JOBNAME + Job name + + + BACKUP + Backup selections + + + EXCLUDE + Exclude files + + + PRUNE + Prune directories + + + TARGET + Target + + + SLICE + Slice size + + + VFSTYPE + File system + + + + COMPRESSION + Compression + + + USERNAME + ユーザ名 + + + EXPIRY + Expiry + + + VERBOSE + Verbose + + + BACKUP_DAY + Backup day + + + BACKUP_TIME + Backup time + + + LOCALDRIVE + Local drive + + + MOUNTED + Mounted + + + NETWORKSHARE + Network share + + + UNMOUNTED + Unmounted + + + DESCRIPTION_RESTORE_DATE + Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ] + + + RESTORE_DATE + Date + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Disaster Recovery + + + RESTORE_RESTORETO + Restore to + + + DESCRIPTION_JOBNAME + Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces. + + + DESCRIPTION_DESC + Enter a description for this backup job. + + + DESCRIPTION_DR + A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup. + + + DESCRIPTION_BACKUP + All backup selections needed to perform a Disaster Recovery are preset below. Note absolute paths are invalid. All paths must be relative to the base / directory. Example: [home] is relative/correct, [/home] is absolute/incorrect. If you are a performing a standard backup, edit the backup selections as required below. One entry per line. Do not enter [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid. + + + DESCRIPTION_PRUNE + Enter any directory tree to prune and not include in the backup. Example: [ home/e-smith/files/ibays/ibayname ]. One entry per line. Wildcards * and ? valid. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Three file systems are supported. [ext3] for backup to local attached disk. [smbfs] for backup to Windows workstation and SME Server network shares. [cifs] for backup to Microsoft Windows Server. Note if using cifs, target entry above must use IP address. Example: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Enter the backup volume segment slices in megabytes. As an example to create 650MB volume segments for copying to CDR/RW you would enter [ 650 ]. This would create in the target files of the following format: job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etcetera. Note the maximum segment size is 2000MB. Total backup job size is limited only by available target free space. + + + DESCRIPTION_COMPRESSION + Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed. + + + DESCRIPTION_U_P + If backing up to a network share, enter a valid username/password that is a local account on the target with full access rights to the share. Leave the username and password blank if backing up to an attached local drive. + + + DESCRIPTION_EXPIRY + Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day. + + + DESCRIPTION_VERBOSE + Verbose option sets the output detail. On for full file-by-file listing and log file generated. Off for summary details only and no log file generated. Note if enabled size of output files is related to size of backup job and therefore can become quite large! Scheduled jobs will receive an e-mail to admin of job details. + + + DESCRIPTION_BACKUP_DAY + Enter the day you would like this backup to occur. Leave manual for unscheduled manual use. + + + DESCRIPTION_BACKUP_TIME + Enter the time you would like this backup to occur in 24 hr (hh:mm) format. + +
diff --git a/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..3e87d4f --- /dev/null +++ b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + There are no backup jobs in the system. + + + MODIFY + View/Modify + + + CREATE_TITLE + Create backup job + + + MODIFY_TITLE + Modify backup job + + + RESTORE_TITLE + Restore backup job + + + BACKUP_TITLE + Launch backup job + + + REMOVE_TITLE + Remove backup job + + + JOBNAME + Job name + + + BACKUP + Backup selections + + + EXCLUDE + Exclude files + + + PRUNE + Prune directories + + + TARGET + Target + + + SLICE + Slice size + + + VFSTYPE + File system + + + + COMPRESSION + Compression + + + USERNAME + Brukernavn + + + EXPIRY + Expiry + + + VERBOSE + Verbose + + + BACKUP_DAY + Backup day + + + BACKUP_TIME + Backup time + + + LOCALDRIVE + Local drive + + + MOUNTED + Mounted + + + NETWORKSHARE + Network share + + + UNMOUNTED + Unmounted + + + DESCRIPTION_RESTORE_DATE + Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ] + + + RESTORE_DATE + Date + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Disaster Recovery + + + RESTORE_RESTORETO + Restore to + + + DESCRIPTION_JOBNAME + Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces. + + + DESCRIPTION_DESC + Enter a description for this backup job. + + + DESCRIPTION_DR + A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup. + + + DESCRIPTION_BACKUP + All backup selections needed to perform a Disaster Recovery are preset below. Note absolute paths are invalid. All paths must be relative to the base / directory. Example: [home] is relative/correct, [/home] is absolute/incorrect. If you are a performing a standard backup, edit the backup selections as required below. One entry per line. Do not enter [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid. + + + DESCRIPTION_PRUNE + Enter any directory tree to prune and not include in the backup. Example: [ home/e-smith/files/ibays/ibayname ]. One entry per line. Wildcards * and ? valid. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Three file systems are supported. [ext3] for backup to local attached disk. [smbfs] for backup to Windows workstation and SME Server network shares. [cifs] for backup to Microsoft Windows Server. Note if using cifs, target entry above must use IP address. Example: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Enter the backup volume segment slices in megabytes. As an example to create 650MB volume segments for copying to CDR/RW you would enter [ 650 ]. This would create in the target files of the following format: job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etcetera. Note the maximum segment size is 2000MB. Total backup job size is limited only by available target free space. + + + DESCRIPTION_COMPRESSION + Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed. + + + DESCRIPTION_U_P + If backing up to a network share, enter a valid username/password that is a local account on the target with full access rights to the share. Leave the username and password blank if backing up to an attached local drive. + + + DESCRIPTION_EXPIRY + Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day. + + + DESCRIPTION_VERBOSE + Verbose option sets the output detail. On for full file-by-file listing and log file generated. Off for summary details only and no log file generated. Note if enabled size of output files is related to size of backup job and therefore can become quite large! Scheduled jobs will receive an e-mail to admin of job details. + + + DESCRIPTION_BACKUP_DAY + Enter the day you would like this backup to occur. Leave manual for unscheduled manual use. + + + DESCRIPTION_BACKUP_TIME + Enter the time you would like this backup to occur in 24 hr (hh:mm) format. + +
diff --git a/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..31c5672 --- /dev/null +++ b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + Er zijn geen back-up taken in het systeem. + + + MODIFY + Bekijken/Wijzigen + + + CREATE_TITLE + Back-up taak aanmaken + + + MODIFY_TITLE + Back-up taak wijzigen + + + RESTORE_TITLE + Back-up taak herstellen + + + BACKUP_TITLE + Back-up taak starten + + + REMOVE_TITLE + Back-up taak verwijderen + + + JOBNAME + Taak naam + + + BACKUP + Backup selecties + + + EXCLUDE + Negeer bestanden + + + PRUNE + Negeer mappen + + + TARGET + Doel + + + SLICE + Deel grootte + + + VFSTYPE + Bestandssysteem + + + + COMPRESSION + Compressie + + + USERNAME + Gebruikersnaam + + + EXPIRY + Verlopen + + + VERBOSE + Uitgebreid + + + BACKUP_DAY + Back-up dag + + + BACKUP_TIME + Back-up tijd + + + LOCALDRIVE + Lokaal schijfstation + + + MOUNTED + Aangesloten + + + NETWORKSHARE + Netwerk schijfstation + + + UNMOUNTED + Ontkoppeld + + + DESCRIPTION_RESTORE_DATE + Voer de datum in van het archief dat u wilt herstellen. Formaat: [ jjjj.mm.dd ] + + + RESTORE_DATE + Datum + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Ramp herstel + + + RESTORE_RESTORETO + Herstellen naar + + + DESCRIPTION_JOBNAME + Voer een unieke back-up taaknaam in. De naam mag alleen letters, cijfers, punten, koppeltekens en lage streepjes bevatten. Geen spaties. + + + DESCRIPTION_DESC + Voer een beschrijving in voor deze back-up taak. + + + DESCRIPTION_DR + Een Ramp Herstel back-up taak voert additionele systeemtaken uit gedurende back-up en herstel gebeurtenissen. Zet dit alstublieft op Uit als u een standaard back-up uitvoerd. + + + DESCRIPTION_BACKUP + Alle back-up selecties die benodigd zijn voor een ramp herstel zijn hieronder reeds geselecteerd. Merk op dat absolute paden ongeldig zijn. Alle paden moeten relatief zijn aan de basis / map. Bijvoorbeeld: [home] is relatief en correct, [/home] is absoluut en incorrect. Als u een standaard back-up uitvoert, kunt u de onderstaande back-up selecties naar believen wijzigen. Een opgave per regel. Voer niet [ /, /blah, proc, tmp ] in. + + + DESCRIPTION_EXCLUDE + Voer bestands uitzonderingen in. Bijvoorbeeld: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. Een opgave per regel. Wildcard tekens * en ? kunnen gebruikt worden. + + + DESCRIPTION_PRUNE + Voor te snoeien mapnamen in die niet in the back-up opgenomen worden. Bijvoorbeeld: [ home/e-smith/files/ibays/ibaainaam ]. Een opgave per regel. Wildcards tekens * en ? zijn geldig. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Drie bestandssystemen worden ondersteund. [ext3] voor back-up naar een vast schijfstation. [smbfs] voor back-up naar een Windows werkstation en SME Server netwerk schijfstations. [cifs] voor back-up naar Microsoft Windows Server. Merk op dat by gebruik van cifs, de invoer hierboven een IP adres moet zijn. Bijvoorbeeld: [//10.1.1.1/sharenaam]. + + + DESCRIPTION_SLICE + Voer de back-up volume segment grootte in megabytes in. Als u bijvoorbeeld volume segmenten wilt creëren die geschikt zijn om naar CDR/RW te kopiëren zou u [ 650 ] invoeren. Dit zou de doel bestanden creeren in het volgende formaat: taak.jjjj.mm.dd.1.dar, taak.jjjj.mm.dd.2.dar, enzovoort. Merk up dat de maximum segment grootte 2000MB is. Totale back-up taak grootte is alleen gelimiteerd door de beschikbare vrije ruimte op het doel schijfstation. + + + DESCRIPTION_COMPRESSION + Voer het niveau van comprimeren in van 0 (geen) tot 9 (maximaal). Door geen compressie te gebruiken word de back-up snelheid dramatisch verbeterd. + + + DESCRIPTION_U_P + Bij back-up naar een netwerk schijstation, moet u een gebruikersnaam en wachtwoord invoeren die geldig zijn voor het doel systeem en volledige toegangsrechten heeft of het netwerk schijfstation. Laat de gebruikersnaam en wachtwoord leeg als u een back-up uitvoert naar een lokaal schijfstation. + + + DESCRIPTION_EXPIRY + Voer een back-up verval tijd in. Dit houdt back-ups op het doel systeem voor n dagen vast. Als u 0 kiest, betekend dit dat bestaande back-ups elke dag overschreven worden. + + + DESCRIPTION_VERBOSE + De uitgebreid optie set de hoeveelheid detail in de uitvoer. Aan om een volledige bestandslijst en een logbestand te genereren. Uit om alleen samengevatte details te zien en geen logbestand te genereren. Merk op dat de grootte van uitvoer bestanden gerelateerd is aan de grootte van de back-up taak en daarom vrij groot kunnen worden! Uitgevoerde taken sturen een e-mail naar de admin gebruiker met taak details. + + + DESCRIPTION_BACKUP_DAY + Voer de dag in waarop u deze back-up wilt laten uitvoeren. Laat op handmatig staan voor ongepland handmatig gebruik. + + + DESCRIPTION_BACKUP_TIME + Voer de tijd in waarop u deze back-up wilt laten uitvoeren in 24 uurs formaat (uu:mm). + +
diff --git a/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..2d7d045 --- /dev/null +++ b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + There are no backup jobs in the system. + + + MODIFY + View/Modify + + + CREATE_TITLE + Create backup job + + + MODIFY_TITLE + Modify backup job + + + RESTORE_TITLE + Restore backup job + + + BACKUP_TITLE + Launch backup job + + + REMOVE_TITLE + Remove backup job + + + JOBNAME + Job name + + + BACKUP + Backup selections + + + EXCLUDE + Exclude files + + + PRUNE + Prune directories + + + TARGET + Target + + + SLICE + Slice size + + + VFSTYPE + File system + + + + COMPRESSION + Compression + + + USERNAME + Nazwa użytkownika + + + EXPIRY + Expiry + + + VERBOSE + Verbose + + + BACKUP_DAY + Backup day + + + BACKUP_TIME + Backup time + + + LOCALDRIVE + Local drive + + + MOUNTED + Mounted + + + NETWORKSHARE + Network share + + + UNMOUNTED + Unmounted + + + DESCRIPTION_RESTORE_DATE + Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ] + + + RESTORE_DATE + Date + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Disaster Recovery + + + RESTORE_RESTORETO + Restore to + + + DESCRIPTION_JOBNAME + Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces. + + + DESCRIPTION_DESC + Enter a description for this backup job. + + + DESCRIPTION_DR + A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup. + + + DESCRIPTION_BACKUP + All backup selections needed to perform a Disaster Recovery are preset below. Note absolute paths are invalid. All paths must be relative to the base / directory. Example: [home] is relative/correct, [/home] is absolute/incorrect. If you are a performing a standard backup, edit the backup selections as required below. One entry per line. Do not enter [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid. + + + DESCRIPTION_PRUNE + Enter any directory tree to prune and not include in the backup. Example: [ home/e-smith/files/ibays/ibayname ]. One entry per line. Wildcards * and ? valid. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Three file systems are supported. [ext3] for backup to local attached disk. [smbfs] for backup to Windows workstation and SME Server network shares. [cifs] for backup to Microsoft Windows Server. Note if using cifs, target entry above must use IP address. Example: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Enter the backup volume segment slices in megabytes. As an example to create 650MB volume segments for copying to CDR/RW you would enter [ 650 ]. This would create in the target files of the following format: job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etcetera. Note the maximum segment size is 2000MB. Total backup job size is limited only by available target free space. + + + DESCRIPTION_COMPRESSION + Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed. + + + DESCRIPTION_U_P + If backing up to a network share, enter a valid username/password that is a local account on the target with full access rights to the share. Leave the username and password blank if backing up to an attached local drive. + + + DESCRIPTION_EXPIRY + Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day. + + + DESCRIPTION_VERBOSE + Verbose option sets the output detail. On for full file-by-file listing and log file generated. Off for summary details only and no log file generated. Note if enabled size of output files is related to size of backup job and therefore can become quite large! Scheduled jobs will receive an e-mail to admin of job details. + + + DESCRIPTION_BACKUP_DAY + Enter the day you would like this backup to occur. Leave manual for unscheduled manual use. + + + DESCRIPTION_BACKUP_TIME + Enter the time you would like this backup to occur in 24 hr (hh:mm) format. + +
diff --git a/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..4b29dec --- /dev/null +++ b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + Não há trabalhos de backup no sistema. + + + MODIFY + Ver/Modificar + + + CREATE_TITLE + Criar trabalho de backup + + + MODIFY_TITLE + Modificar trabalho de backup + + + RESTORE_TITLE + Restaurar trabalho de backup + + + BACKUP_TITLE + Iniciar trabalho de backup + + + REMOVE_TITLE + Remover trabalho de backup + + + JOBNAME + Nome do trabalho + + + BACKUP + Seleções do Backup + + + EXCLUDE + Excluir arquivos + + + PRUNE + Cortar diretórios + + + TARGET + Destino + + + SLICE + Tamanho da fatia + + + VFSTYPE + Sistema de Arquivos + + + + COMPRESSION + Compressão + + + USERNAME + Nome de usuário + + + EXPIRY + Expiração + + + VERBOSE + Verbose + + + BACKUP_DAY + Dia do Backup + + + BACKUP_TIME + Horário do Backup + + + LOCALDRIVE + Drive local + + + MOUNTED + Montado + + + NETWORKSHARE + Compartilhamento de rede + + + UNMOUNTED + Desmontado + + + DESCRIPTION_RESTORE_DATE + Digite a data do arquivo a partir do qual você deseja restaurar. Formato: [ aaaa.mm.dd ] + + + RESTORE_DATE + Data + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Recuperação de Desastre + + + RESTORE_RESTORETO + Restaurar para + + + DESCRIPTION_JOBNAME + Digite um nome do trabalho de backup que seja único. O nome deve conter apenas letras, números, pontos, hifens e sublinhados. Não pode conter espaços. + + + DESCRIPTION_DESC + Digite uma descrição para este trabalho de backup. + + + DESCRIPTION_DR + Um trabalho de backup de Recuperação de Desastre roda processos do sistema adicionais durante o backup e a restauração. Por favor defina como Desabilitado se estiver fazendo um backup normal. + + + DESCRIPTION_BACKUP + Todas as configurações necessárias para fazer um backup de Recuperação de Desastre estão pré-definidas abaixo. Note que caminhos absolutos são inválidos. Todos caminhos devem ser relativos ao diretório base /. Exemplo: [home] é relativo e está correto, [/home] é absoluto e está incorreto. Se você está fazendo um backup padrão, edite as seleções de backup abaixo como necessário. Uma entrada por linha. Não inclua [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Digite qualquer exclusão de arquivos. Exemplo: [ home/e-smith/files/ibays/xxxx/files/document.doc ]. Uma entrada por linha. Os caracteres * e ? são válidos. + + + DESCRIPTION_PRUNE + Digite qualquer árvore de diretório para cortar e não incluir no backup. Exemplo: [home/e-smith/files/ibays/lixo ]. Apenas uma entrada por linha. Pode-se usar * e ? como wildcards, pois são válidos. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Três sistemas de arquivos são suportados. [ext3] para backup em discos conectados localmente. [smbfs] para backup em estações de trabalho Windows e compartilhamentos de rede do servidor SME. [cifs] para backup em Servidor Windows Microsoft. Note que se usando cifs, a entrada do destino acima deve usar o endereço ip. Exemplo: [//10.1.1.1/compartilhamento]. + + + DESCRIPTION_SLICE + Digite o tamanho das fatias dos volumes do backup. Como exemplo, para criar segmentos de 650MB que caibam em um CD/CDRW você deve digitar [ 650 ]. Isto gerará a criação de arquivos no destino com o seguinte formato: trabalho.yyyy.mm.dd.1.dar , trabalho.yyyy.mm.dd.2.dar, etc. Note que o tamanho máximo dos segmentos é 2.000 MB. O tamanho total do trabalho de backup é apenas limitado pelo espaço disponível no destino. + + + DESCRIPTION_COMPRESSION + Digite o nível de compressão de 0 (nenhuma) até 9 (máxima). Nenhuma compressão melhora dramaticamente a velocidade de backup. + + + DESCRIPTION_U_P + Se fazendo backup para um compartilhamento de rede, entre um nome de usuário e senha válidos naquele destino com acesso completo aos arquivos. Deixe o nome de usuário e senha em branco se estiver fazendo backup num drive conectado localmente. + + + DESCRIPTION_EXPIRY + Digite o tempo de expiração do backup. Isto deixará o backup no destino por N dias. Escolher 0 significa que os backups serão sobrescritos cada dia. + + + DESCRIPTION_VERBOSE + Opções de verbose definem o nível de detalhes na saída. Ligado significa que uma lista completa de arquivos e um arquivo de log serão gerados. Desligado significa apenas um sumário dos detalhes e a não geração de um arquivo de log. Note que se for ligado, o arquivo de saída pode ser bem grande. Trabalhos de backup programados geram um e-mail para o administrador dos detalhes do trabalho de backup. + + + DESCRIPTION_BACKUP_DAY + Digite o dia que você gostaria que este backup inicie. Deixe em manual para uso não programado onde você faz o backup manualmente. + + + DESCRIPTION_BACKUP_TIME + Digite o horário que você gostaria que este backup iniciasse no formato 24 horas (hh:mm) + +
diff --git a/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..48785b4 --- /dev/null +++ b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + Não há trabalhos de backup no sistema. + + + MODIFY + Ver/Modificar + + + CREATE_TITLE + Criar trabalho de backup + + + MODIFY_TITLE + Modificar trabalho de backup + + + RESTORE_TITLE + Restaurar trabalho de backup + + + BACKUP_TITLE + Iniciar trabalho de backup + + + REMOVE_TITLE + Remover trabalho de backup + + + JOBNAME + Nome do trabalho + + + BACKUP + Seleções do Backup + + + EXCLUDE + Excluir arquivos + + + PRUNE + Cortar diretórios + + + TARGET + Destino + + + SLICE + Tamanho da fatia + + + VFSTYPE + Sistema de Arquivos + + + + COMPRESSION + Compressão + + + USERNAME + Nome de usuário + + + EXPIRY + Expiração + + + VERBOSE + Verbose + + + BACKUP_DAY + Dia do Backup + + + BACKUP_TIME + Horário do Backup + + + LOCALDRIVE + Drive local + + + MOUNTED + Montado + + + NETWORKSHARE + Compartilhamento de rede + + + UNMOUNTED + Desmontado + + + DESCRIPTION_RESTORE_DATE + Digite a data do arquivo a partir do qual você deseja restaurar. Formato: [ aaaa.mm.dd ] + + + RESTORE_DATE + Data + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Recuperação de Desastre + + + RESTORE_RESTORETO + Restaurar para + + + DESCRIPTION_JOBNAME + Digite um nome do trabalho de backup que seja único. O nome deve conter apenas letras, números, pontos, hifens e sublinhados. Não pode conter espaços. + + + DESCRIPTION_DESC + Digite uma descrição para este trabalho de backup. + + + DESCRIPTION_DR + Um trabalho de backup de Recuperação de Desastre roda processos do sistema adicionais durante o backup e a restauração. Por favor defina como Desabilitado se estiver fazendo um backup normal. + + + DESCRIPTION_BACKUP + Todas as configurações necessárias para fazer um backup de Recuperação de Desastre estão pré-definidas abaixo. Notue que caminhos absolutos são inválidos. Todos caminhos devem ser relativos ao diretório base /. Exemplo: [home] é relativo e está correto, [/home] é absoluto e está incorreto. Se você está fazendo um backup padrão, edite as seleções de backup abaixo como necessário. Uma entrada por linha. Não inclua [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Digite qualquer exclusão de arquivos. Exemplo: [ home/e-smith/files/ibays/xxxx/files/document.doc ]. Uma entrada por linha. Os caracteres * e ? são válidos. + + + DESCRIPTION_PRUNE + Digite qualquer árvore de diretório para cortar e não incluir no backup. Exemplo: [home/e-smith/files/ibays/lixo ]. Apenas uma entrada por linha. Pode-se usar * e ? como wildcards, pois são válidos. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Três sistemas de arquivos são suportados. [ext3] para backup em discos conectados localmente. [smbfs] para backup em estações de trabalho Windows e compartilhamentos de rede do servidor SME. [cifs] para backup em Servidor Windows Microsoft. Note que se usando cifs, a entrada do destino acima deve usar o endereço ip. Exemplo: [//10.1.1.1/compartilhamento]. + + + DESCRIPTION_SLICE + Digite o tamanho das fatias dos volumes do backup. Como exemplo, para criar segmentos de 650MB que caibam em um CD/CDRW você deve digitar [ 650 ]. Isto gerará a criação de arquivos no destino com o seguinte formato: trabalho.yyyy.mm.dd.1.dar , trabalho.yyyy.mm.dd.2.dar, etc. Note que o tamanho máximo dos segmentos é 2.000 MB. O tamanho total do trabalho de backup é apenas limitado pelo espaço disponível no destino. + + + DESCRIPTION_COMPRESSION + Digite o nível de compressão de 0 (nenhuma) até 9 (máxima). Nenhuma compressão melhora dramaticamente a velocidade de backup. + + + DESCRIPTION_U_P + Se fazendo backup para um compartilhamento de rede, entre um nome de usuário e senha válidos naquele destino com acesso completo aos arquivos. Deixe o nome de usuário e senha em branco se estiver fazendo backup num drive conectado localmente. + + + DESCRIPTION_EXPIRY + Digite o tempo de expiração do backup. Este parâmetro ficará no destino por N dias. Escolher 0 significa que os backups serão sobrescritos cada dia. + + + DESCRIPTION_VERBOSE + Opções de verbose definem o nível de detalhes na saída. Ligado significa que uma lista completa de arquivos e um arquivo de log serão gerados. Desligado significa apenas um sumário dos detalhes e a não geração de um arquivo de log. Note que se for ligado, o arquivo de saída pode ser bem grande. Trabalhos de backup programados geram um e-mail para o administrador dos detalhes do trabalho de backup. + + + DESCRIPTION_BACKUP_DAY + Digite o dia que você gostaria que este backup inicie. Deixe em manual para uso não programado onde você faz o backup manualmente. + + + DESCRIPTION_BACKUP_TIME + Digite o horário que você gostaria que este backup iniciasse no formato 24 horas (hh:mm) + +
diff --git a/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..d312a8e --- /dev/null +++ b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + There are no backup jobs in the system. + + + MODIFY + View/Modify + + + CREATE_TITLE + Create backup job + + + MODIFY_TITLE + Modify backup job + + + RESTORE_TITLE + Restore backup job + + + BACKUP_TITLE + Launch backup job + + + REMOVE_TITLE + Remove backup job + + + JOBNAME + Job name + + + BACKUP + Backup selections + + + EXCLUDE + Exclude files + + + PRUNE + Prune directories + + + TARGET + Target + + + SLICE + Slice size + + + VFSTYPE + File system + + + + COMPRESSION + Compression + + + USERNAME + Utilizator + + + EXPIRY + Expiry + + + VERBOSE + Verbose + + + BACKUP_DAY + Backup day + + + BACKUP_TIME + Backup time + + + LOCALDRIVE + Disc local + + + MOUNTED + Montat + + + NETWORKSHARE + Partajare in rețea + + + UNMOUNTED + Demontat + + + DESCRIPTION_RESTORE_DATE + Introduceți data arhivei pe care doriți să o restaurați. Format [aaaa.ll.zz] + + + RESTORE_DATE + Dată + + + DESCRIPTION_RESTORE_DR + Pentru a face o recuperare completa de dezastru procedați astfel:

Recuperare pentru dezastru [ Activă ] Restaurează [ *.* ] Restaurează către [ / ]

Notă: După terminarea resturării complete după dezastru, va trbui să intrati in panoul de control Reboot sau oprire și să Reconfigurați serverul.

Pentru a face o restaurare selectivă, introduceți o cale de restaurat pe fiece linie. Calea trebuie să fie relativă. Examplu: Pentru a restaura /root/contribs în locația originală veți introduce:

Recuperare de dezastru [ Dezactivă ] Restaurează [ root/contribs ] Restaurează la [ / ]

]]>
+
+ + RESTORE_DR + Restaurare de dezastru + + + RESTORE_RESTORETO + Restaurează către + + + DESCRIPTION_JOBNAME + Introduceți un nume unic pentu arhivare: Numele trebuie să conțină doar litere, numere, paranteze, cratime si sublinieri. Fără spații. + + + DESCRIPTION_DESC + Introduceți o descriere pentru aceasă activitate de arhivare. + + + DESCRIPTION_DR + A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup. + + + DESCRIPTION_BACKUP + All backup selections needed to perform a Disaster Recovery are preset below. Note absolute paths are invalid. All paths must be relative to the base / directory. Example: [home] is relative/correct, [/home] is absolute/incorrect. If you are a performing a standard backup, edit the backup selections as required below. One entry per line. Do not enter [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid. + + + DESCRIPTION_PRUNE + Enter any directory tree to prune and not include in the backup. Example: [ home/e-smith/files/ibays/ibayname ]. One entry per line. Wildcards * and ? valid. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Three file systems are supported. [ext3] for backup to local attached disk. [smbfs] for backup to Windows workstation and SME Server network shares. [cifs] for backup to Microsoft Windows Server. Note if using cifs, target entry above must use IP address. Example: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Enter the backup volume segment slices in megabytes. As an example to create 650MB volume segments for copying to CDR/RW you would enter [ 650 ]. This would create in the target files of the following format: job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etcetera. Note the maximum segment size is 2000MB. Total backup job size is limited only by available target free space. + + + DESCRIPTION_COMPRESSION + Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed. + + + DESCRIPTION_U_P + If backing up to a network share, enter a valid username/password that is a local account on the target with full access rights to the share. Leave the username and password blank if backing up to an attached local drive. + + + DESCRIPTION_EXPIRY + Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day. + + + DESCRIPTION_VERBOSE + Verbose option sets the output detail. On for full file-by-file listing and log file generated. Off for summary details only and no log file generated. Note if enabled size of output files is related to size of backup job and therefore can become quite large! Scheduled jobs will receive an e-mail to admin of job details. + + + DESCRIPTION_BACKUP_DAY + Enter the day you would like this backup to occur. Leave manual for unscheduled manual use. + + + DESCRIPTION_BACKUP_TIME + Enter the time you would like this backup to occur in 24 hr (hh:mm) format. + +
diff --git a/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..c284122 --- /dev/null +++ b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + There are no backup jobs in the system. + + + MODIFY + View/Modify + + + CREATE_TITLE + Create backup job + + + MODIFY_TITLE + Modify backup job + + + RESTORE_TITLE + Restore backup job + + + BACKUP_TITLE + Launch backup job + + + REMOVE_TITLE + Remove backup job + + + JOBNAME + Job name + + + BACKUP + Backup selections + + + EXCLUDE + Exclude files + + + PRUNE + Prune directories + + + TARGET + Target + + + SLICE + Slice size + + + VFSTYPE + File system + + + + COMPRESSION + Compression + + + USERNAME + Имя пользователя + + + EXPIRY + Expiry + + + VERBOSE + Verbose + + + BACKUP_DAY + Backup day + + + BACKUP_TIME + Backup time + + + LOCALDRIVE + Local drive + + + MOUNTED + Mounted + + + NETWORKSHARE + Network share + + + UNMOUNTED + Unmounted + + + DESCRIPTION_RESTORE_DATE + Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ] + + + RESTORE_DATE + Date + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Disaster Recovery + + + RESTORE_RESTORETO + Restore to + + + DESCRIPTION_JOBNAME + Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces. + + + DESCRIPTION_DESC + Enter a description for this backup job. + + + DESCRIPTION_DR + A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup. + + + DESCRIPTION_BACKUP + All backup selections needed to perform a Disaster Recovery are preset below. Note absolute paths are invalid. All paths must be relative to the base / directory. Example: [home] is relative/correct, [/home] is absolute/incorrect. If you are a performing a standard backup, edit the backup selections as required below. One entry per line. Do not enter [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid. + + + DESCRIPTION_PRUNE + Enter any directory tree to prune and not include in the backup. Example: [ home/e-smith/files/ibays/ibayname ]. One entry per line. Wildcards * and ? valid. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Three file systems are supported. [ext3] for backup to local attached disk. [smbfs] for backup to Windows workstation and SME Server network shares. [cifs] for backup to Microsoft Windows Server. Note if using cifs, target entry above must use IP address. Example: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Enter the backup volume segment slices in megabytes. As an example to create 650MB volume segments for copying to CDR/RW you would enter [ 650 ]. This would create in the target files of the following format: job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etcetera. Note the maximum segment size is 2000MB. Total backup job size is limited only by available target free space. + + + DESCRIPTION_COMPRESSION + Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed. + + + DESCRIPTION_U_P + If backing up to a network share, enter a valid username/password that is a local account on the target with full access rights to the share. Leave the username and password blank if backing up to an attached local drive. + + + DESCRIPTION_EXPIRY + Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day. + + + DESCRIPTION_VERBOSE + Verbose option sets the output detail. On for full file-by-file listing and log file generated. Off for summary details only and no log file generated. Note if enabled size of output files is related to size of backup job and therefore can become quite large! Scheduled jobs will receive an e-mail to admin of job details. + + + DESCRIPTION_BACKUP_DAY + Enter the day you would like this backup to occur. Leave manual for unscheduled manual use. + + + DESCRIPTION_BACKUP_TIME + Enter the time you would like this backup to occur in 24 hr (hh:mm) format. + +
diff --git a/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..a64762f --- /dev/null +++ b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + There are no backup jobs in the system. + + + MODIFY + View/Modify + + + CREATE_TITLE + Create backup job + + + MODIFY_TITLE + Modify backup job + + + RESTORE_TITLE + Restore backup job + + + BACKUP_TITLE + Launch backup job + + + REMOVE_TITLE + Remove backup job + + + JOBNAME + Job name + + + BACKUP + Backup selections + + + EXCLUDE + Exclude files + + + PRUNE + Prune directories + + + TARGET + Target + + + SLICE + Slice size + + + VFSTYPE + File system + + + + COMPRESSION + Compression + + + USERNAME + Uporabniško ime + + + EXPIRY + Expiry + + + VERBOSE + Verbose + + + BACKUP_DAY + Backup day + + + BACKUP_TIME + Backup time + + + LOCALDRIVE + Local drive + + + MOUNTED + Mounted + + + NETWORKSHARE + Network share + + + UNMOUNTED + Unmounted + + + DESCRIPTION_RESTORE_DATE + Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ] + + + RESTORE_DATE + Date + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Disaster Recovery + + + RESTORE_RESTORETO + Restore to + + + DESCRIPTION_JOBNAME + Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces. + + + DESCRIPTION_DESC + Enter a description for this backup job. + + + DESCRIPTION_DR + A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup. + + + DESCRIPTION_BACKUP + All backup selections needed to perform a Disaster Recovery are preset below. Note absolute paths are invalid. All paths must be relative to the base / directory. Example: [home] is relative/correct, [/home] is absolute/incorrect. If you are a performing a standard backup, edit the backup selections as required below. One entry per line. Do not enter [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid. + + + DESCRIPTION_PRUNE + Enter any directory tree to prune and not include in the backup. Example: [ home/e-smith/files/ibays/ibayname ]. One entry per line. Wildcards * and ? valid. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Three file systems are supported. [ext3] for backup to local attached disk. [smbfs] for backup to Windows workstation and SME Server network shares. [cifs] for backup to Microsoft Windows Server. Note if using cifs, target entry above must use IP address. Example: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Enter the backup volume segment slices in megabytes. As an example to create 650MB volume segments for copying to CDR/RW you would enter [ 650 ]. This would create in the target files of the following format: job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etcetera. Note the maximum segment size is 2000MB. Total backup job size is limited only by available target free space. + + + DESCRIPTION_COMPRESSION + Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed. + + + DESCRIPTION_U_P + If backing up to a network share, enter a valid username/password that is a local account on the target with full access rights to the share. Leave the username and password blank if backing up to an attached local drive. + + + DESCRIPTION_EXPIRY + Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day. + + + DESCRIPTION_VERBOSE + Verbose option sets the output detail. On for full file-by-file listing and log file generated. Off for summary details only and no log file generated. Note if enabled size of output files is related to size of backup job and therefore can become quite large! Scheduled jobs will receive an e-mail to admin of job details. + + + DESCRIPTION_BACKUP_DAY + Enter the day you would like this backup to occur. Leave manual for unscheduled manual use. + + + DESCRIPTION_BACKUP_TIME + Enter the time you would like this backup to occur in 24 hr (hh:mm) format. + +
diff --git a/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..065c762 --- /dev/null +++ b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + Det finns inga backuparbeten på systemet. + + + MODIFY + Visa/Ändra + + + CREATE_TITLE + Skapa backup-jobb + + + MODIFY_TITLE + Ändra backup-jobb + + + RESTORE_TITLE + Återställ backup-jobb + + + BACKUP_TITLE + Starta backup-jobb + + + REMOVE_TITLE + Återställ backup-jobb + + + JOBNAME + Jobbnamn + + + BACKUP + Valda backup-jobb + + + EXCLUDE + Exkludera filer + + + PRUNE + Beskär mappar + + + TARGET + Mål + + + SLICE + Storlek på delar + + + VFSTYPE + Filsystem + + + + COMPRESSION + Kompression + + + USERNAME + Användarnamn + + + EXPIRY + Utgår + + + VERBOSE + Detaljrik + + + BACKUP_DAY + Backupdag + + + BACKUP_TIME + Backuptid + + + LOCALDRIVE + Lokal enhet + + + MOUNTED + Monterad + + + NETWORKSHARE + Nätverksenhet + + + UNMOUNTED + Avmonterad + + + DESCRIPTION_RESTORE_DATE + Ange datumet på det arkiv du önskar återställa från. Format: [ yyyy.mm.dd ] + + + RESTORE_DATE + Datum + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Katastrofåterställning + + + RESTORE_RESTORETO + Återställ till + + + DESCRIPTION_JOBNAME + Ange ett unikt arbetsnamn. Namnet skall endast innehålla bokstäver, siffror, punkt, bindestreck eller understrykning. Inga mellanslag. + + + DESCRIPTION_DESC + Ange en beskrivning över detta backuparbete. + + + DESCRIPTION_DR + Ett katastrofåterställningsarbete kör ytterligare systemprocesser under backup och återställning. Ange avaktiverad om du genomför en standardbackup. + + + DESCRIPTION_BACKUP + Alla val för att genomföra en katastrofbackup finns nedan. Observera absoluta sökvägar är ogiltiga. Alla sökvägar måste vara relativa basen / mappen. Exempel: [home] är relativt / dvs korrekt. [/home] är absolut / dvs ogiltigt. Om du genomför en standardbackup, ändra de backupval som krävs nedanför. Ett värde per rad. Ange inte [ /,/blah,proc,temp ]. + + + DESCRIPTION_EXCLUDE + Ange filer som skall undantas. Exempel: [home/e-smith/files/ibays/ibayname/document.doc ]. Ett värde per rad. Jokrar * och ? är giltiga. + + + DESCRIPTION_PRUNE + Ange mappar om inte skall inkluderas i backupen. Exempel: [ home/e-smith/files/ibays/ibayname ]. Ett värde per rad. Jokrar * och ? är giltiga. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Tre filsystem stöds. [ext3] för backup till lokalt ansluten disk. [smbfs] för backup till en windows klient och delade SME nätverksenheter. [cifs] för backup till Microsoft Windows Server. OBS. vid användande av cifs, måste målets IP-adress användas. Exempel: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Ange backup volymens segmentsdelar i megabyte. Exempelvis: för att skapa 650MB volymsegment för kopiering till CDR/RW bör du ange [ 650 ]. Detta kommer att skapa målfiler i följande format job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, och så vidare. Observera att det maximala segmentstorleken är 2000MB. Det totala arbetsstorleken begränsas endast av tillgängligt utrymme på målenheten. + + + DESCRIPTION_COMPRESSION + Ange kompressionsnivån från 0 (ingen) till 9 (maximal). Ingen kompression ökar dramatiskt backuphastigheten. + + + DESCRIPTION_U_P + Om backup sker till en delad nätverksenhet, ange ett giltigt användarnamn/lösenord som är ett lokalt användarkonto på målet med fullständiga rättigheter på enheten. Lämna användarnamnet och lösenordet tomt om du gör en backup till en lokalt ansluten enhet. + + + DESCRIPTION_EXPIRY + Ange tiden då giltighetstiden för backupen skall utgå. Detta innebär att backuper kommer att sparas i n dagar. Välj 0 om backupen skall skrivas över varje dag. + + + DESCRIPTION_VERBOSE + Den utförliga valmöjligheten anger detaljnivån. På ger fullständig fillista och generering av loggfil. Av ger endast sammanfattad information och ingen loggfil. Observera: Om påslagen kommer storleken på de genererade filerna att vara beroende på backupjobbets storlek och kan bli ganska stora! Scemalagda jobb kommer att skicka ett e-postmeddelande till administratören med jobbdetaljerna. + + + DESCRIPTION_BACKUP_DAY + Ange dagen då du önskar att denn backup skall göras. Ange manuell för ej schemalagd manuellt användande. + + + DESCRIPTION_BACKUP_TIME + Ange tidpunkten då du önskar att backupen görs i 24-timmars format (hh:mm). + +
diff --git a/root/etc/e-smith/locale/th/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..e2134fb --- /dev/null +++ b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + There are no backup jobs in the system. + + + MODIFY + View/Modify + + + CREATE_TITLE + Create backup job + + + MODIFY_TITLE + Modify backup job + + + RESTORE_TITLE + Restore backup job + + + BACKUP_TITLE + Launch backup job + + + REMOVE_TITLE + Remove backup job + + + JOBNAME + Job name + + + BACKUP + Backup selections + + + EXCLUDE + Exclude files + + + PRUNE + Prune directories + + + TARGET + Target + + + SLICE + Slice size + + + VFSTYPE + File system + + + + COMPRESSION + Compression + + + USERNAME + ชื่อผู้ใช้ + + + EXPIRY + Expiry + + + VERBOSE + Verbose + + + BACKUP_DAY + Backup day + + + BACKUP_TIME + Backup time + + + LOCALDRIVE + Local drive + + + MOUNTED + Mounted + + + NETWORKSHARE + Network share + + + UNMOUNTED + Unmounted + + + DESCRIPTION_RESTORE_DATE + Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ] + + + RESTORE_DATE + Date + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Disaster Recovery + + + RESTORE_RESTORETO + Restore to + + + DESCRIPTION_JOBNAME + Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces. + + + DESCRIPTION_DESC + Enter a description for this backup job. + + + DESCRIPTION_DR + A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup. + + + DESCRIPTION_BACKUP + All backup selections needed to perform a Disaster Recovery are preset below. Note absolute paths are invalid. All paths must be relative to the base / directory. Example: [home] is relative/correct, [/home] is absolute/incorrect. If you are a performing a standard backup, edit the backup selections as required below. One entry per line. Do not enter [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid. + + + DESCRIPTION_PRUNE + Enter any directory tree to prune and not include in the backup. Example: [ home/e-smith/files/ibays/ibayname ]. One entry per line. Wildcards * and ? valid. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Three file systems are supported. [ext3] for backup to local attached disk. [smbfs] for backup to Windows workstation and SME Server network shares. [cifs] for backup to Microsoft Windows Server. Note if using cifs, target entry above must use IP address. Example: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Enter the backup volume segment slices in megabytes. As an example to create 650MB volume segments for copying to CDR/RW you would enter [ 650 ]. This would create in the target files of the following format: job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etcetera. Note the maximum segment size is 2000MB. Total backup job size is limited only by available target free space. + + + DESCRIPTION_COMPRESSION + Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed. + + + DESCRIPTION_U_P + If backing up to a network share, enter a valid username/password that is a local account on the target with full access rights to the share. Leave the username and password blank if backing up to an attached local drive. + + + DESCRIPTION_EXPIRY + Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day. + + + DESCRIPTION_VERBOSE + Verbose option sets the output detail. On for full file-by-file listing and log file generated. Off for summary details only and no log file generated. Note if enabled size of output files is related to size of backup job and therefore can become quite large! Scheduled jobs will receive an e-mail to admin of job details. + + + DESCRIPTION_BACKUP_DAY + Enter the day you would like this backup to occur. Leave manual for unscheduled manual use. + + + DESCRIPTION_BACKUP_TIME + Enter the time you would like this backup to occur in 24 hr (hh:mm) format. + +
diff --git a/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..45103d0 --- /dev/null +++ b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + Disk ARchive + + + FORM_DESCRIPTION + Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.

Create backup job

]]>
+
+ + NO_BACKUP_JOBS + Sistemde yedekeleme işlemleri bulunmuyor. + + + MODIFY + Gör/Değiştir + + + CREATE_TITLE + Create backup job + + + MODIFY_TITLE + Modify backup job + + + RESTORE_TITLE + Restore backup job + + + BACKUP_TITLE + Launch backup job + + + REMOVE_TITLE + Remove backup job + + + JOBNAME + Job name + + + BACKUP + Backup selections + + + EXCLUDE + Exclude files + + + PRUNE + Prune directories + + + TARGET + Target + + + SLICE + Slice size + + + VFSTYPE + File system + + + + COMPRESSION + Compression + + + USERNAME + Kullanıcı adı + + + EXPIRY + Expiry + + + VERBOSE + Verbose + + + BACKUP_DAY + Backup day + + + BACKUP_TIME + Backup time + + + LOCALDRIVE + Yerel sürücü + + + MOUNTED + Bağlı + + + NETWORKSHARE + Ağ paylaşımı + + + UNMOUNTED + Bağlı değil + + + DESCRIPTION_RESTORE_DATE + Geri yüklemek istediğiniz arşiv tarihini girini. Formatı: [ yyyy.aa.gg ] + + + RESTORE_DATE + Tarih + + + DESCRIPTION_RESTORE_DR + To perform a full disaster recovery restore set the following:

Disaster Recovery [ Enabled ] Restore [ *.* ] Restore to [ / ]

Note: After completion of a full disaster recovery restore, you will need to enter the server-manager Reboot or shutdown panel and Reconfigure your server.

To perform a selective restore, enter one restore path per line. Paths must be relative. Example: To restore /root/contribs to the original location you would therefore enter:

Disaster Recovery [ Disabled ] Restore [ root/contribs ] Restore to [ / ]

]]>
+
+ + RESTORE_DR + Disaster Recovery + + + RESTORE_RESTORETO + Geri yükleme + + + DESCRIPTION_JOBNAME + Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces. + + + DESCRIPTION_DESC + Bu yedekleme için bir açıklama girin. + + + DESCRIPTION_DR + A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup. + + + DESCRIPTION_BACKUP + All backup selections needed to perform a Disaster Recovery are preset below. Note absolute paths are invalid. All paths must be relative to the base / directory. Example: [home] is relative/correct, [/home] is absolute/incorrect. If you are a performing a standard backup, edit the backup selections as required below. One entry per line. Do not enter [ /,/blah,proc,tmp ]. + + + DESCRIPTION_EXCLUDE + Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid. + + + DESCRIPTION_PRUNE + Enter any directory tree to prune and not include in the backup. Example: [ home/e-smith/files/ibays/ibayname ]. One entry per line. Wildcards * and ? valid. + + + DESCRIPTION_TARGET + Valid targets are an attached local drive or network share.

If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank.

If backing up to a network share, enter the target in UNC format. Example: [//computername/sharename]. In addition you must enter a valid username/password that is a local account on the target with full access rights to the share.

]]>
+
+ + DESCRIPTION_VFSTYPE + Three file systems are supported. [ext3] for backup to local attached disk. [smbfs] for backup to Windows workstation and SME Server network shares. [cifs] for backup to Microsoft Windows Server. Note if using cifs, target entry above must use IP address. Example: [//10.1.1.1/sharename]. + + + DESCRIPTION_SLICE + Enter the backup volume segment slices in megabytes. As an example to create 650MB volume segments for copying to CDR/RW you would enter [ 650 ]. This would create in the target files of the following format: job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, etcetera. Note the maximum segment size is 2000MB. Total backup job size is limited only by available target free space. + + + DESCRIPTION_COMPRESSION + Sıkıştırma düzeyi girin 0 (yok) 9 (maksimum). Sıkıştırma uygulanmadığı zaman yedekleme daha hızlı çalışır. + + + DESCRIPTION_U_P + If backing up to a network share, enter a valid username/password that is a local account on the target with full access rights to the share. Leave the username and password blank if backing up to an attached local drive. + + + DESCRIPTION_EXPIRY + Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day. + + + DESCRIPTION_VERBOSE + Verbose option sets the output detail. On for full file-by-file listing and log file generated. Off for summary details only and no log file generated. Note if enabled size of output files is related to size of backup job and therefore can become quite large! Scheduled jobs will receive an e-mail to admin of job details. + + + DESCRIPTION_BACKUP_DAY + Enter the day you would like this backup to occur. Leave manual for unscheduled manual use. + + + DESCRIPTION_BACKUP_TIME + Enter the time you would like this backup to occur in 24 hr (hh:mm) format. + +
diff --git a/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..f990ae5 --- /dev/null +++ b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + 磁盘归档 + + + FORM_DESCRIPTION + 使用此面板来定义、预设和执行服务器的备份与还原操作,不论使用本地磁盘还是网络共享。

创建备份任务

]]>
+
+ + NO_BACKUP_JOBS + 当前系统没有备份任务。 + + + MODIFY + 查看/修改 + + + CREATE_TITLE + 创建备份任务 + + + MODIFY_TITLE + 修改备份任务 + + + RESTORE_TITLE + 还原备份任务 + + + BACKUP_TITLE + 执行备份任务 + + + REMOVE_TITLE + 移除备份任务 + + + JOBNAME + 任务名 + + + BACKUP + 备份位置 + + + EXCLUDE + 不包括的文件 + + + PRUNE + 修剪目录 + + + TARGET + 目标 + + + SLICE + 块大小 + + + VFSTYPE + 文件系统 + + + + COMPRESSION + 压缩 + + + USERNAME + 用户名 + + + EXPIRY + 到期 + + + VERBOSE + 详情 + + + BACKUP_DAY + 备份日期 + + + BACKUP_TIME + 备份时间 + + + LOCALDRIVE + 本地驱动器 + + + MOUNTED + 已挂载 + + + NETWORKSHARE + 网络共享 + + + UNMOUNTED + 未挂载的 + + + DESCRIPTION_RESTORE_DATE + 输入您要还原的档案日期。格式[yyyy.mm.dd] + + + RESTORE_DATE + 日期 + + + DESCRIPTION_RESTORE_DR + 要执行完整的灾难还原操作设置如下:

灾难恢复 [ 启用 ] 恢复 [ *.* ] 恢复到 [ / ]

注意:当完成完整的灾难恢复后,您需要进入服务器管理界面重新启动或者关机 控制面板和 重新配置 您的服务器.

要执行选择性的恢复,每行输入一个恢复路径。路径必须为相对路径. 比如: 要恢复/root/contribs 到初始化状态,因此您要输入:

灾难恢复 [ 禁用 ] 恢复 [ root/contribs ] 恢复到o [ / ]

]]>
+
+ + RESTORE_DR + 灾难恢复 + + + RESTORE_RESTORETO + 恢复到 + + + DESCRIPTION_JOBNAME + 输入一个唯一的备份作业名称。此名称只能包括字母,数字,周期,连接符和下划线 + + + DESCRIPTION_DESC + 为此备份作业输入描述。 + + + DESCRIPTION_DR + 灾难恢复备份作业执行和恢复是要运行额外的系统进程。如果执行标准的备份,请设置为禁用。 + + + DESCRIPTION_BACKUP + 用于灾难恢复的所有备份选项罗列如下。注意:绝对路径不可用。所有路径必须在跟目录的第一层。例如:[home] 是相对路径,即正确的,[/home] 是绝对路径,即错误的。如果您正在执行标准备份,按照如下要求编辑备份栏。每行一个路径,注意:别输入[ /,/blah,proc,tmp ]。 + + + DESCRIPTION_EXCLUDE + 请输入文件路径。例如: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. 每行一个输入。通配符 * 和 ? 都可用。 + + + DESCRIPTION_PRUNE + 请输入目录树,不包含备份。例如: [ home/e-smith/files/ibays/ibayname ]。每行一个输入。通配符 * 和 ? 都可用。 + + + DESCRIPTION_TARGET + 有效的目标是一个本地磁盘或网络共享。

如果是备份到本地磁盘,请输入磁盘的挂载点。例如: [/media/usbdisk]。 用户名和密码请留空。

如果是备份到网络共享,也请输入路径。例如: [//computername/sharename]。另外,您需要输入有效的用户名和密码,以保证使用目标机器的本地用户,并确保在网络共享中有完整的权限。

]]>
+
+ + DESCRIPTION_VFSTYPE + 支持三种文件系统。[ext3]用于备份到本地磁盘。[smbfs]用于备份到Windows工作站和SME Server的网络共享。[cifs]用于备份到Windows服务器。注意:如果使用cifs,上面的路径必须使用IP地址。例如: [//10.1.1.1/sharename]。 + + + DESCRIPTION_SLICE + 请输入备份卷的大小(兆)。比如创建一个650M光盘大小的卷则输入[ 650 ] 。目标任务会创建以下格式的文件: job.yyyy.mm.dd.1.dar、job.yyyy.mm.dd.2.dar,等等。注意,卷大小上限为 2000MB,备份任务大小则受限于目标磁盘上的空余空间。 + + + DESCRIPTION_COMPRESSION + 请输入压缩比率,0不压缩,9最大压缩。若不压缩,可显著提高备份速度。 + + + DESCRIPTION_U_P + 如果备份到网络共享,请输入有效的用户名和密码,以保证使用目标机器的本地用户,并确保在网络共享中有完整权限。如果备份到本地磁盘,用户名和密码请留空。 + + + DESCRIPTION_EXPIRY + 请输入备份过期时间。这将在设备上保存备份 n 天。选择 0 意味着所有的旧备份每天都会被新的备份覆盖。 + + + DESCRIPTION_VERBOSE + 此处设置输出详情。On 表示逐个罗列每个文件,并创建日志文件。Off 表示仅显示概要且不创建日志。注意,如果启用的输出文件类型与备份任务有关,那么它可能非常大。定制的任务将发送一封任务详情的邮件给管理员。 + + + DESCRIPTION_BACKUP_DAY + 请输入备份进行的日期。不定时手动备份请选择手动。 + + + DESCRIPTION_BACKUP_TIME + 请输入备份进行的时间点(24小时 hh:mm)。 + +
diff --git a/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/dar2 new file mode 100644 index 0000000..95d93d2 --- /dev/null +++ b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/dar2 @@ -0,0 +1,187 @@ + + + FORM_TITLE + 磁碟存檔 + + + FORM_DESCRIPTION + 使用此控制台來定義、排程與執行伺服器,欲備份到與來自於分享的網路,或是附掛的本機磁碟。

建立備份作業

]]>
+
+ + NO_BACKUP_JOBS + 目前系統無備份作業。 + + + MODIFY + 檢視/修正 + + + CREATE_TITLE + 建立備份工作 + + + MODIFY_TITLE + 修正備份工作 + + + RESTORE_TITLE + 恢復備份工作 + + + BACKUP_TITLE + 執行備份工作 + + + REMOVE_TITLE + 移除備份工作 + + + JOBNAME + 工作名稱 + + + BACKUP + 備份選擇 + + + EXCLUDE + 排除的檔案 + + + PRUNE + 縮減目錄 + + + TARGET + 目標 + + + SLICE + 區塊大小 + + + VFSTYPE + 檔案系統 + + + + COMPRESSION + 壓縮 + + + USERNAME + 使用者名稱 + + + EXPIRY + 到期 + + + VERBOSE + 詳情 + + + BACKUP_DAY + 備份日期 + + + BACKUP_TIME + 備份時間 + + + LOCALDRIVE + 本地裝置 + + + MOUNTED + 已掛載 + + + NETWORKSHARE + 網路共享 + + + UNMOUNTED + 未掛載 + + + DESCRIPTION_RESTORE_DATE + 輸入您要還原的檔案日期。格式[yyyy.mm.dd] + + + RESTORE_DATE + 日期 + + + DESCRIPTION_RESTORE_DR + 欲執行完整的災難復原恢復設定如下:

災難復原 [ 啟用 ] 恢復 [ *.* ] 恢復到 [ / ]

注意:完成完整的災難復原恢復後,您需進入伺服器管理重啟或關機控制台並重置您的伺服器。

要執行選擇性恢復,逐行輸入恢復路徑。路徑須為相對路徑。例如:欲恢復 /root/contribs 到原始位置,您將須輸入:

災難復原 [ 禁用 ] 恢復 [ root/contribs ] 恢復到 [ / ]

]]>
+
+ + RESTORE_DR + 災難復原 + + + RESTORE_RESTORETO + 還原至 + + + DESCRIPTION_JOBNAME + 輸入單一備份作業名稱。此名稱只能包括字母、數字、句號、連接號和底線。不可空白。 + + + DESCRIPTION_DESC + 為此備份作業輸入描述。 + + + DESCRIPTION_DR + 災難復原備份作業運作於備份與恢復事件的額外系統程序。若執行標準備份請設定為禁用。 + + + DESCRIPTION_BACKUP + 執行災難復原的所有備份選項預設如下。注意:不可使用絕對路徑。所有路徑必須相對於根目錄。例如:[home] 是相對路徑/正確;[/home] 是絕對路徑/錯誤。倘若您正執行標準備份,請依下列要求編輯備份選項。逐行逐條。勿輸入 [ /,/blah,proc,tmp ]。 + + + DESCRIPTION_EXCLUDE + 請輸入任一排除檔案。例如:[ home/e-smith/files/ibays/ibayname/files/document.doc ]。逐行逐條。可允許泛用字元"*"與"?"。 + + + DESCRIPTION_PRUNE + 請輸入任一精簡的樹狀目錄並且不含備份。例如:[ home/e-smith/files/ibays/ibayname ]。逐行逐條。可允許泛用字元"*"與"?"。 + + + DESCRIPTION_TARGET + 有效的目標是一個附加的本機磁碟或共享網路。

倘若備份到附加的本機磁碟,請輸入磁碟的掛載點。例如: [/media/usbdisk]。使用者名稱和密碼請留白。

倘若備份到共享網路,請輸入UNC格式路徑。例如:[//computername/sharename]。此外,您必須輸入目標機器上,具有完整存取權限之有效使用者名稱/密碼的本機帳號。

]]>
+
+ + DESCRIPTION_VFSTYPE + 支持三種檔案系統。[ext3]用於備份到本機附加的磁碟。[smbfs]用於備份到Windows工作站和SME Server的分享網路。[cifs]用於備份到微軟的Windows伺服器。注意:倘若使用cifs,上面的目標路徑必須使用IP位址。例如: [//10.1.1.1/sharename]。 + + + DESCRIPTION_SLICE + 請輸入以百萬位元計的備份切割分卷。例如為了複製CDR/RW而建立650M的切割分卷,應該輸入 [ 650 ]。這將目標檔案以下列格式建立:job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, 等等。注意,最大區塊大小為2000MB。所有備份作業的大小,僅限目標磁碟上的剩餘空間。 + + + DESCRIPTION_COMPRESSION + 請輸入從0(無)到9(最大)的壓縮等級。無壓縮可顯著性地提高備份速度。 + + + DESCRIPTION_U_P + 倘若備份到分享網路,輸入目標機器上,具有完整存取權限之有效使用者名稱/密碼的本機帳號。倘若備份到附加的本機磁碟,使用者名稱和密碼請留白。 + + + DESCRIPTION_EXPIRY + 請輸入備份有效時間。這將在目標上保留備份 n 天。選擇 0 代表備份每日覆寫。 + + + DESCRIPTION_VERBOSE + 詳細選項設定輸出細節。On代表檔案依次完全列出,並且生成log檔。Off僅摘要細節,並且不生成log檔。倘若允許輸出檔案的大小與備份作業的大小有關,極有可能相當大。排程作業將發送作業詳情的電郵給管理者。 + + + DESCRIPTION_BACKUP_DAY + 請輸入欲備份的開始日期。不定期手動使用請保留手動。 + + + DESCRIPTION_BACKUP_TIME + 請以24小時的格式(hh:mm)輸入欲備份的開始時間。 + +
diff --git a/root/etc/e-smith/templates/etc/crontab/dar2-backup b/root/etc/e-smith/templates/etc/crontab/dar2-backup new file mode 100644 index 0000000..abe3517 --- /dev/null +++ b/root/etc/e-smith/templates/etc/crontab/dar2-backup @@ -0,0 +1,35 @@ +{ +# -------------------------------------------------------------------- +# This script builds the /etc/crontab entries for each dar2 job +# +# Copyright (C) 2003-2006 Darrell May +# -------------------------------------------------------------------- + +# Retrieve dar2 db entries +my $db = esmith::ConfigDB->open_ro("dar2"); + +# create /etc/crontab line entry for each dar2 job +my @dar2 = $db->get_all_by_prop(type => 'dar2'); + +$OUT .= "\n"; +$OUT .= "# dar2\n"; + +foreach my $dar2 (@dar2) + { + my $BackupJob = $dar2->key; + my $rec = $db->get("$BackupJob"); + my $backupDay = $rec->prop("backupDay"); + my $backupTime = $rec->prop("backupTime"); + my ($backupHour, $backupMin) = split (":", $backupTime, -1); + + # remove leading zeros from minutes + $backupMin =~ s/00/0/; + + if ("$backupDay" ne "manual") + { + $OUT .= + "$backupMin $backupHour * * $backupDay root" + . " /etc/e-smith/events/actions/dar2-backup $BackupJob\n"; + } + } +} diff --git a/root/etc/e-smith/templates/etc/dar2/dar2-backup/00setup b/root/etc/e-smith/templates/etc/dar2/dar2-backup/00setup new file mode 100644 index 0000000..c5a420f --- /dev/null +++ b/root/etc/e-smith/templates/etc/dar2/dar2-backup/00setup @@ -0,0 +1,13 @@ +{ + $Job = $ARGV [1]; + die "job name missing" unless defined ($Job); + + use esmith::ConfigDB; + $db = esmith::ConfigDB->open_ro("dar2") or die "Couldn't open dar2"; + + $rec = $db->get("$Job") or die "No backup job $Job in dar2"; + + %props = $rec->props; + + $OUT = ''; +} \ No newline at end of file diff --git a/root/etc/e-smith/templates/etc/dar2/dar2-backup/10Backup b/root/etc/e-smith/templates/etc/dar2/dar2-backup/10Backup new file mode 100644 index 0000000..ce462a4 --- /dev/null +++ b/root/etc/e-smith/templates/etc/dar2/dar2-backup/10Backup @@ -0,0 +1,9 @@ +{ + $Backup = $props{"Backup"} || ""; + @Backup = split(/,/, "$Backup"); + + foreach $Backup (@Backup) + { + $OUT .= "--go-into \"$Backup\"\n"; + } +} \ No newline at end of file diff --git a/root/etc/e-smith/templates/etc/dar2/dar2-backup/10Compression b/root/etc/e-smith/templates/etc/dar2/dar2-backup/10Compression new file mode 100644 index 0000000..629e01c --- /dev/null +++ b/root/etc/e-smith/templates/etc/dar2/dar2-backup/10Compression @@ -0,0 +1,35 @@ +{ + my $Compression = $props{"Compression"} || "0"; + + if ("$Compression" != '0') + { + $OUT .= "--bzip2=$Compression\n"; + $OUT .= <open_ro("dar2") or die "Couldn't open dar2"; + + $brec = $db->get("$Job") or die "No bakup job $Job in dar2"; + %bprops = $brec->props; + + $rrec = $db->get("Restore.$Job") or die "No restore job $Job in dar2"; + %rprops = $rrec->props; + + $OUT = ''; +} \ No newline at end of file diff --git a/root/etc/e-smith/templates/etc/dar2/dar2-restore/10Default b/root/etc/e-smith/templates/etc/dar2/dar2-restore/10Default new file mode 100644 index 0000000..2a74bb1 --- /dev/null +++ b/root/etc/e-smith/templates/etc/dar2/dar2-restore/10Default @@ -0,0 +1,3 @@ +--noconf +--no-warn +--verbose diff --git a/root/etc/e-smith/templates/etc/dar2/dar2-restore/10Restore b/root/etc/e-smith/templates/etc/dar2/dar2-restore/10Restore new file mode 100644 index 0000000..c2a2c52 --- /dev/null +++ b/root/etc/e-smith/templates/etc/dar2/dar2-restore/10Restore @@ -0,0 +1,22 @@ +{ + $Restore = $rprops{"Restore"} || ""; + @Restore = split(/,/, "$Restore"); + + $Backup = $bprops{"Backup"} || ""; + @Backup = split(/,/, "$Backup"); + + if ("$Restore" eq "*.*") + { + foreach $Backup (@Backup) + { + $OUT .= "--go-into \"$Backup\"\n"; + } + } + else + { + foreach $Restore (@Restore) + { + $OUT .= "--go-into \"$Restore\"\n"; + } + } +} \ No newline at end of file diff --git a/root/etc/e-smith/templates/etc/dar2/dar2-restore/10RestoreTo b/root/etc/e-smith/templates/etc/dar2/dar2-restore/10RestoreTo new file mode 100644 index 0000000..6f059f5 --- /dev/null +++ b/root/etc/e-smith/templates/etc/dar2/dar2-restore/10RestoreTo @@ -0,0 +1,5 @@ +{ + $RestoreTo = $rprops{"RestoreTo"} || "error"; + + $OUT .= "--fs-root \"$RestoreTo\"\n"; +} \ No newline at end of file diff --git a/root/etc/e-smith/web/functions/dar2 b/root/etc/e-smith/web/functions/dar2 new file mode 100755 index 0000000..16b98e0 --- /dev/null +++ b/root/etc/e-smith/web/functions/dar2 @@ -0,0 +1,438 @@ +#!/usr/bin/perl -wT +# vim: ft=xml: + +#---------------------------------------------------------------------- +# heading : Backup +# description : Disk ARchive +# navigation : 1000 1000 +#---------------------------------------------------------------------- + +use strict; +use warnings; + +use esmith::FormMagick::Panel::dar2; + +my $f = esmith::FormMagick::Panel::dar2->new(); +$f->display(); + +__DATA__ +
+ + + + FORM_DESCRIPTION + + + + + + + CREATE_TITLE + + + + DESCRIPTION_JOBNAME + + + + + DESCRIPTION_DESC + + + + + DESCRIPTION_BACKUP + + + + + DESCRIPTION_PRUNE + + + + + DESCRIPTION_EXCLUDE + + + + + DESCRIPTION_TARGET + + + + + + + + + + + + + DESCRIPTION_VFSTYPE + + + + + DESCRIPTION_SLICE + + + + + DESCRIPTION_COMPRESSION + + + + + DESCRIPTION_EXPIRY + + + + + DESCRIPTION_VERBOSE + + + + + DESCRIPTION_BACKUP_DAY + + + + + DESCRIPTION_BACKUP_TIME + + + + + + + + MODIFY_TITLE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RESTORE_TITLE + + + + + + + + DESCRIPTION_RESTORE_DATE + + + + + DESCRIPTION_RESTORE_DR + + + + + + + + + + + + + + + + BACKUP_TITLE + + + + + + + + + + + + + + + + + + + REMOVE_TITLE + + + + + + + + + + + + + + + + +
diff --git a/root/mnt/dar2/.gitignore b/root/mnt/dar2/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/root/opt/dar2-mc/README b/root/opt/dar2-mc/README new file mode 100644 index 0000000..43bc3bf --- /dev/null +++ b/root/opt/dar2-mc/README @@ -0,0 +1,8 @@ +What's this? + +This is a package to add support for dar archives to the Midnight +Commander. + +To add dar archive handling to Midnight Commander simply execute the install.sh script: + +# ./install.sh diff --git a/root/opt/dar2-mc/extfs.ini b/root/opt/dar2-mc/extfs.ini new file mode 100644 index 0000000..a1630bd --- /dev/null +++ b/root/opt/dar2-mc/extfs.ini @@ -0,0 +1,58 @@ +# Each external VFS type must be registered here if you want to use it +# Trailing colon means that the filesystem is not tied to a certain file + +# Popular pc archivers +uzip +uzoo +ulha +urar +uha +# For arj usage you need a special patch to unarj (see unarj.diff) +uarj + +# ar is used for static libraries +uar + +# Packages from popular Linux distributions +rpm +deb + +# a: - mtools filesystem +a: + +# For browsing lslR listings (found on many ftp sites) +lslR + +# Hewlett Packard calculator +hp48: + +# Break patches into chunks +patchfs + +# Represents a mailbox as a directory +mailfs + +# List all installed RPM packages on the system +rpms: +trpm + +# dpkg frontend +dpkg: +debd + +# apt frontend +apt: +deba + +# Simple filesystem for audio cdroms. Use /dev/cdrom#audio (or /#audio). +audio + +# Package of Bad Penguin (an Italian GNU/Linux distribution) +bpp + +# ISO image +iso9660 + +# Disk archivers +udar + diff --git a/root/opt/dar2-mc/install.sh b/root/opt/dar2-mc/install.sh new file mode 100755 index 0000000..a370689 --- /dev/null +++ b/root/opt/dar2-mc/install.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +cp -af udar /usr/share/mc/extfs +cp -af extfs.ini /usr/share/mc/extfs +cp -af mc.ext /usr/share/mc diff --git a/root/opt/dar2-mc/mc.ext b/root/opt/dar2-mc/mc.ext new file mode 100644 index 0000000..89220fc --- /dev/null +++ b/root/opt/dar2-mc/mc.ext @@ -0,0 +1,559 @@ +# Midnight Commander 3.0 extension file +# Warning: Structure of this file has changed completely with version 3.0 +# +# All lines starting with # or empty lines are thrown away. +# Lines starting in the first column should have following format: +# +# keyword/descNL, i.e. everything after keyword/ until new line is desc +# +# keyword can be: +# +# shell (desc is, when starting with a dot, any extension (no wildcars), +# i.e. matches all the files *desc . Example: .tar matches *.tar; +# if it doesn't start with a dot, it matches only a file of that name) +# +# regex (desc is an extended regular expression) +# Please note that we are using the GNU regex library and thus +# \| matches the literal | and | has special meaning (or) and +# () have special meaning and \( \) stand for literal ( ). +# +# type (file matches this if `file %f` matches regular expression desc +# (the filename: part from `file %f` is removed)) +# +# directory (matches any directory matching regular expression desc) +# +# include (matches an include directive) +# +# default (matches any file no matter what desc is) +# +# Other lines should start with a space or tab and should be in the format: +# +# keyword=commandNL (with no spaces around =), where keyword should be: +# +# Open (if the user presses Enter or doubleclicks it), +# +# View (F3), Edit (F4) +# +# Include is the keyword used to add any further entries from an include/ +# section +# +# command is any one-line shell command, with the following substitutions: +# +# %% -> % character +# %p -> name of the current file (without path, but pwd is its path) +# %f -> name of the current file. Unlike %p, if file is located on a +# non-local virtual filesystem, i.e. either tarfs, mcfs or ftpfs, +# then the file will be temporarily copied into a local directory +# and %f will be the full path to this local temporal file. +# If you don't want to get a local copy and want to get the +# virtual fs path (like /#ftp:ftp.cvut.cz/pub/hungry/xword), then +# use %d/%p instead of %f. +# %d -> name of the current directory (pwd, without trailing slash) +# %s -> "selected files", i.e. space separated list of tagged files if any +# or name of the current file +# %t -> list of tagged files +# %u -> list of tagged files (they'll be untaged after the command) +# +# (If these 6 letters are in uppercase, they refer to the other panel. +# But you shouldn't have to use it in this file.) +# +# +# %cd -> the rest is a path mc should change into (cd won't work, since it's +# a child process). %cd handles even vfs names. +# +# %view -> the command you type will be piped into mc's internal file viewer +# if you type only the %view and no command, viewer will load %f file +# instead (i.e. no piping, so it is different to %view cat %f) +# %view may be directly followed by {} with a list of any of +# ascii (Ascii mode), hex (Hex mode), nroff (color highlighting for +# text using backspace for bold and underscore) and unform +# (no highlighting for nroff sequences) separated by commas. +# +# %var -> You use it like this: %var{VAR:default}. This macro will expand +# to the value of the VAR variable in the environment if it's set +# otherwise the value in default will be used. This is similar to +# the Bourne shell ${VAR-default} construct. +# +# Rules are applied from top to bottom, thus the order is important. +# If some actions are missing, search continues as if this target didn't +# match (i.e. if a file matches the first and second entry and View action +# is missing in the first one, then on pressing F3 the View action from +# the second entry will be used. default should catch all the actions. +# +# Any new entries you develop for you are always welcome if they are +# useful on more than one system. You can send your modifications +# by e-mail to mc-devel@gnome.org + + +### Changes ### +# +# Reorganization: 2000-05-01 Michal Svec + + +### TODO ### +# +# Postscript Open: ps2svga [gs -DEVICE=jpeg|zgv or something] +# Images asciiview +# +# All X Apps [Nothing/Warning] if no DISPLAY +# Not found [Default/Warning] +# Empty Output [Default/Warning] +# Edit: CopyOut+EDIT+CopyIn +# Security Check gzip/bzip EDIT (mktemp) +# +# Maybe: Open/XOpen/GOpen/KOpen/... for Console/X/GNOME/KDE/etc. + + +### Sources ### + +# C +shell/.c + Include=editor + +# Fortran +shell/.f + Include=editor + +# Header +regex/\.(h|hpp)$ + Include=editor + +# Asm +regex/\.([Ss]|[Aa]sm|ASM)$ + Include=editor + +# C++ +regex/\.(C|cc|[Cc]pp|CPP)$ + Inlude=editor + +include/editor + Open=%var{EDITOR:vi} %f + +# Object +shell/.o + #Open=%var{PAGER:more} %f + View=%view{ascii} file %f && nm %f + +### Documentation ### + +# Texinfo +regex/\.(te?xi|texinfo)$ + +# GNU Info page +type/^Info\ text + Open=info -f %f + #Open=pinfo %f + +shell/.info + Open=info -f %f + #Open=pinfo %f + +# Manual page +# Exception - .so libraries are not manual pages +regex/\.(so|so\.[0-9\.]*)$ + View=%view{ascii} file %f && nm %f + +regex/(([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|n)|\.man)$ + Open=nroff -c -Tlatin1 -mandoc %f | %var{PAGER:more} + View=%view{ascii,nroff} nroff -c -Tlatin1 -mandoc %f + +# Troff with me macros. +# Exception - "read.me" is not a nroff file. +shell/read.me + Open= + View= + +shell/.me + Open=nroff -c -Tlatin1 -me %f | %var{PAGER:more} + View=%view{ascii,nroff} nroff -c -Tlatin1 -me %f + +# Troff with ms macros. +shell/.ms + Open=nroff -c -Tlatin1 -ms %f | %var{PAGER:more} + View=%view{ascii,nroff} nroff -c -Tlatin1 -ms %f + +# Manual page - compressed +regex/([^0-9]|^[^\.]*)\.([1-9][a-z]?|n)\.g?[Zz]$ + Open=gzip -dc %f | nroff -c -Tlatin1 -mandoc | %var{PAGER:more} + View=%view{ascii,nroff} case %d in /var/log*) gzip -dc %f ;; *) gzip -dc %f | nroff -c -Tlatin1 -mandoc ;; esac + +regex/([^0-9]|^[^\.]*)\.([1-9][a-z]?|n)\.bz$ + Open=bzip -dc %f | nroff -c -Tlatin1 -mandoc | %var{PAGER:more} + View=%view{ascii,nroff} bzip -dc %f | nroff -c -Tlatin1 -mandoc + +regex/([^0-9]|^[^\.]*)\.([1-9][a-z]?|n)\.bz2$ + Open=bzip2 -dc %f | nroff -c -Tlatin1 -mandoc | %var{PAGER:more} + View=%view{ascii,nroff} bzip2 -dc %f | nroff -c -Tlatin1 -mandoc + + +### Images ### + +type/^GIF + Include=image + +type/^JPEG + Include=image + +type/^PC\ bitmap + Include=image + +type/^PNG + Include=image + +type/^TIFF + Include=image + +type/^PBM + Include=image + +type/^PGM + Include=image + +type/^PPM + Include=image + +type/^Netpbm + Include=image + +type/^JNG + Include=image + +type/^MNG + Include=image + +shell/.xcf + Open=gimp %f + +shell/.xbm + Open=bitmap %f + +shell/.xpm + Include=image + View=sxpm %f + +include/image + Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (display %f &); fi + View=%view{ascii} identify %f + #View=%view{ascii} asciiview %f + + +### Sound files ### + +regex/\.([wW][aA][vV]|[sS][nN][dD]|[vV][oO][cC]|[aA][uU]|[sS][mM][pP]|[aA][iI][fF][fF]|[sS][nN][dD])$ + Open=if [ "$DISPLAY" = "" ]; then play %f; else (xmms -e %f 1>/dev/null 2>&1 &); fi + +regex/\.([mM][oO][dD]|[sS]3[mM]|[xX][mM]|[iI][tT]|[mM][tT][mM]|669|[sS][tT][mM]|[uU][lL][tT]|[fF][aA][rR])$ + Open=mikmod %f + #Open=tracker %f + +regex/\.([wW][aA][wW]22)$ + Open=vplay -s 22 %f + +regex/\.([mM][pP]3)$ + Include=audio + #Open=if [ "$DISPLAY" = "" ]; then mpg123 %f; else (xmms %f &); fi + #View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p' + +regex/\.([mM][kK][aA])$ + Include=audio + +regex/\.([oO][gG][gG])$ + Open=if [ "$DISPLAY" = "" ]; then ogg123 %f; else (xmms %f &); fi + View=%view{ascii} ogginfo %s + +regex/\.([mM][iI][dD][iI]?|[rR][mM][iI][dD]?)$ + Open=timidity %f + +regex/\.([wW][mM][aA])$ + Open=mplayer -vo null %f + View=%view{ascii} mplayer -quiet -slave -frames 0 -vo null -ao null -identify %f 2>/dev/null | tail +13 || file %f + +Include/audio + Open=mplayer %f + View=%view{ascii} mplayer -identify -vo null -ao null -frames 0 %f 2>&1 | sed -n '/^ID_/p' + +### Play lists ### + +regex/\.([mM]3[uU]|[pP][lL][sS])$ + Open=if [ -z "$DISPLAY" ]; then mplayer -vo null -playlist %f; else (xmms -p %f &); fi + + +### Video ### + +regex/\.([aA][vV][iI])$ + Include=video + +regex/\.([aA][sS][fFxX])$ + Include=video + +regex/\.([dD][iI][vV][xX])$ + Include=video + +regex/\.([mM][oO][vV]|[qQ][tT])$ + Include=video + +regex/\.([mM][pP]4|[mM][pP][eE]?[gG])$ + Include=video + +regex/\.([mM][kK][vV])$ + Include=video + +regex/\.([vV][oO][bB])$ + Include=video + +regex/\.([wW][mM][vV])$ + Include=video + +regex/\.([fF][lL][iIcC])$ + Include=video + +regex/\.([oO][gG][mM])$ + Include=video + +regex/\.([rR][aA]?[mM])$ + Open=(realplay %f >/dev/null 2>&1 &) + View=%view{ascii} mplayer -identify -vo null -ao null -frames 0 %f 2>&1 | sed -n '/^ID_/p' + +include/video + Open=(mplayer %f >/dev/null 2>&1 &) + View=%view{ascii} mplayer -identify -vo null -ao null -frames 0 %f 2>&1 | sed -n '/^ID_/p' + #Open=(gtv %f >/dev/null 2>&1 &) + #Open=(xanim %f >/dev/null 2>&1 &) + +### Documents ### + +# Postscript +type/^PostScript + Open=(gv %f &) + View=%view{ascii} ps2ascii %f + +# PDF +type/^PDF + Open=(xpdf %f &) + #Open=(acroread %f &) + #Open=(ghostview %f &) + View=%view{ascii} pdftotext %f - + +# The following code very ugly and should not be taken as example. +# It should be cleaned up when the new format of mc.ext is developed. + +# html +regex/\.([hH][tT][mM][lL]?)$ + Open=if test -n "gnome-moz-remote" && test -n "$DISPLAY"; then (gnome-moz-remote file://%d/%p &) >/dev/null 2>&1; else links %f 2>/dev/null || lynx -force_html %f; fi + View=%view{ascii} lynx -dump -force_html %f + +# StarOffice 5.2 +shell/.sdw + Open=(ooffice %f &) + +# StarOffice 6 and OpenOffice.org formats +regex/\.(sxw|stw|sxc|stc|sxi|sti|sxd|std|sxm|sxg)$ + Open=(ooffice %f &) + +# AbiWord +shell/.abw + Open=(abiword %f &) + +# Microsoft Word Document +regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$ + Open=(abiword %f >/dev/null 2>&1 &) + View=%view{ascii} catdoc -w %f || word2x -f text %f - || strings %f +type/^Microsoft\ Word + Open=(abiword %f >/dev/null 2>&1 &) + View=%view{ascii} catdoc -w %f || word2x -f text %f - || strings %f + +# RTF document +regex/\.([rR][tT][fF])$ + Open=(abiword %f >/dev/null 2>&1 &) + +# Microsoft Excel Worksheet +regex/\.([xX][lL][sSwW])$ + Open=(gnumeric %f >/dev/null 2>&1 &) + View=%view{ascii} xls2csv %f || strings %f +type/^Microsoft\ Excel + Open=(gnumeric %f >/dev/null 2>&1 &) + View=%view{ascii} xls2csv %f || strings %f + +# Use OpenOffice.org to open any MS Office documents +type/^Microsoft\ Office\ Document + Open=(ooffice %f &) + +# Framemaker +type/^FrameMaker + Open=fmclient -f %f + +# DVI +regex/\.([dD][vV][iI])$ + Open=if [ x$DISPLAY = x ]; then dvisvga %f; else (xdvi %f &); fi + View=%view{ascii} dvi2tty %f + +# TeX +regex/\.([Tt][Ee][Xx])$ + Open=%var{EDITOR:vi} %f + + +### Miscellaneous ### + +# Makefile +regex/[Mm]akefile$ + Open=make -f %f %{Enter parameters} + +# Imakefile +shell/Imakefile + Open=xmkmf -a + +# Makefile.PL (MakeMaker) +regex/^Makefile.(PL|pl)$ + Open=%var{PERL:perl} %f + +# dbf +regex/\.([dD][bB][fF])$ + Open=%view{ascii} dbview %f + View=%view{ascii} dbview -b %f + +# REXX script +regex/\.(rexx?|cmd)$ + Open=rexx %f %{Enter parameters};echo "Press ENTER";read y + + +### Archives ### + +# dar +regex/\.[0-9]*\.[Dd][Aa][Rr]$ + Open=%cd %p#udar + View=%view{ascii} dar -l `echo %f | sed 's/\.[0-9]*\.[Dd][Aa][Rr]$//'` -N + +# .tgz, .tpz, .tar.gz, .tar.z, .tar.Z +regex/\.t([gp]?z|ar\.g?[zZ])$ + Open=%cd %p#utar + View=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf - + +regex/\.tar\.bz$ + # Open=%cd %p#utar + View=%view{ascii} bzip -dc %f 2>/dev/null | tar tvvf - + +regex/\.t(ar\.bz2|bz|b2)$ + Open=%cd %p#utar + View=%view{ascii} bzip2 -dc %f 2>/dev/null | tar tvvf - + +# .tar.F - used in QNX +regex/\.tar\.F$ + # Open=%cd %p#utar + View=%view{ascii} freeze -dc %f 2>/dev/null | tar tvvf - + +# .qpr/.qpk - QNX Neutrino package installer files +regex/\.(qp[rk])$ + Open=%cd %p#utar + View=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf - + +# tar +regex/\.(tar|TAR)$ + Open=%cd %p#utar + View=%view{ascii} tar tvvf %f + +# zip +type/^([Zz][Ii][Pp])\ archive + Open=%cd %p#uzip + View=%view{ascii} unzip -v %f + +# zoo +regex/\.([Zz][Oo][Oo])$ + Open=%cd %p#uzoo + View=%view{ascii} zoo l %f + +# lha +type/^LHa\ .*archive + Open=%cd %p#ulha + View=%view{ascii} lha l %f + +# arj +regex/\.a(rj|[0-9][0-9])$ + Open=%cd %p#uarj + View=%view{ascii} unarj l %f + +# ha +regex/\.([Hh][Aa])$ + Open=%cd %p#uha + View=%view{ascii} ha lf %f + +# rar +regex/\.[rR]([aA][rR]|[0-9][0-9])$ + Open=%cd %p#urar + View=%view{ascii} rar v -c- %f + +# cpio +shell/.cpio.Z + Open=%cd %p#ucpio + View=%view{ascii} gzip -dc '%f' | cpio -itv 2>/dev/null + +shell/.cpio.gz + Open=%cd %p#ucpio + View=%view{ascii} gzip -dc '%f' | cpio -itv 2>/dev/null + +shell/.cpio + Open=%cd %p#ucpio + View=%view{ascii} cpio -itv <'%f' 2>/dev/null + +# ls-lR +regex/(^|\.)ls-?lR(\.g?z|Z|bz2)?$ + Open=%cd %p#lslR + +# patch +regex/\.(diff|patch)(\.(bz2|gz|Z))?$ + Open=%cd %p#patchfs + +# gzip +type/^gzip + Open=gzip -dc %f | %var{PAGER:more} + View=%view{ascii} gzip -dc %f 2>/dev/null + +# bzip2 +type/^bzip2 + Open=bzip2 -dc %f | %var{PAGER:more} + View=%view{ascii} bzip2 -dc %f 2>/dev/null + +# bzip +type/^bzip + Open=bzip -dc %f | %var{PAGER:more} + View=%view{ascii} bzip -dc %f 2>/dev/null + +# compress +type/^compress + Open=gzip -dc %f | %var{PAGER:more} + View=%view{ascii} gzip -dc %f 2>/dev/null + +# ar library +regex/\.s?a$ + Open=%cd %p#uar + #Open=%view{ascii} ar tv %f + View=%view{ascii} file %f && nm %f + +# trpm +regex/\.trpm$ + Open=%cd %p#trpm + View=%view{ascii} rpm -qivl --scripts `basename %p .trpm` + +# RPM packages (SuSE uses *.spm for source packages) +regex/\.(rpm|spm)$ + Open=%cd %p#rpm + View=%view{ascii} if rpm --nosignature --version >/dev/null 2>&1; then RPM="rpm --nosignature" ; else RPM="rpm" ; fi ; $RPM -qivlp --scripts %f + +# deb +regex/\.deb$ + Open=%cd %p#deb + View=%view{ascii} dpkg-deb -c %f + +# ISO9660 +regex/\.iso$ + Open=%cd %p#iso9660 + View=%view{ascii} isoinfo -l -i %f + + +### Default ### + +# Default target for anything not described above +default/* + Open= + View= + +### EOF ### diff --git a/root/opt/dar2-mc/udar b/root/opt/dar2-mc/udar new file mode 100755 index 0000000..3103f82 --- /dev/null +++ b/root/opt/dar2-mc/udar @@ -0,0 +1,105 @@ +#!/bin/sh + +# This is a parser for Dar archives in Midnight Commander. You need +# the GPL dar program (version >= 2.3.0) written by Denis Corbin. + +# Author: Guus Jansman + +# Limitations: +# - The archive file can not be changed +# - Symbolic and hard links are not handled properly +# - Block and character special files are not handled +# - Files not stored in (differential) backups are not handled +# - Dar files in archives are not handled (due filename restriction) + +DAR=dar + +# dar expects the basename (without number and extension) +BASENAME="`echo "$2" | sed -e 's/\.[0-9]*\.[Dd][Aa][Rr]$//'`" + +mcdarfs_list () +{ +$DAR -l "$BASENAME" -N -Q -as 2>/dev/null | gawk -v uuid=${UID-0} ' +BEGIN { flag=0 } +/^-------/ { flag++; if (flag > 1) exit 0; next } +/^$/ { next } +{ + if (flag == 0) next + line=$0 + split(line, record, " ") + + # Do not display removed files + if (record[1] == "[" && record[2] == "REMOVED") + { + next + } + + # We want "line" to start with permutation + # TODO: better algorithm + while (length(record[1]) != 10 || match(substr(record[1], 2, 1), "[r-]") == 0) + { + # line without real contents + if (length(line) == 0) { + next + } + line=substr(line, length(record[1])+1) + while (length(line) != 0 && substr(line, 1, 1) != " ") + { + line=substr(line, 2) + } + split(line, record, " ") + } + + perm=record[1] + # Block and character special files not supported + # Change [bc] to [bcl] if symbolic links should not show up either + if (match(substr(perm, 1, 1), "[bc]") != 0) + { + next + } + uid=record[2] + if (match(uid, "^[0-9]*$") != 0) + { + uid=sprintf("%-8d", uid) + } + gid=record[3] + if (match(gid, "^[0-9]*$") != 0) + { + gid=sprintf("%-8d", gid) + } + size=record[4] + month=record[6] + day=record[7] + tm=substr(record[8], 1, 5) + year=record[9] + name=substr(line, index(line, sprintf("%s:", tm))+14) + # TODO: find symbolic link target (probably the link has to be extracted) + printf "%s 1 %s %s %8d %3s %02d %04d %s %s\n", perm, uid, gid, size, month, day, year, tm, name +}' +} + +mcdarfs_copyout () +{ + # Dummy directory necessary since dar cannot output to stdout or named file + mkdir "$3.dir.tmp" + chmod 700 "$3.dir.tmp" + if [ ! -d "$3.dir.tmp" ]; then exit 1; fi + $DAR -x "$BASENAME" -N -O -Q -wa -g "$2" -R "$3.dir.tmp" >/dev/null 2>&1 + if [ -e "$3.dir.tmp/$2" ]; then + mv "$3.dir.tmp/$2" "$3" + rm -rf "$3.dir.tmp" + else + rm -rf "$3.dir.tmp" + exit 1 + fi +} + +umask 077 +cmd="$1" +shift +case "$cmd" in + list) mcdarfs_list "$@" ;; + copyout) mcdarfs_copyout "$@" ;; + *) exit 1 ;; +esac +exit 0 diff --git a/root/usr/lib/.gitignore b/root/usr/lib/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/dar2.pm b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/dar2.pm new file mode 100644 index 0000000..ef9c74e --- /dev/null +++ b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/dar2.pm @@ -0,0 +1,389 @@ +#!/usr/bin/perl -w +package esmith::FormMagick::Panel::dar2; + +use strict; +use warnings; +use esmith::FormMagick; +use esmith::ConfigDB; +use esmith::cgi; +use esmith::util; +use File::Basename; +use Exporter; +use Carp qw(verbose); + +our @ISA = qw(esmith::FormMagick Exporter); + +our @EXPORT = qw(); + +our $VERSION = sprintf '%d.%03d', q$Revision: 1.1 $ =~ /: (\d+).(\d+)/; + +our $db = esmith::ConfigDB->open('dar2') or die "Couldn't open ConfigDB\n"; + +# Set global variables +my @dar2 = (); +@dar2 = $db->get_all_by_prop(type => 'dar2'); + +sub add_quotes( $ ) +{ + return '"' . $_[0] . '"'; +} + +sub zero_or_positive +{ + my $self = shift; + my $val = shift || 0; + + return 'OK' if($val =~ /^\d+$/ and $val >= 0); + return $self->localise('VALUE_ZERO_OR_POSITIVE'); +} + +sub get_drbackup +{ + use esmith::Backup; + my $backup = esmith::Backup->new(); + return join "\n", map { "$_" } sort($backup->restore_list); +} + +sub get_description_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + + return $db->get_prop($jobname, 'Description'); +} + +sub get_dr_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + + return $db->get_prop($jobname, 'DR'); +} + +sub get_backup_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + my $Backup = $db->get_prop($jobname, 'Backup'); + my @Backup = sort(split(/,/, $Backup)); + + return join "\n", map { "$_" } @Backup; +} + +sub get_exclude_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + + my $Exclude = $db->get_prop($jobname, 'Exclude'); + my @Exclude = sort(split(/,/, $Exclude)); + + return join "\n", map { "$_" } @Exclude; +} + +sub get_prune_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + + my $Prune = $db->get_prop($jobname, 'Prune'); + my @Prune = sort(split(/,/, $Prune)); + + return join "\n", map { "$_" } @Prune; +} + +sub get_target_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + + return $db->get_prop($jobname, 'Target'); +} + +sub get_username_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + + return $db->get_prop($jobname, 'Username'); +} + +sub get_password_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + + return $db->get_prop($jobname, 'Password'); +} + +sub get_vfstype_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + + return $db->get_prop($jobname, 'VFSType'); +} + +sub get_slice_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + + return $db->get_prop($jobname, 'Slice'); +} + +sub get_compression_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + + return $db->get_prop($jobname, 'Compression'); +} + +sub get_expiry_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + + return $db->get_prop($jobname, 'Expiry'); +} + +sub get_verbose_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + + return $db->get_prop($jobname, 'Verbose'); +} + +sub get_backupday_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + + return $db->get_prop($jobname, 'backupDay'); +} + +sub get_backuptime_value +{ + my $self = shift; + my $q = $self->{cgi}; + + my $jobname = $q->param('jobname') || undef; + + return $db->get_prop($jobname, 'backupTime'); +} + +sub print_backup_jobs_table +{ + my $self = shift; + my $q = $self->{cgi}; + + if ("@dar2" eq "") + { + print $q->Tr($q->td ($q->b ($self->localise('NO_BACKUP_JOBS')))); + return ""; + } + else + { + print " \n \n "; + print $q->start_table ({-CLASS => "sme-border"}),"\n "; + print $q->Tr( + esmith::cgi::genSmallCell($q, $self->localise('JOBNAME'),"header"), + esmith::cgi::genSmallCell($q, $self->localise('DESCRIPTION'),"header"), + esmith::cgi::genSmallCell($q, $self->localise('TARGET'), "header"), + esmith::cgi::genSmallCell($q, $self->localise('ACTION'),"header",4)); + + my $scriptname = basename($0); + my $index=0; + + foreach my $dar2 (@dar2) + { + my $BackupJob = $dar2->key; + my $rec = $db->get("$BackupJob"); + my $Description = $rec->prop("Description"); + my $Target = $rec->prop("Target"); + my $modify = $self->localise('MODIFY'); + my $backup = $self->localise('BACKUP'); + my $restore = $self->localise('RESTORE'); + my $remove = $self->localise('REMOVE'); + my $href = "$scriptname?page=0&page_stack=&Next=Next&wherenext"; + + my $action1 = "$modify"; + my $action2 = "$backup"; + my $action3 = "$restore"; + my $action4 = "$remove"; + + print $q->Tr( + esmith::cgi::genSmallCell($q, "$BackupJob","normal")," ", + esmith::cgi::genSmallCell($q, "$Description","normal")," ", + esmith::cgi::genSmallCell($q, "$Target","normal")," ", + esmith::cgi::genSmallCell($q, "$action1","normal")," ", + esmith::cgi::genSmallCell($q, "$action2","normal")," ", + esmith::cgi::genSmallCell($q, "$action3","normal")," ", + esmith::cgi::genSmallCell($q, "$action4","normal")); + } + $index++; + + print qq(\n); + + return ""; + } +} + +sub create_modify_backup +{ + my $fm = shift; + my $q = $fm->{'cgi'}; + + my $jobname = $q->param("jobname"); + $db->new_record("$jobname", {type => 'dar2'}); + + my $Backup = $q->param("backup"); + $Backup =~ s/\r\n/,/g; + $db->set_prop("$jobname", 'Backup', "$Backup"); + + my $Exclude = $q->param("exclude"); + $Exclude =~ s/\r\n/,/g; + $db->set_prop("$jobname", 'Exclude', "$Exclude"); + + my $Prune = $q->param("prune"); + $Prune =~ s/\r\n/,/g; + $db->set_prop("$jobname", 'Prune', "$Prune"); + + my $Target = $q->param("target"); + $db->set_prop("$jobname", 'Target', "$Target"); + my $Username = $q->param("username"); + $db->set_prop("$jobname", 'Username', "$Username"); + my $Password = $q->param("password"); + $db->set_prop("$jobname", 'Password', "$Password"); + + if (("$Username" ne '') && ("$Password" ne '')) + { + $db->set_prop("$jobname", 'Mount', '/mnt/dar2'); + } + else + { + $db->set_prop("$jobname", 'Mount', "$Target"); + } + + $db->set_prop("$jobname", 'Description', $q->param("description")); + $db->set_prop("$jobname", 'VFSType', $q->param("vfstype")); + $db->set_prop("$jobname", 'Slice', $q->param("slice")); + $db->set_prop("$jobname", 'Compression', $q->param("compression")); + $db->set_prop("$jobname", 'Expiry', $q->param("expiry")); + $db->set_prop("$jobname", 'Verbose', $q->param("verbose")); + $db->set_prop("$jobname", 'backupDay', $q->param("backupday")); + $db->set_prop("$jobname", 'backupTime', $q->param("backuptime")); + $db->set_prop("$jobname", 'status', 'enabled'); + + unless ( system ("/sbin/e-smith/expand-template", "/etc/crontab") == 0 ) + { + $fm->error('ERROR_UPDATING'); + return undef; + } + + $fm->success('SUCCESS'); +} + +sub perform_backup +{ + my $fm = shift; + my $q = $fm->{'cgi'}; + + my $jobname = $q->param("jobname"); + + if ($jobname) + { + esmith::util::backgroundCommand( + 5, + "/etc/e-smith/events/actions/dar2-backup", + "$jobname" + ); + } + + $fm->success('SUCCESS'); + return ""; +} + +sub restore_backup +{ + my $fm = shift; + my $q = $fm->{'cgi'}; + + my $jobname = $q->param("jobname"); + + $db->new_record("Restore.$jobname", {type => 'dar2Restore'}); + $db->set_prop("Restore.$jobname", 'Date', $q->param("date")); + $db->set_prop("Restore.$jobname", 'DR', $q->param("dr")); + + my $Restore = $q->param("restore"); + $Restore =~ s/\r\n/,/g; + $db->set_prop("Restore.$jobname", 'Restore', "$Restore"); + + $db->set_prop("Restore.$jobname", 'RestoreTo', $q->param("restoreto")); + + if ($jobname) + { + esmith::util::backgroundCommand( + 5, + "/etc/e-smith/events/actions/dar2-restore", + "$jobname" + ); + } + + $fm->success('SUCCESS'); + return ""; +} + +sub remove_backup +{ + my $fm = shift; + my $q = $fm->{'cgi'}; + + my $jobname = $q->param("jobname"); + + if ($jobname) + { + $db->get($jobname)->delete; + } + + unless ( system ("/sbin/e-smith/expand-template", "/etc/crontab") == 0 ) + { + $fm->error('ERROR_UPDATING'); + return undef; + } + + $fm->success('SUCCESS'); + return ""; +} + +1; diff --git a/root/var/log/dar2/.gitignore b/root/var/log/dar2/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/smeserver-dar2.spec b/smeserver-dar2.spec new file mode 100644 index 0000000..e482ad9 --- /dev/null +++ b/smeserver-dar2.spec @@ -0,0 +1,232 @@ +# $Id: smeserver-dar2.spec,v 1.2 2013/07/14 16:24:30 unnilennium Exp $ +# Authority: darrellmay +# Name: Darrell May + +Summary: Disk ARchive for SME Server +%define name smeserver-dar2 +Name: %{name} +%define version 0.0.3 +%define release 4 +Version: %{version} +Release: %{release}%{?dist} +License: GPL +Group: SME/addon +Source: %{name}-%{version}.tar.xz +BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot +BuildArchitectures: noarch +Requires: dar >= 2.3.1 +Requires: smeserver-release >= 9.0 +Requires: e-smith-formmagick +BuildRequires: e-smith-devtools +%description +SME Server implementation of Disk ARchive (http://dar.linux.free.fr) +based on smeserver-backup2. + +%changelog +* Sat Sep 07 2024 cvs2git.sh aka Brian Read 0.0.3-4.sme +- Roll up patches and move to git repo [SME: 12338] + +* Sat Sep 07 2024 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + +* Wed Sep 04 2024 Terry Fage 0.0.3-3.sme +- apply locale 2024-09-04.patch + +* Fri Nov 11 2022 Jean-Philippe Pialasse 0.0.3-2.sme +- apply locale 2022-11-11 patch +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + Fri Oct 19 2006 --> Fri Oct 13 2006 or Thu Oct 19 2006 or Fri Oct 20 2006 or .... + Thu May 21 2008 --> Thu May 15 2008 or Wed May 21 2008 or Thu May 22 2008 or .... + +* Fri Aug 08 2014 stephane de Labrusse 0.0.3-1 +- Initial release to sme9 + +* Sun Jul 14 2013 JP Pialasse 0.0.1-32.sme +- apply locale 2013-07-14 patch + +* Tue Mar 20 2012 SME Translation Server 0.0.1-31.el6 +- apply locale 2012-03-20 patch + +* Sun Mar 06 2011 SME Translation Server 0.0.1-30.sme +- apply locale 2011-03-06 patch + +* Sun May 23 2010 SME Translation Server 0.0.1-29.sme +- apply locale 2010-05-23 patch + +* Tue Mar 02 2010 SME Translation Server 0.0.1-28.sme +- apply locale 2010-03-02 patch + +* Wed Oct 21 2009 SME Translation Server 0.0.1-27.sme +- apply locale 2009-10-21 patch + +* Mon Aug 24 2009 SME Translation Server 0.0.1-26.sme +- apply locale 2009-08-24 patch + +* Wed May 20 2009 SME Translation Server 0.0.1-25.sme +- apply locale 2009-05-20 patch + +* Mon Apr 27 2009 SME Translation Server 0.0.1-24.sme +- apply locale 2009-04-27 patch + +* Tue Mar 03 2009 SME Translation Server +- apply locale 2009-03-03 patch + +* Sun Mar 1 2009 Jonathan Martens 0.0.1-22 +- Apply 1 Mar 2009 locale patch [SME: 5018] + +* Sat Jan 31 2009 Jonathan Martens 0.0.1-21 +- Apply 31 Jan 2009 locale patch [SME: 4951] + +* Thu Jan 1 2009 Jonathan Martens 0.0.1-20 +- Apply 1 Jan 2009 locale patch [SME: 4900] + +* Wed Nov 5 2008 Jonathan Martens 0.0.1-19 +- Apply 5 Nov 2008 locale patch + +* Tue Oct 14 2008 Jonathan Martens 0.0.1-18 +- Apply 14 Oct 2008 locale patch + +* Tue Jul 1 2008 Jonathan Martens 0.0.1-17 +- Apply 1 July 2008 locale patch + +* Wed Jun 25 2008 Jonathan Martens 0.0.1-16 +- Actually apply 25 Jun 2008 locale patch, forgot to commit patch + +* Wed Jun 25 2008 Jonathan Martens 0.0.1-15 +- Apply 25 Jun 2008 locale patch + +* Fri May 30 2008 Jonathan Martens 0.0.1-14 +- Apply 30 May 2008 locale patch + +* Wed May 21 2008 Jonathan Martens 0.0.1-13 + Thu May 21 2008 --> Thu May 15 2008 or Wed May 21 2008 or Thu May 22 2008 or .... +- Apply 21 May 2008 locale patch + +* Mon May 5 2008 Jonathan Martens 0.0.1-12 +- Apply 5 May 2008 locale patch +- Updated e-smith-formmagick requirement + +* Mon Apr 28 2008 Shad L. Lords 0.0.1-11 +- Bump release to rebuild + +* Sat Apr 26 2008 Jonathan Martens 0.0.1-10 +- Take common entries from e-smith-formmagick's general + +* Wed Apr 23 2008 Jonathan Martens 0.0.1-9 +- Fix changelog day + +* Wed Apr 23 2008 Jonathan Martens 0.0.1-8 +- Apply Mar 23 2008 translation patch + +* Tue Apr 22 2008 Jonathan Martens 0.0.1-7 +- Apply Mar 22 2008 translation patch + +* Sun Apr 20 2008 Shad L. Lords 0.0.1-6 +- Remove scripts (not needed anymore) + +* Sun Apr 20 2008 Shad L. Lords 0.0.1-5 +- Clean up translations to work with pootle +- Apply Mar 20 2008 translation patches + +* Wed Aug 22 2007 Shad L. Lords 0.0.1-4 +- Clean up spec so package can be built by koji/plague +- Update to new release naming. No functional changes. +- Make Packager generic + +* Thu Mar 22 2007 Darrell May +- updated actions/dar2-backup to separately zip and backup up dbs +- updated actions/dar2-mc to require only job name to launch +- [0.0.1-3dmay] smeserver-dar2-0.0.1-3.patch +* Fri Mar 16 2007 Darrell May +- updated dar2 panel text: absolute/relative pathing +- updated dar2 panel text: prune wildcard support +- [0.0.1-2dmay] smeserver-dar2-0.0.1-2.patch +* Sun Jan 07 2007 Darrell May +- added dar2-mc action +- added dar support files for Midnight Commander +- [0.0.1-1dmay] +* Thu Oct 19 2006 Darrell May + Fri Oct 19 2006 --> Fri Oct 13 2006 or Thu Oct 19 2006 or Fri Oct 20 2006 or .... +- BT:1988 added disk usage to report +- official release +- [0.0.1-0dmay] +* Mon Oct 16 2006 Darrell May +- BT:1979 German language file added +- BT:1982 fix navigation-conf generated error +- [0.0.1-b8dmay] +* Wed Oct 11 2006 Darrell May +- BT:1974 verbose prop now controls log file generation, default 'off' +- [0.0.1-b7dmay] +* Wed Oct 11 2006 Darrell May +- major rewrite of dar2-backup/restore templates +- minor updates to action scritps adding more echo statements +- [0.0.1-b6dmay] +* Mon Oct 09 2006 Darrell May +- BT:1966 edited Exclude/Prune labels & switched display order +- added archive listing to dar2-backup output +- [0.0.1-b5dmay] +* Sat Oct 07 2006 Darrell May +- BT:1964 crontab +- [0.0.1-b4dmay] +* Fri Oct 06 2006 Darrell May +- added dar2-dr-restore, a disaster recovery restore script. +- [0.0.1-b3dmay] +* Thu Oct 05 2006 Darrell May +- added db prop Verbose to control backup output detail +- [0.0.1-b2dmay] +* Thu Oct 05 2006 Darrell May +- update actions dar2-backup/restore to support custom mount points +- [0.0.1-b1dmay] +* Wed Oct 04 2006 Darrell May +- initial beta release +- [0.0.1-b0dmay] +* Mon Oct 02 2006 Darrell May +- drop db backup2 defaults +- edit panel name to Disk ARchive +- [0.0.1-a7dmay] +* Sun Oct 01 2006 Darrell May +- initial public alpha release +- [0.0.1-a6dmay] +* Sun Oct 01 2006 Darrell May +- initial rebuild on Restore panel +- [0.0.1-a5dmay] +* Fri Sep 29 2006 Darrell May +- initial rebuild on View/Modify, Backup, Remove panels +- added Expiry to dar2-backup script +- [0.0.1-a4dmay] +* Thu Sep 28 2006 Darrell May +- server-manager panel debugging +- [0.0.1-a3dmay] +* Thu Sep 28 2006 Darrell May +- server-manager panel debugging +- [0.0.1-a2dmay] +* Wed Sep 27 2006 Darrell May +- initial server-manager panel build +- [0.0.1-a1dmay] +* Wed Sep 27 2006 Darrell May +- initial internal alpha release +- [0.0.1-a0dmay] + +%prep + +%setup + + +%build +/usr/bin/perl createlinks + +%install +/bin/rm -rf $RPM_BUILD_ROOT + +(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) +/bin/rm -f %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist +%files -f %{name}-%{version}-filelist + +%defattr(-,root,root) + +%clean +/bin/rm -rf $RPM_BUILD_ROOT +