initial commit of file from CVS for smeserver-dar2 on Sat Sep 7 20:16:13 AEST 2024
This commit is contained in:
parent
dda5d4b557
commit
29314f312a
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
*.rpm
|
||||||
|
*.log
|
||||||
|
*spec-20*
|
||||||
|
*.tar.gz
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -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)
|
16
README.md
16
README.md
@ -1,3 +1,15 @@
|
|||||||
# smeserver-dar2
|
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> smeserver-dar2
|
||||||
|
|
||||||
SMEServer Koozali developed git repo for smeserver-dar2 smecontribs
|
SMEServer Koozali developed git repo for smeserver-dar2 smecontribs
|
||||||
|
|
||||||
|
## Wiki
|
||||||
|
<br />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
|
||||||
|
|
||||||
|
<br />*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*
|
||||||
|
<br />
|
||||||
|
11
additional/CHANGELOG.git
Normal file
11
additional/CHANGELOG.git
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
commit ad556cdcafb3cf6b22fb8c2abe99c04e1d37a254
|
||||||
|
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||||
|
Date: Fri Aug 8 13:57:07 2014 +0200
|
||||||
|
|
||||||
|
rm root/etc/e-smith/web/panels
|
||||||
|
|
||||||
|
commit 8fe0c3211551757c053ed93c19c36861e41a3d04
|
||||||
|
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||||
|
Date: Fri Aug 8 13:41:22 2014 +0200
|
||||||
|
|
||||||
|
first commit to SME Server 9
|
1
additional/README.md
Normal file
1
additional/README.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
smeserver-dar2 is a contrib for SME Server, a Linux distro oriented server. see http://wiki.contribs.org
|
214
additional/smeserver-dar2.spec
Normal file
214
additional/smeserver-dar2.spec
Normal file
@ -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 <stephdl@de-labrusse.fr> 0.0.3-1
|
||||||
|
- Initial release to sme9
|
||||||
|
|
||||||
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 0.0.1-32.sme
|
||||||
|
- apply locale 2013-07-14 patch
|
||||||
|
|
||||||
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.0.1-31.el6
|
||||||
|
- apply locale 2012-03-20 patch
|
||||||
|
|
||||||
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 0.0.1-30.sme
|
||||||
|
- apply locale 2011-03-06 patch
|
||||||
|
|
||||||
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.0.1-29.sme
|
||||||
|
- apply locale 2010-05-23 patch
|
||||||
|
|
||||||
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 0.0.1-28.sme
|
||||||
|
- apply locale 2010-03-02 patch
|
||||||
|
|
||||||
|
* Wed Oct 21 2009 SME Translation Server <translations@contribs.org> 0.0.1-27.sme
|
||||||
|
- apply locale 2009-10-21 patch
|
||||||
|
|
||||||
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 0.0.1-26.sme
|
||||||
|
- apply locale 2009-08-24 patch
|
||||||
|
|
||||||
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 0.0.1-25.sme
|
||||||
|
- apply locale 2009-05-20 patch
|
||||||
|
|
||||||
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 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 <smeserver-contribs@snetram.nl> 0.0.1-22
|
||||||
|
- Apply 1 Mar 2009 locale patch [SME: 5018]
|
||||||
|
|
||||||
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-21
|
||||||
|
- Apply 31 Jan 2009 locale patch [SME: 4951]
|
||||||
|
|
||||||
|
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-20
|
||||||
|
- Apply 1 Jan 2009 locale patch [SME: 4900]
|
||||||
|
|
||||||
|
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-19
|
||||||
|
- Apply 5 Nov 2008 locale patch
|
||||||
|
|
||||||
|
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-18
|
||||||
|
- Apply 14 Oct 2008 locale patch
|
||||||
|
|
||||||
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-17
|
||||||
|
- Apply 1 July 2008 locale patch
|
||||||
|
|
||||||
|
* Wed Jun 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-16
|
||||||
|
- Actually apply 25 Jun 2008 locale patch, forgot to commit patch
|
||||||
|
|
||||||
|
* Wed Jun 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-15
|
||||||
|
- Apply 25 Jun 2008 locale patch
|
||||||
|
|
||||||
|
* Fri May 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-14
|
||||||
|
- Apply 30 May 2008 locale patch
|
||||||
|
|
||||||
|
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-13
|
||||||
|
- Apply 21 May 2008 locale patch
|
||||||
|
|
||||||
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-12
|
||||||
|
- Apply 5 May 2008 locale patch
|
||||||
|
- Updated e-smith-formmagick requirement
|
||||||
|
|
||||||
|
* Mon Apr 28 2008 Shad L. Lords <slords@mail.com> 0.0.1-11
|
||||||
|
- Bump release to rebuild
|
||||||
|
|
||||||
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-10
|
||||||
|
- Take common <base> entries from e-smith-formmagick's general
|
||||||
|
|
||||||
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-9
|
||||||
|
- Fix changelog day
|
||||||
|
|
||||||
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-8
|
||||||
|
- Apply Mar 23 2008 translation patch
|
||||||
|
|
||||||
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-7
|
||||||
|
- Apply Mar 22 2008 translation patch
|
||||||
|
|
||||||
|
* Sun Apr 20 2008 Shad L. Lords <slords@mail.com> 0.0.1-6
|
||||||
|
- Remove scripts (not needed anymore)
|
||||||
|
|
||||||
|
* Sun Apr 20 2008 Shad L. Lords <slords@mail.com> 0.0.1-5
|
||||||
|
- Clean up translations to work with pootle
|
||||||
|
- Apply Mar 20 2008 translation patches
|
||||||
|
|
||||||
|
* Wed Aug 22 2007 Shad L. Lords <slords@mail.com> 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 <dmay@myezserver.com>
|
||||||
|
- 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 <dmay@myezserver.com>
|
||||||
|
- 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 <dmay@myezserver.com>
|
||||||
|
- added dar2-mc action
|
||||||
|
- added dar support files for Midnight Commander
|
||||||
|
- [0.0.1-1dmay]
|
||||||
|
* Fri Oct 19 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- BT:1988 added disk usage to report
|
||||||
|
- official release
|
||||||
|
- [0.0.1-0dmay]
|
||||||
|
* Mon Oct 16 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- BT:1979 German language file added
|
||||||
|
- BT:1982 fix navigation-conf generated error
|
||||||
|
- [0.0.1-b8dmay]
|
||||||
|
* Wed Oct 11 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- BT:1974 verbose prop now controls log file generation, default 'off'
|
||||||
|
- [0.0.1-b7dmay]
|
||||||
|
* Wed Oct 11 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- 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 <dmay@myezserver.com>
|
||||||
|
- 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 <dmay@myezserver.com>
|
||||||
|
- BT:1964 crontab
|
||||||
|
- [0.0.1-b4dmay]
|
||||||
|
* Fri Oct 06 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- added dar2-dr-restore, a disaster recovery restore script.
|
||||||
|
- [0.0.1-b3dmay]
|
||||||
|
* Thu Oct 05 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- added db prop Verbose to control backup output detail
|
||||||
|
- [0.0.1-b2dmay]
|
||||||
|
* Thu Oct 05 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- update actions dar2-backup/restore to support custom mount points
|
||||||
|
- [0.0.1-b1dmay]
|
||||||
|
* Wed Oct 04 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- initial beta release
|
||||||
|
- [0.0.1-b0dmay]
|
||||||
|
* Mon Oct 02 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- drop db backup2 defaults
|
||||||
|
- edit panel name to Disk ARchive
|
||||||
|
- [0.0.1-a7dmay]
|
||||||
|
* Sun Oct 01 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- initial public alpha release
|
||||||
|
- [0.0.1-a6dmay]
|
||||||
|
* Sun Oct 01 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- initial rebuild on Restore panel
|
||||||
|
- [0.0.1-a5dmay]
|
||||||
|
* Fri Sep 29 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- initial rebuild on View/Modify, Backup, Remove panels
|
||||||
|
- added Expiry to dar2-backup script
|
||||||
|
- [0.0.1-a4dmay]
|
||||||
|
* Thu Sep 28 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- server-manager panel debugging
|
||||||
|
- [0.0.1-a3dmay]
|
||||||
|
* Thu Sep 28 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- server-manager panel debugging
|
||||||
|
- [0.0.1-a2dmay]
|
||||||
|
* Wed Sep 27 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- initial server-manager panel build
|
||||||
|
- [0.0.1-a1dmay]
|
||||||
|
* Wed Sep 27 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- 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
|
||||||
|
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@ -0,0 +1 @@
|
|||||||
|
contribs10
|
7
createlinks
Executable file
7
createlinks
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
|
use esmith::Build::CreateLinks qw(:all);
|
||||||
|
|
||||||
|
my $panel = "manager";
|
||||||
|
panel_link("dar2", $panel);
|
||||||
|
|
0
root/etc/dar2/.gitignore
vendored
Normal file
0
root/etc/dar2/.gitignore
vendored
Normal file
0
root/etc/e-smith/db/dar2/defaults/.gitignore
vendored
Normal file
0
root/etc/e-smith/db/dar2/defaults/.gitignore
vendored
Normal file
126
root/etc/e-smith/events/actions/dar2-backup
Executable file
126
root/etc/e-smith/events/actions/dar2-backup
Executable file
@ -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"
|
82
root/etc/e-smith/events/actions/dar2-dr-restore
Executable file
82
root/etc/e-smith/events/actions/dar2-dr-restore
Executable file
@ -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
|
66
root/etc/e-smith/events/actions/dar2-mc
Executable file
66
root/etc/e-smith/events/actions/dar2-mc
Executable file
@ -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
|
92
root/etc/e-smith/events/actions/dar2-restore
Executable file
92
root/etc/e-smith/events/actions/dar2-restore
Executable file
@ -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
|
187
root/etc/e-smith/locale/bg/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/bg/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="bg">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Използвайте този панел за определяне, слагане в график и стартиране резервни копия и възстановявания, от и към мрежови папки или локални дискове.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Създай задача за копиране</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>Няма задачи за резервно копиране.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>Виж/Промени</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Създайте задача за резервно копие</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Промени задача за резервно копие</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Задача за възстановяване от копие</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Стартиране на задача за копиране</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Премахване на задача за копиране</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Име на задачата</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Подбор за копирането</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Изключи файлове</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Прескачане на папки</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Назначение</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Размер на парче</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>Файлова система</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Компресия</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Потребителско име</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Валидност</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Подробно</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Ден за копието</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Час на копието</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Локален диск</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Монтиран</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Мрежова папка</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Немонтиран</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Въведете датата на архива от който искате да възстановявате. Формат [ гггг.мм.дд ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Дата</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>За да извършите пълно възстановяване при бедствие задайте следното:</P> <P><B>Възстановяване след бедствие</B> [ Включено ] <B>Възстановяване</B> [ *.* ] <B>Възстанови в</B> [ / ]</P> <P>Бележка: След завършване на пълното възстановяване след бедствие, трябва да влезете в панела на server-manager за <B>Рестарт или спиране</B> и да направите <B>Преконфигурация</B>.</P> <P>За да направите селективно възстановяване, въведете по един път за възстановяване на ред. Пътищата трябва да са относителни. Например: За да възстановите /root/contribs на оригиналното му място трябва да въведете:</P> <P><B>Възстановяване при бедствие</B> [ Изключено ] <B>Възстанови</B> [ root/contribs ] <B>Възстанови в</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Възстановяване при бедствие</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Възстанови в</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Въведете уникално име на задачата за резервно копие. Името трябва да съдържа само букви, цифри, точки, тирета и долни черти. Без празни символи.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Въведете описание на задачата за резервно копиране.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>Задачата за резервно копиране за възстановяване при бедствие стартира допълнителен процес по време на копирането и възстановяването. Моля, задайте го изключено, ако правите стандартно резервно копие. </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>Всички необходими пътища за резервно копиране за възстановяване при бедствие за направени по-долу. Отбележете, че абсолютните пътища са невалидни. Всички пътища трябва да са релативни на базовата папка /. Например: [home] е релативна/правила, [/home] е абсолютна/неправилна. Ако правите стандартно резервно копие, променете избраните папки както се изисква по-долу. По един на ред. Не въвеждайте [/, /bash, proc, temp].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Въведете изключения за файлове. Например: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. По един на ред. Глобалните символи * и ? са валидни.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>Въведете разклонения в дървото, които да не бъдат включени в резервното копие. Например: [ home/e-smith/files/ibays/ibayname ]. По един на ред. Глобалните символи * и ? са валидни.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Валидни назначения са включен локален диск или мрежова папка.</P> <P>Ако правите копие на включен локален диск, въведете точката на монтиране на диска. Например: [/media/usbdisk]. Оставете празни полетата за потребителско име и парола.</P> <P>Ако копирате на мрежова папка, въведете назначението във формат UNC. Например: [//computername/sharename]. В добавка трябва да въведете валидни потребителско име и парола, които са за отдалечената система и потребителя има пълни права за писане в папката.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>Поддържат се три файлови системи. [ext3] за копиране на локален диск. [smbfs] за копиране на работна станция с Windows и споделени папки на SME Server. [cifs] за копиране на Microsoft Windows Server. Забележете че ако ползвате cifs, назначението трябва да бъде по IP адрес. Например: [//10.1.1.1/sharename].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>Въведете размерите на парчетата от томовете за резервно копиране в мегабайти. Например, за да създадете томове от по 650MB за копиране на CD/RW трябва да въведете [ 650 ]. Това би създало в назначението файлове в следния формат: job.гггг.мм.дд.1.dar, job.гггг.мм.дд.1.dar и т.н. Отбележете, че максималния размер на сегмент е 2000MB. Общия размер на задачата за копиране е ограничен само от свободното място на назначението.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Въведете нивото на компресия от 0 (без) то 9 (максимално). Когато няма компресия скоростта на копиране се увеличава драстично.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>Ако копирате на мрежова папка, въведете валидни потребителско име и парола, които са за отдалечената система и потребителя има пълни права за писане в папката. Оставете празни полетата за потребителско име и парола, ако копирате на локален диск.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Въведете срок за валидност на резервното копие. Това ще пази копията на назначението за n дни. Ако изберете 0 означава, че резервните копия ще се припокриват всеки ден.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>Опцията Подробно задава нивото на детайл в изхода. При 'пълен' се генерира списък файл по файл и журнал. При 'изключено' генерира само обобщение без журнал. Отбележете, че ако го включите размера на изходните файлове ще е свързан с размера на задачата за копиране и поради това ще стане доста голям. При задачите по график ще бъде изпратено електронно съобщение до администратора с информацията за изпълнение.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Въведете денят в който искате да се случи резервното копие. Оставете го на ръчно за ръчно използване извън графика.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Въведете времето, когато искате резервното копиране да се случи във формат чч:мм.</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/da/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/da/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="da">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARkiv</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>Der er ingen sikkerhedskopi jobs i systemet.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>Se/Rediger</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Opret sikkerhedskopi job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Rediger sikkerhedskopi job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Gendan sikkerhedskopi job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Start sikkerhedskopi job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Fjern sikkerhedskopi job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Job navn</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Sikkerhedskopi</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Udelad filer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Udelad biblioteker</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Destination</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Fil størrelse</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>Filsystem</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Komprimering</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Brugernavn</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Udløb</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Detaljer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backup dag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backup tid</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Lokalt drev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Tilsluttet</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Netværks drev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Frakoblet</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Indtast dato på det arkiv du ønsker at gendanne fra. Format: [ åååå.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Dato</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Total gendannelse</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Gendan til</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Skriv et entydigt navn til sikkerhedskopien. Navnet må kun indeholde bogstaver, tal, punktummer, bindestreger og understregningstegn. Ikke mellemrum.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Indtast en beskrivende tekst for denne sikkerhedskopi.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Indtast fil udeladelser. Eksempel: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. En angivelse pr linje. Jokertegn * og ? er gyldige.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Indtast komprimeringsniveau fra 0 (ingen) til 9 (maksimal). Ingen komprimering forbedrer hastigheden på sikkerhedskopieringen dramatisk.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Indtast den dag du ønsker at gennemføre sikkerhedskopien. Vælg manual, for ikke planlagt, manuel brug.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Indtast starttid for sikkerhedskopi i 24 timers format (tt:mm).</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/de/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/de/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="de">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>Es gibt keine Sicherungsaufträge im System.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>Ansehen/Ändern</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans><![CDATA[ <strong>Datensicherung anlegen</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans><![CDATA[ <strong>Datensicherung ändern</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans><![CDATA[ <strong>Datensicherung wiederherstellen</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans><![CDATA[ <strong>Datensicherung starten</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans><![CDATA[ <strong>Datensicherung löschen</strong> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Auftrag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Verzeichnisse auswählen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Ausgeschlossene Dateien</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Ausgeschlossene Verzeichnisse</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Ziel</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Segmentgröße</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>Dateisystem</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Kompressionsfaktor</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Benutzername</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Anzahl Aufbewahrungstage</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Ausführliche Logdatei</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Sicherungstag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Sicherungszeit</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Lokale Festplatten</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Ge-mounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Netzlaufwerk</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Nicht gemounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Geben Sie das Datum der Sicherung an, von der wiederhergestellt werden soll. Format: [ yyyy.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Datum</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Notfall-Datensicherung</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Wiederherstellen nach</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans><![CDATA[ Geben Sie einen eindeutigen Namen für den Sicherungsauftrag an. Der Name darf nur Kleinbuchstaben, Zahlen, Bindestriche und Unterstriche enthalten. Leerzeichen sind nicht gestattet. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Geben Sie eine Beschreibung für diesen Sicherungsauftrag an.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans><![CDATA[ <P>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. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans><![CDATA[ <P>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. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans><![CDATA[ <P>Geben Sie an, welche Dateien Sie aus der Datensicherung ausschließen möchten.</p> Beispiel: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. Benutzen Sie je Eintrag eine Zeile. Wildcards * und ? sind erlaubt. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans><![CDATA[ <P>Geben Sie an, welche Verzeichnisse Sie aus der Datensicherung ausschließen möchten.</p> Beispiel: [ home/e-smith/files/ibays/ibayname ]. Benutzen Sie je Eintrag eine Zeile. Wildcards * und ? sind erlaubt. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans><![CDATA[ <P>Drei Dateisysteme werden unterstützt:<br> <P>[ext3] zur Datensicherung auf angeschlossene lokale Festplatten.<br> [smbfs] zur Datensicherung auf Windows Arbeitsplätze und SME-Server Netzlaufwerke.<br> [cifs] zur Datensicherung auf Microsoft Windows Server.<br> <P><b>Anmerkung:</b> Wenn Sie cifs verwenden wollen, müssen Sie die Zieladresse immer zusammen mit der IP-Adresse verwenden. Beispiel: [//10.1.1.1/verzeichnisname]. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans><![CDATA[ <P>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. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans><![CDATA[ <P>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. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans><![CDATA[ <P>Geben Sie an, wie viele Tage vorhandene Datensicherungen in der Zieladresse beibehalten werden sollen.</p> Bei Auswahl von 0 Tage werden die Datensicherungen täglich überschrieben. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans><![CDATA[ <P>Geben Sie an, ob Sie eine ausführliche Logdatei schreiben lassen wollen.<br> <P>Mit 'Ja' wird eine ausführliche Liste mit allen Dateien erstellt.<br> Mit 'Nein' wird keine ausführliche Logdatei, sondern nur ein zusammengefasstes Ergebnis erstellt.<br> <P><b>Anmerkung:</b> Das Schreiben einer ausführlichen Logdatei kann bei großen Sicherungsaufträgen zu sehr großen Dateien führen!<br> Zeitgesteuerte Sicherungsaufträge erstellen eine E-Mail an den admin mit zusammengefasstem Ergebnis. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans><![CDATA[ <P>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. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans><![CDATA[ <P>Geben Sie die Zeit, zu der der Sicherungsauftrag ausgeführt werden soll, im 24-Stunden-Format (hh:mm) an. ]]></trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/el/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/el/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="el">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>There are no backup jobs in the system.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>View/Modify</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Create backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modify backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restore backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Launch backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remove backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Job name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selections</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exclude files</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Prune directories</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Target</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Slice size</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>File system</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Όνομα Χρήστη</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backup day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backup time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Local drive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Mounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Network share</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Unmounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Disaster Recovery</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restore to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Enter a description for this backup job.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Enter the day you would like this backup to occur. Leave manual for unscheduled manual use.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
273
root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/dar2
Normal file
273
root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,273 @@
|
|||||||
|
<lexicon lang="en-us">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans>
|
||||||
|
<![CDATA[
|
||||||
|
<p>Use this panel to define, schedule and launch server backups and restores,
|
||||||
|
to and from network shares or an attached local disk.</p>
|
||||||
|
|
||||||
|
<p><a class="button-like"
|
||||||
|
href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p>
|
||||||
|
]]>
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>There are no backup jobs in the system.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>View/Modify</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Create backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modify backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restore backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Launch backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remove backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Job name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selections</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exclude files</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Prune directories</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Target</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Slice size</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>File system</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Username</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backup day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backup time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Local drive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Mounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Network share</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Unmounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>
|
||||||
|
Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ]
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans>
|
||||||
|
<![CDATA[
|
||||||
|
<P>To perform a full disaster recovery restore set the following:</P>
|
||||||
|
<P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P>
|
||||||
|
|
||||||
|
<P>Note: After completion of a full disaster recovery restore,
|
||||||
|
you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P>
|
||||||
|
|
||||||
|
<P>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:</P>
|
||||||
|
<P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P>
|
||||||
|
]]>
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Disaster Recovery</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restore to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>
|
||||||
|
Enter a unique backup job name. The name should contain only letters,
|
||||||
|
numbers, periods, hyphens and underscores. No spaces.
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>
|
||||||
|
Enter a description for this backup job.
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>
|
||||||
|
A Disaster Recovery backup job runs additional system processes during backup
|
||||||
|
and restore events. Please set to Disabled if performing a standard backup.
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>
|
||||||
|
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 ].
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>
|
||||||
|
Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ].
|
||||||
|
One entry per line. Wildcards * and ? are valid.
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>
|
||||||
|
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.
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans>
|
||||||
|
<![CDATA[
|
||||||
|
<P>Valid targets are an attached local drive or network share.</P>
|
||||||
|
|
||||||
|
<P>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.</P>
|
||||||
|
|
||||||
|
<P>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.</P>
|
||||||
|
]]>
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>
|
||||||
|
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].
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>
|
||||||
|
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.
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>
|
||||||
|
Enter the compression level from 0 (none) to 9 (maximum).
|
||||||
|
No compression dramitcally improves backup speed.
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>
|
||||||
|
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.
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>
|
||||||
|
Enter a backup expiry time. This will keep backups on the target for n days.
|
||||||
|
Choosing 0 means backups are overwritten every day.
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>
|
||||||
|
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.
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>
|
||||||
|
Enter the day you would like this backup to occur. Leave manual for unscheduled manual use.
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>
|
||||||
|
Enter the time you would like this backup to occur in 24 hr (hh:mm) format.
|
||||||
|
</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/es/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/es/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="es">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disco ARchivo</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>No hay tareas de respaldo en el sistema</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>Ver/Modificar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Crear tarea de respaldo</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modificar tarea de respaldo</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restaurar tarea de respaldo</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Lanzar tarea de respaldo</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Eliminar tarea de respaldo</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Nombre tarea</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Selecciones de respaldo</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Excluir archivos</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Limpiar directorios</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Destino</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Tamaño</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>Sistema de Archivos</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compresión</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Nombre de usuario</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Vence</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Detallado</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Día de respaldo</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Hora de respaldo</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Unidad local</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Montada</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Recurso de red compartido</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Desmontada</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Introduzca la fecha del archivo desde el cual usted desea restaurar. Formato: [ yyyy.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Fecha</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Recuperación de Desastres</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restaurar a</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Ingrese un nombre de respaldo único. El nombre debe contener solamente letras, números, puntos, guiones y subraya. Sin espacios.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Ingrese una descripción para este respaldo.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Ingrese el nivel de compresión desde 0 (nada) hasta 9 (máximo). Sin compresión mejorará notablemente la velocidad del respaldo.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Ingrese el día que usted desea que este respaldo se lleve a cabo. Dejar en blanco para respaldo manual.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Introduzca la hora que usted desea para que se lleve a cabo este respaldo en el formato de 24 hr (hh:mm).</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/et/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/et/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="et">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>Süsteemis pole varundusprotsesse rakendatud.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>Vaata/Muuda</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Loo varundusprotsess</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Muuda varundusprotsessi</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Taasta varundusprotsess</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Käivita taastamisprotsess</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Eemalda varundusprotsess</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Protsessi nimi</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selections</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Ära kaasa faile</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Prune directories</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Sihtkoht</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Slice size</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>Failisüsteem</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Tihendamine</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Kasutajanimi</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Aegub</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Raport</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Varundamise päev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Varundamise aeg</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Kohalik ketas</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Mounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Network share</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Unmounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Sisesta varunduse kuupäev millest soovid taastada vormingus: [aaaa.kk.pp]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Kuupäev</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Disaster Recovery</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Taasta</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Sisesta unikaalne varunduse protsessi nimi. Nimes saab kasutada ainult numbreid, tähti, sümboleid. Tühikud pole lubatud.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Sisesta selle varundusprotsessi kirjeldus.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Sisesta varunduse aegumise kuupäev. See hoiab varundusfaile alles x päeva. Valid 0, see tähendab et varundusfail kirjutatakse igapäev üle.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Enter the day you would like this backup to occur. Leave manual for unscheduled manual use.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Sisesta kellaaeg millal see varundusprotsess peaks käivituma 24 tunni vormingus (tt.mm).</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/fr/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/fr/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="fr">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disque d'archives</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>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.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Créer une tâche de sauvegarde</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>Il n'y a actuellement aucune tâche de sauvegarde sur ce système.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>Voir/Modifier</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Créer une tâche de sauvegarde</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modifier la tâche de sauvegarde</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restaurer une tâche de sauvegarde</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Lancer la tâche de sauvegarde</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Supprimer la tâche de sauvegarde</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Nom de la tâche</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Sélections de sauvegarde</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exclure les fichiers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Elaguer les dossiers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Cible</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Taille des segments</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>Système de fichiers</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Nom d'utilisateur</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiration</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Rapport détaillé</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Jour de sauvegarde</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Heure de sauvegarde</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Disque local</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Monté</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Partage réseau</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Non monté</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Saisissez la date de l'archive depuis laquelle vous souhaitez effectuer la restauration. Format : [ aaaa.mm.jj ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>Pour réaliser une restauration complète après sinistre faites comme ceci:</P> <P><B>Restauration après Sinistre</B> [ Activé] <B>Restauration</B> [ *.* ] <B>Restaurer vers</B> [ / ]</P> <P>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 <B>Reconfiguration</B> et un <B>Redémarrage</b> de votre serveur depuis le panel <B>Redémarrage et Arrêt</B>.</P> <P>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 :</P> <P><B>Restauration après sinistre</B> [ Désactivé] <B>Restauration</B> [ root/contribs ] <B>Restaurer vers</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Restauration après sinistre</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restaurer vers</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Saisissez un nom unique pour la tâche de sauvegarde. Ce nom doit contenir que des lettres, chiffres, points, soulignements et tirets. Aucun espace.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Saisissez une description pour cette tâche de sauvegarde.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>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é.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Les cibles valides sont des disques locaux ou des partages sur le réseau.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Saisissez le taux de compression de 0 (aucune) à 9 (maximum). L'absence de compression améliore significativement la vitesse de sauvegarde.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Saisissez le jour où vous désirez voir cette sauvegarde se réaliser. Laissez à manuel pour une sauvegarde non programmée à utilisation manuelle.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Saisissez lh'eure à laquelle vous voulez réaliser cette sauvegarde au format horaire 0-24 (hh:mm).</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/he/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/he/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="he">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>There are no backup jobs in the system.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>View/Modify</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Create backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modify backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restore backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Launch backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remove backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Job name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selections</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exclude files</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Prune directories</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Target</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Slice size</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>File system</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>שם משתמש</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backup day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backup time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Local drive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Mounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Network share</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Unmounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Disaster Recovery</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restore to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Enter a description for this backup job.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Enter the day you would like this backup to occur. Leave manual for unscheduled manual use.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/hu/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/hu/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="hu">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>There are no backup jobs in the system.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>View/Modify</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Create backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modify backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restore backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Launch backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remove backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Job name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selections</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exclude files</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Prune directories</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Target</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Slice size</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>File system</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Felhasználónév</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backup day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backup time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Local drive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Mounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Network share</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Unmounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Dátum</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Disaster Recovery</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restore to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Enter a description for this backup job.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Enter the day you would like this backup to occur. Leave manual for unscheduled manual use.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/id/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/id/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="id">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>There are no backup jobs in the system.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>View/Modify</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Create backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modify backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restore backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Launch backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remove backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Job name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selections</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exclude files</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Prune directories</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Target</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Slice size</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>File system</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Nama pengguna</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backup day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backup time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Local drive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Mounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Network share</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Unmounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Disaster Recovery</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restore to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Enter a description for this backup job.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Enter the day you would like this backup to occur. Leave manual for unscheduled manual use.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/it/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/it/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="it">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>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.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Crea backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>Non ci sono lavori di backup definiti sul sistema</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>Visualizza/Modifica</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Crea backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modifica backup job </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Ripristina backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Avvia backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Elimina backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Nome del backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Selezione per il backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Escludi file</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Escludi cartelle</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Destinazione</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Dimensione segmento</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>File system</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compressione</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Nome utente</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Scadenza</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Giorno del backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Ora del backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Disco locale</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Montato</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Condivisione di rete</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Non montato</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Inserire la data dell'archivio da cui ripristinare i file. Formato: [ yyyy.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Data</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>Per eseguire un disaster recovery completo configurarlo come segue:</P> <P><B>Disaster Recovery</B> [ Abilitato ] <B>Ripristino</B> [ *.* ] <B>Ripristino su</B> [ / ]</P> <P>Nota: dopo il completamento di un disaster recovery, è necessario accedere al pannello del server manager <B>Riavvio spegnimento</B> e selezionare <B>Riconfigura</B> il server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabilitato ] <B>Ripristino</B> [ root/contribs ] <B>Ripristino su</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Disaster Recovery</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Ripristino su</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Inserire un nome unico per il backup job. Il nome deve contenere solo lettere, numeri, punti, trattini e underscore. Non sono ammessi spazi.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Inserire una descrizione per il backup job.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>Un Disaster Recovery esegue dei processi di sistema aggiuntivi durante il salvataggio ed il ripristino. Impostare a 'disabilitato' se si esegue un salvataggio standard.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>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 ?.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Le destinazioni valide sono un disco locale collegato al server o una cartella di rete.</P> <P>Se si salva su un disco locale, inserire il mount point del disco. Esempio: [/media/usbdisk]. Lasciare i campi username e password vuoti.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Inserire il livello di compressione da 0 (none) a 9 (maximum). Nessuna compressione incrementa drasticamente la velocità di backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Inserire una scadenza per il backup. Il backup verrà conservato per n giorni. Inserendo 0 i backup verranno sovrascritti ogni giorno.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Inserire il giorno in cui si desidera che venga eseguito il backup. Lasciare su manuale per non programmare il backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Inserire l'ora del backup in formato 24 ore (hh:mm).</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/ja/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/ja/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="ja">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>There are no backup jobs in the system.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>View/Modify</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Create backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modify backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restore backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Launch backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remove backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Job name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selections</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exclude files</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Prune directories</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Target</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Slice size</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>File system</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>ユーザ名</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backup day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backup time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Local drive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Mounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Network share</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Unmounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Disaster Recovery</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restore to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Enter a description for this backup job.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Enter the day you would like this backup to occur. Leave manual for unscheduled manual use.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/nb/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/nb/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="nb">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>There are no backup jobs in the system.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>View/Modify</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Create backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modify backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restore backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Launch backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remove backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Job name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selections</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exclude files</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Prune directories</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Target</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Slice size</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>File system</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Brukernavn</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backup day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backup time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Local drive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Mounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Network share</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Unmounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Disaster Recovery</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restore to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Enter a description for this backup job.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Enter the day you would like this backup to occur. Leave manual for unscheduled manual use.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/nl/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/nl/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="nl">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>Er zijn geen back-up taken in het systeem.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>Bekijken/Wijzigen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Back-up taak aanmaken</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Back-up taak wijzigen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Back-up taak herstellen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Back-up taak starten</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Back-up taak verwijderen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Taak naam</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selecties</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Negeer bestanden</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Negeer mappen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Doel</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Deel grootte</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>Bestandssysteem</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compressie</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Gebruikersnaam</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Verlopen</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Uitgebreid</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Back-up dag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Back-up tijd</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Lokaal schijfstation</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Aangesloten</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Netwerk schijfstation</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Ontkoppeld</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Voer de datum in van het archief dat u wilt herstellen. Formaat: [ jjjj.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Datum</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Ramp herstel</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Herstellen naar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Voer een unieke back-up taaknaam in. De naam mag alleen letters, cijfers, punten, koppeltekens en lage streepjes bevatten. Geen spaties.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Voer een beschrijving in voor deze back-up taak.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Voer bestands uitzonderingen in. Bijvoorbeeld: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. Een opgave per regel. Wildcard tekens * en ? kunnen gebruikt worden.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Voer het niveau van comprimeren in van 0 (geen) tot 9 (maximaal). Door geen compressie te gebruiken word de back-up snelheid dramatisch verbeterd.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Voer de dag in waarop u deze back-up wilt laten uitvoeren. Laat op handmatig staan voor ongepland handmatig gebruik.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Voer de tijd in waarop u deze back-up wilt laten uitvoeren in 24 uurs formaat (uu:mm).</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/pl/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/pl/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="pl">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>There are no backup jobs in the system.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>View/Modify</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Create backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modify backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restore backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Launch backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remove backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Job name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selections</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exclude files</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Prune directories</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Target</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Slice size</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>File system</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Nazwa użytkownika</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backup day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backup time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Local drive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Mounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Network share</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Unmounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Disaster Recovery</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restore to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Enter a description for this backup job.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Enter the day you would like this backup to occur. Leave manual for unscheduled manual use.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="pt-br">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>Não há trabalhos de backup no sistema.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>Ver/Modificar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Criar trabalho de backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modificar trabalho de backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restaurar trabalho de backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Iniciar trabalho de backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remover trabalho de backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Nome do trabalho</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Seleções do Backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Excluir arquivos</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Cortar diretórios</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Destino</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Tamanho da fatia</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>Sistema de Arquivos</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compressão</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Nome de usuário</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiração</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Dia do Backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Horário do Backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Drive local</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Montado</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Compartilhamento de rede</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Desmontado</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Digite a data do arquivo a partir do qual você deseja restaurar. Formato: [ aaaa.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Data</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Recuperação de Desastre</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restaurar para</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Digite uma descrição para este trabalho de backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Digite o nível de compressão de 0 (nenhuma) até 9 (máxima). Nenhuma compressão melhora dramaticamente a velocidade de backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Digite o dia que você gostaria que este backup inicie. Deixe em manual para uso não programado onde você faz o backup manualmente.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Digite o horário que você gostaria que este backup iniciasse no formato 24 horas (hh:mm)</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/pt/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/pt/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="pt">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>Não há trabalhos de backup no sistema.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>Ver/Modificar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Criar trabalho de backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modificar trabalho de backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restaurar trabalho de backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Iniciar trabalho de backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remover trabalho de backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Nome do trabalho</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Seleções do Backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Excluir arquivos</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Cortar diretórios</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Destino</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Tamanho da fatia</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>Sistema de Arquivos</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compressão</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Nome de usuário</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiração</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Dia do Backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Horário do Backup</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Drive local</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Montado</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Compartilhamento de rede</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Desmontado</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Digite a data do arquivo a partir do qual você deseja restaurar. Formato: [ aaaa.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Data</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Recuperação de Desastre</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restaurar para</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Digite uma descrição para este trabalho de backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Digite o nível de compressão de 0 (nenhuma) até 9 (máxima). Nenhuma compressão melhora dramaticamente a velocidade de backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Digite o dia que você gostaria que este backup inicie. Deixe em manual para uso não programado onde você faz o backup manualmente.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Digite o horário que você gostaria que este backup iniciasse no formato 24 horas (hh:mm)</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/ro/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/ro/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="ro">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>There are no backup jobs in the system.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>View/Modify</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Create backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modify backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restore backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Launch backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remove backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Job name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selections</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exclude files</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Prune directories</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Target</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Slice size</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>File system</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Utilizator</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backup day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backup time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Disc local</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Montat</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Partajare in rețea</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Demontat</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Introduceți data arhivei pe care doriți să o restaurați. Format [aaaa.ll.zz]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Dată</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>Pentru a face o recuperare completa de dezastru procedați astfel:</P> <P><B>Recuperare pentru dezastru</B> [ Activă ] <B>Restaurează</B> [ *.* ] <B>Restaurează către</B> [ / ]</P> <P>Notă: După terminarea resturării complete după dezastru, va trbui să intrati in panoul de control <B>Reboot sau oprire</B> și să <B>Reconfigurați</B> serverul.</P> <P>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:</P> <P><B>Recuperare de dezastru</B> [ Dezactivă ] <B>Restaurează</B> [ root/contribs ] <B>Restaurează la</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Restaurare de dezastru</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restaurează către</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Introduceți un nume unic pentu arhivare: Numele trebuie să conțină doar litere, numere, paranteze, cratime si sublinieri. Fără spații. </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Introduceți o descriere pentru aceasă activitate de arhivare.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Enter the day you would like this backup to occur. Leave manual for unscheduled manual use.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/ru/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/ru/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="ru">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>There are no backup jobs in the system.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>View/Modify</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Create backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modify backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restore backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Launch backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remove backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Job name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selections</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exclude files</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Prune directories</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Target</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Slice size</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>File system</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Имя пользователя</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backup day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backup time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Local drive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Mounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Network share</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Unmounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Disaster Recovery</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restore to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Enter a description for this backup job.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Enter the day you would like this backup to occur. Leave manual for unscheduled manual use.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/sl/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/sl/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="sl">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>There are no backup jobs in the system.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>View/Modify</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Create backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modify backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restore backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Launch backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remove backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Job name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selections</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exclude files</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Prune directories</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Target</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Slice size</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>File system</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Uporabniško ime</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backup day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backup time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Local drive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Mounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Network share</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Unmounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Disaster Recovery</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restore to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Enter a description for this backup job.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Enter the day you would like this backup to occur. Leave manual for unscheduled manual use.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/sv/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/sv/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="sv">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>Det finns inga backuparbeten på systemet.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>Visa/Ändra</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Skapa backup-jobb</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Ändra backup-jobb</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Återställ backup-jobb</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Starta backup-jobb</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Återställ backup-jobb</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Jobbnamn</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Valda backup-jobb</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exkludera filer</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Beskär mappar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Mål</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Storlek på delar</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>Filsystem</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Kompression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Användarnamn</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Utgår</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Detaljrik</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backupdag</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backuptid</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Lokal enhet</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Monterad</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Nätverksenhet</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Avmonterad</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Ange datumet på det arkiv du önskar återställa från. Format: [ yyyy.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Datum</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Katastrofåterställning</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Återställ till</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Ange ett unikt arbetsnamn. Namnet skall endast innehålla bokstäver, siffror, punkt, bindestreck eller understrykning. Inga mellanslag.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Ange en beskrivning över detta backuparbete.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>Ett katastrofåterställningsarbete kör ytterligare systemprocesser under backup och återställning. Ange avaktiverad om du genomför en standardbackup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Ange filer som skall undantas. Exempel: [home/e-smith/files/ibays/ibayname/document.doc ]. Ett värde per rad. Jokrar * och ? är giltiga.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>Ange mappar om inte skall inkluderas i backupen. Exempel: [ home/e-smith/files/ibays/ibayname ]. Ett värde per rad. Jokrar * och ? är giltiga.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Ange kompressionsnivån från 0 (ingen) till 9 (maximal). Ingen kompression ökar dramatiskt backuphastigheten.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Ange dagen då du önskar att denn backup skall göras. Ange manuell för ej schemalagd manuellt användande.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Ange tidpunkten då du önskar att backupen görs i 24-timmars format (hh:mm).</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/th/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/th/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="th">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>There are no backup jobs in the system.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>View/Modify</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Create backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modify backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restore backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Launch backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remove backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Job name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selections</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exclude files</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Prune directories</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Target</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Slice size</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>File system</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>ชื่อผู้ใช้</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backup day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backup time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Local drive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Mounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Network share</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Unmounted</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Enter the date of the archive you wish to restore from. Format: [ yyyy.mm.dd ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Date</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Disaster Recovery</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Restore to</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Enter a description for this backup job.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Enter the compression level from 0 (none) to 9 (maximum). No compression dramitcally improves backup speed.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Enter the day you would like this backup to occur. Leave manual for unscheduled manual use.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/tr/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/tr/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="tr">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>Disk ARchive</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>Use this panel to define, schedule and launch server backups and restores, to and from network shares or an attached local disk.</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">Create backup job</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>Sistemde yedekeleme işlemleri bulunmuyor.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>Gör/Değiştir</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>Create backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>Modify backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>Restore backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>Launch backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>Remove backup job</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>Job name</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>Backup selections</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>Exclude files</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>Prune directories</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>Target</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>Slice size</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>File system</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>Compression</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>Kullanıcı adı</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>Expiry</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>Verbose</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>Backup day</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>Backup time</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>Yerel sürücü</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>Bağlı</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>Ağ paylaşımı</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>Bağlı değil</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>Geri yüklemek istediğiniz arşiv tarihini girini. Formatı: [ yyyy.aa.gg ]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>Tarih</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>To perform a full disaster recovery restore set the following:</P> <P><B>Disaster Recovery</B> [ Enabled ] <B>Restore</B> [ *.* ] <B>Restore to</B> [ / ]</P> <P>Note: After completion of a full disaster recovery restore, you will need to enter the server-manager <B>Reboot or shutdown</B> panel and <B>Reconfigure</B> your server.</P> <P>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:</P> <P><B>Disaster Recovery</B> [ Disabled ] <B>Restore</B> [ root/contribs ] <B>Restore to</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>Disaster Recovery</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>Geri yükleme</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>Enter a unique backup job name. The name should contain only letters, numbers, periods, hyphens and underscores. No spaces.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>Bu yedekleme için bir açıklama girin.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>A Disaster Recovery backup job runs additional system processes during backup and restore events. Please set to Disabled if performing a standard backup.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>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 ].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>Enter any file exclusions. Example: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. One entry per line. Wildcards * and ? are valid.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>Valid targets are an attached local drive or network share.</P> <P>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.</P> <P>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.</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>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].</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>Sıkıştırma düzeyi girin 0 (yok) 9 (maksimum). Sıkıştırma uygulanmadığı zaman yedekleme daha hızlı çalışır.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>Enter a backup expiry time. This will keep backups on the target for n days. Choosing 0 means backups are overwritten every day.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>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.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>Enter the day you would like this backup to occur. Leave manual for unscheduled manual use.</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="zh-cn">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>磁盘归档</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>使用此面板来定义、预设和执行服务器的备份与还原操作,不论使用本地磁盘还是网络共享。</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">创建备份任务</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>当前系统没有备份任务。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>查看/修改</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>创建备份任务</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>修改备份任务</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>还原备份任务</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>执行备份任务</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>移除备份任务</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>任务名</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>备份位置</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>不包括的文件</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>修剪目录</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>目标</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>块大小</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>文件系统</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>压缩</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>用户名</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>到期</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>详情</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>备份日期</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>备份时间</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>本地驱动器</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>已挂载</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>网络共享</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>未挂载的</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>输入您要还原的档案日期。格式[yyyy.mm.dd]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>日期</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>要执行完整的灾难还原操作设置如下:</P> <P><B>灾难恢复</B> [ 启用 ] <B>恢复</B> [ *.* ] <B>恢复到</B> [ / ]</P> <P>注意:当完成完整的灾难恢复后,您需要进入服务器管理界面<B>重新启动或者关机</B> 控制面板和 <B>重新配置</B> 您的服务器.</P> <P>要执行选择性的恢复,每行输入一个恢复路径。路径必须为相对路径. 比如: 要恢复/root/contribs 到初始化状态,因此您要输入:</P> <P><B>灾难恢复</B> [ 禁用 ] <B>恢复</B> [ root/contribs ] <B>恢复到o</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>灾难恢复</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>恢复到</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>输入一个唯一的备份作业名称。此名称只能包括字母,数字,周期,连接符和下划线</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>为此备份作业输入描述。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>灾难恢复备份作业执行和恢复是要运行额外的系统进程。如果执行标准的备份,请设置为禁用。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>用于灾难恢复的所有备份选项罗列如下。注意:绝对路径不可用。所有路径必须在跟目录的第一层。例如:[home] 是相对路径,即正确的,[/home] 是绝对路径,即错误的。如果您正在执行标准备份,按照如下要求编辑备份栏。每行一个路径,注意:别输入[ /,/blah,proc,tmp ]。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>请输入文件路径。例如: [ home/e-smith/files/ibays/ibayname/files/document.doc ]. 每行一个输入。通配符 * 和 ? 都可用。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>请输入目录树,不包含备份。例如: [ home/e-smith/files/ibays/ibayname ]。每行一个输入。通配符 * 和 ? 都可用。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>有效的目标是一个本地磁盘或网络共享。</P> <P>如果是备份到本地磁盘,请输入磁盘的挂载点。例如: [/media/usbdisk]。 用户名和密码请留空。</P> <P>如果是备份到网络共享,也请输入路径。例如: [//computername/sharename]。另外,您需要输入有效的用户名和密码,以保证使用目标机器的本地用户,并确保在网络共享中有完整的权限。 </P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>支持三种文件系统。[ext3]用于备份到本地磁盘。[smbfs]用于备份到Windows工作站和SME Server的网络共享。[cifs]用于备份到Windows服务器。注意:如果使用cifs,上面的路径必须使用IP地址。例如: [//10.1.1.1/sharename]。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>请输入备份卷的大小(兆)。比如创建一个650M光盘大小的卷则输入[ 650 ] 。目标任务会创建以下格式的文件: job.yyyy.mm.dd.1.dar、job.yyyy.mm.dd.2.dar,等等。注意,卷大小上限为 2000MB,备份任务大小则受限于目标磁盘上的空余空间。 </trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>请输入压缩比率,0不压缩,9最大压缩。若不压缩,可显著提高备份速度。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>如果备份到网络共享,请输入有效的用户名和密码,以保证使用目标机器的本地用户,并确保在网络共享中有完整权限。如果备份到本地磁盘,用户名和密码请留空。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>请输入备份过期时间。这将在设备上保存备份 n 天。选择 0 意味着所有的旧备份每天都会被新的备份覆盖。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>此处设置输出详情。On 表示逐个罗列每个文件,并创建日志文件。Off 表示仅显示概要且不创建日志。注意,如果启用的输出文件类型与备份任务有关,那么它可能非常大。定制的任务将发送一封任务详情的邮件给管理员。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>请输入备份进行的日期。不定时手动备份请选择手动。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>请输入备份进行的时间点(24小时 hh:mm)。</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
187
root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/dar2
Normal file
187
root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/dar2
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<lexicon lang="zh-tw">
|
||||||
|
<entry>
|
||||||
|
<base>FORM_TITLE</base>
|
||||||
|
<trans>磁碟存檔</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>FORM_DESCRIPTION</base>
|
||||||
|
<trans><![CDATA[ <p>使用此控制台來定義、排程與執行伺服器,欲備份到與來自於分享的網路,或是附掛的本機磁碟。</p> <p><a class="button-like" href="dar2?page=0&page_stack=&Next=Next&wherenext=DAR2_PAGE_CREATE">建立備份作業</a></p> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NO_BACKUP_JOBS</base>
|
||||||
|
<trans>目前系統無備份作業。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY</base>
|
||||||
|
<trans>檢視/修正</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>CREATE_TITLE</base>
|
||||||
|
<trans>建立備份工作</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MODIFY_TITLE</base>
|
||||||
|
<trans>修正備份工作</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_TITLE</base>
|
||||||
|
<trans>恢復備份工作</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TITLE</base>
|
||||||
|
<trans>執行備份工作</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>REMOVE_TITLE</base>
|
||||||
|
<trans>移除備份工作</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>JOBNAME</base>
|
||||||
|
<trans>工作名稱</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP</base>
|
||||||
|
<trans>備份選擇</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXCLUDE</base>
|
||||||
|
<trans>排除的檔案</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>PRUNE</base>
|
||||||
|
<trans>縮減目錄</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>TARGET</base>
|
||||||
|
<trans>目標</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>SLICE</base>
|
||||||
|
<trans>區塊大小</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VFSTYPE</base>
|
||||||
|
<trans>檔案系統</trans>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<base>COMPRESSION</base>
|
||||||
|
<trans>壓縮</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>USERNAME</base>
|
||||||
|
<trans>使用者名稱</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>EXPIRY</base>
|
||||||
|
<trans>到期</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>VERBOSE</base>
|
||||||
|
<trans>詳情</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_DAY</base>
|
||||||
|
<trans>備份日期</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>BACKUP_TIME</base>
|
||||||
|
<trans>備份時間</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>LOCALDRIVE</base>
|
||||||
|
<trans>本地裝置</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>MOUNTED</base>
|
||||||
|
<trans>已掛載</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>NETWORKSHARE</base>
|
||||||
|
<trans>網路共享</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>UNMOUNTED</base>
|
||||||
|
<trans>未掛載</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DATE</base>
|
||||||
|
<trans>輸入您要還原的檔案日期。格式[yyyy.mm.dd]</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DATE</base>
|
||||||
|
<trans>日期</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_RESTORE_DR</base>
|
||||||
|
<trans><![CDATA[ <P>欲執行完整的災難復原恢復設定如下:</P> <P><B>災難復原</B> [ 啟用 ] <B>恢復</B> [ *.* ] <B>恢復到</B> [ / ]</P> <P>注意:完成完整的災難復原恢復後,您需進入伺服器管理<B>重啟或關機</B>控制台並<B>重置</B>您的伺服器。</P> <P>要執行選擇性恢復,逐行輸入恢復路徑。路徑須為相對路徑。例如:欲恢復 /root/contribs 到原始位置,您將須輸入:</P> <P><B>災難復原</B> [ 禁用 ] <B>恢復</B> [ root/contribs ] <B>恢復到</B> [ / ]</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_DR</base>
|
||||||
|
<trans>災難復原</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>RESTORE_RESTORETO</base>
|
||||||
|
<trans>還原至</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_JOBNAME</base>
|
||||||
|
<trans>輸入單一備份作業名稱。此名稱只能包括字母、數字、句號、連接號和底線。不可空白。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DESC</base>
|
||||||
|
<trans>為此備份作業輸入描述。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_DR</base>
|
||||||
|
<trans>災難復原備份作業運作於備份與恢復事件的額外系統程序。若執行標準備份請設定為禁用。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP</base>
|
||||||
|
<trans>執行災難復原的所有備份選項預設如下。注意:不可使用絕對路徑。所有路徑必須相對於根目錄。例如:[home] 是相對路徑/正確;[/home] 是絕對路徑/錯誤。倘若您正執行標準備份,請依下列要求編輯備份選項。逐行逐條。勿輸入 [ /,/blah,proc,tmp ]。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXCLUDE</base>
|
||||||
|
<trans>請輸入任一排除檔案。例如:[ home/e-smith/files/ibays/ibayname/files/document.doc ]。逐行逐條。可允許泛用字元"*"與"?"。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_PRUNE</base>
|
||||||
|
<trans>請輸入任一精簡的樹狀目錄並且不含備份。例如:[ home/e-smith/files/ibays/ibayname ]。逐行逐條。可允許泛用字元"*"與"?"。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_TARGET</base>
|
||||||
|
<trans><![CDATA[ <P>有效的目標是一個附加的本機磁碟或共享網路。</P> <P>倘若備份到附加的本機磁碟,請輸入磁碟的掛載點。例如: [/media/usbdisk]。使用者名稱和密碼請留白。</P> <P>倘若備份到共享網路,請輸入UNC格式路徑。例如:[//computername/sharename]。此外,您必須輸入目標機器上,具有完整存取權限之有效使用者名稱/密碼的本機帳號。</P> ]]></trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VFSTYPE</base>
|
||||||
|
<trans>支持三種檔案系統。[ext3]用於備份到本機附加的磁碟。[smbfs]用於備份到Windows工作站和SME Server的分享網路。[cifs]用於備份到微軟的Windows伺服器。注意:倘若使用cifs,上面的目標路徑必須使用IP位址。例如: [//10.1.1.1/sharename]。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_SLICE</base>
|
||||||
|
<trans>請輸入以百萬位元計的備份切割分卷。例如為了複製CDR/RW而建立650M的切割分卷,應該輸入 [ 650 ]。這將目標檔案以下列格式建立:job.yyyy.mm.dd.1.dar, job.yyyy.mm.dd.2.dar, 等等。注意,最大區塊大小為2000MB。所有備份作業的大小,僅限目標磁碟上的剩餘空間。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_COMPRESSION</base>
|
||||||
|
<trans>請輸入從0(無)到9(最大)的壓縮等級。無壓縮可顯著性地提高備份速度。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_U_P</base>
|
||||||
|
<trans>倘若備份到分享網路,輸入目標機器上,具有完整存取權限之有效使用者名稱/密碼的本機帳號。倘若備份到附加的本機磁碟,使用者名稱和密碼請留白。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_EXPIRY</base>
|
||||||
|
<trans>請輸入備份有效時間。這將在目標上保留備份 n 天。選擇 0 代表備份每日覆寫。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_VERBOSE</base>
|
||||||
|
<trans>詳細選項設定輸出細節。On代表檔案依次完全列出,並且生成log檔。Off僅摘要細節,並且不生成log檔。倘若允許輸出檔案的大小與備份作業的大小有關,極有可能相當大。排程作業將發送作業詳情的電郵給管理者。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_DAY</base>
|
||||||
|
<trans>請輸入欲備份的開始日期。不定期手動使用請保留手動。</trans>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<base>DESCRIPTION_BACKUP_TIME</base>
|
||||||
|
<trans>請以24小時的格式(hh:mm)輸入欲備份的開始時間。</trans>
|
||||||
|
</entry>
|
||||||
|
</lexicon>
|
35
root/etc/e-smith/templates/etc/crontab/dar2-backup
Normal file
35
root/etc/e-smith/templates/etc/crontab/dar2-backup
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
# --------------------------------------------------------------------
|
||||||
|
# This script builds the /etc/crontab entries for each dar2 job
|
||||||
|
#
|
||||||
|
# Copyright (C) 2003-2006 Darrell May <dmay@myezserver.com>
|
||||||
|
# --------------------------------------------------------------------
|
||||||
|
|
||||||
|
# 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";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
13
root/etc/e-smith/templates/etc/dar2/dar2-backup/00setup
Normal file
13
root/etc/e-smith/templates/etc/dar2/dar2-backup/00setup
Normal file
@ -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 = '';
|
||||||
|
}
|
9
root/etc/e-smith/templates/etc/dar2/dar2-backup/10Backup
Normal file
9
root/etc/e-smith/templates/etc/dar2/dar2-backup/10Backup
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
$Backup = $props{"Backup"} || "";
|
||||||
|
@Backup = split(/,/, "$Backup");
|
||||||
|
|
||||||
|
foreach $Backup (@Backup)
|
||||||
|
{
|
||||||
|
$OUT .= "--go-into \"$Backup\"\n";
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
my $Compression = $props{"Compression"} || "0";
|
||||||
|
|
||||||
|
if ("$Compression" != '0')
|
||||||
|
{
|
||||||
|
$OUT .= "--bzip2=$Compression\n";
|
||||||
|
$OUT .= <<EOF;
|
||||||
|
--exclude-compression "*.asf"
|
||||||
|
--exclude-compression "*.avi"
|
||||||
|
--exclude-compression "*.bz2"
|
||||||
|
--exclude-compression "*.bzip"
|
||||||
|
--exclude-compression "*.bzip2"
|
||||||
|
--exclude-compression "*.dar"
|
||||||
|
--exclude-compression "*.divx"
|
||||||
|
--exclude-compression "*.gif"
|
||||||
|
--exclude-compression "*.gz"
|
||||||
|
--exclude-compression "*.gzip"
|
||||||
|
--exclude-compression "*.iso"
|
||||||
|
--exclude-compression "*.jpeg"
|
||||||
|
--exclude-compression "*.jpg"
|
||||||
|
--exclude-compression "*.mp3"
|
||||||
|
--exclude-compression "*.mpeg"
|
||||||
|
--exclude-compression "*.mpg"
|
||||||
|
--exclude-compression "*.png"
|
||||||
|
--exclude-compression "*.ra"
|
||||||
|
--exclude-compression "*.rar"
|
||||||
|
--exclude-compression "*.rm"
|
||||||
|
--exclude-compression "*.rpm"
|
||||||
|
--exclude-compression "*.tgz"
|
||||||
|
--exclude-compression "*.wma"
|
||||||
|
--exclude-compression "*.wmv"
|
||||||
|
--exclude-compression "*.zip"
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
--empty-dir
|
||||||
|
--fs-root /
|
||||||
|
--noconf
|
||||||
|
--no-warn
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
$Exclude = $props{"Exclude"} || "";
|
||||||
|
@Exclude = split(/,/, "$Exclude");
|
||||||
|
|
||||||
|
foreach $Exclude (@Exclude)
|
||||||
|
{
|
||||||
|
$OUT .= "--exclude \"$Exclude\"\n";
|
||||||
|
}
|
||||||
|
}
|
9
root/etc/e-smith/templates/etc/dar2/dar2-backup/10Prune
Normal file
9
root/etc/e-smith/templates/etc/dar2/dar2-backup/10Prune
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
$Prune = $props{"Prune"} || "";
|
||||||
|
@Prune = split(/,/, "$Prune");
|
||||||
|
|
||||||
|
foreach $Prune (@Prune)
|
||||||
|
{
|
||||||
|
$OUT .= "--prune \"$Prune\"\n";
|
||||||
|
}
|
||||||
|
}
|
5
root/etc/e-smith/templates/etc/dar2/dar2-backup/10Slice
Normal file
5
root/etc/e-smith/templates/etc/dar2/dar2-backup/10Slice
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
$Slice = $props{"Slice"} || "";
|
||||||
|
|
||||||
|
$OUT .= "--slice $Slice" . "M\n";
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
$Verbose = $props{"Verbose"} || "";
|
||||||
|
|
||||||
|
if ("$Verbose" eq "on")
|
||||||
|
{
|
||||||
|
$OUT .= "--verbose\n";
|
||||||
|
}
|
||||||
|
}
|
15
root/etc/e-smith/templates/etc/dar2/dar2-restore/00setup
Normal file
15
root/etc/e-smith/templates/etc/dar2/dar2-restore/00setup
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
$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";
|
||||||
|
|
||||||
|
$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 = '';
|
||||||
|
}
|
@ -0,0 +1,3 @@
|
|||||||
|
--noconf
|
||||||
|
--no-warn
|
||||||
|
--verbose
|
22
root/etc/e-smith/templates/etc/dar2/dar2-restore/10Restore
Normal file
22
root/etc/e-smith/templates/etc/dar2/dar2-restore/10Restore
Normal file
@ -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";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
$RestoreTo = $rprops{"RestoreTo"} || "error";
|
||||||
|
|
||||||
|
$OUT .= "--fs-root \"$RestoreTo\"\n";
|
||||||
|
}
|
438
root/etc/e-smith/web/functions/dar2
Executable file
438
root/etc/e-smith/web/functions/dar2
Executable file
@ -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
|
||||||
|
title="FORM_TITLE"
|
||||||
|
header="/etc/e-smith/web/common/head.tmpl"
|
||||||
|
footer="/etc/e-smith/web/common/foot.tmpl">
|
||||||
|
|
||||||
|
<page name="First" pre-event="print_status_message()">
|
||||||
|
|
||||||
|
<description>FORM_DESCRIPTION</description>
|
||||||
|
|
||||||
|
<subroutine src="print_backup_jobs_table()" />
|
||||||
|
</page>
|
||||||
|
|
||||||
|
<page name="DAR2_PAGE_CREATE"
|
||||||
|
pre-event="turn_off_buttons()"
|
||||||
|
post-event="create_modify_backup" >
|
||||||
|
|
||||||
|
<description>CREATE_TITLE</description>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="jobname"
|
||||||
|
size="25"
|
||||||
|
value=""
|
||||||
|
validation="nonblank">
|
||||||
|
<label>JOBNAME</label>
|
||||||
|
<description>DESCRIPTION_JOBNAME</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="description"
|
||||||
|
size="50"
|
||||||
|
value=""
|
||||||
|
validation="nonblank">
|
||||||
|
<label>DESCRIPTION</label>
|
||||||
|
<description>DESCRIPTION_DESC</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="textarea"
|
||||||
|
id="backup"
|
||||||
|
value="get_drbackup()"
|
||||||
|
validation="nonblank">
|
||||||
|
<label>BACKUP</label>
|
||||||
|
<description>DESCRIPTION_BACKUP</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="textarea"
|
||||||
|
id="prune"
|
||||||
|
value=""
|
||||||
|
validation="">
|
||||||
|
<label>PRUNE</label>
|
||||||
|
<description>DESCRIPTION_PRUNE</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="textarea"
|
||||||
|
id="exclude"
|
||||||
|
value=""
|
||||||
|
validation="">
|
||||||
|
<label>EXCLUDE</label>
|
||||||
|
<description>DESCRIPTION_EXCLUDE</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="target"
|
||||||
|
size="50"
|
||||||
|
value=""
|
||||||
|
validation="">
|
||||||
|
<label>TARGET</label>
|
||||||
|
<description>DESCRIPTION_TARGET</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="username"
|
||||||
|
size="25"
|
||||||
|
value=""
|
||||||
|
validation="">
|
||||||
|
<label>USERNAME</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="password"
|
||||||
|
size="25"
|
||||||
|
value=""
|
||||||
|
validation="">
|
||||||
|
<label>PASSWORD</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="select"
|
||||||
|
id="vfstype"
|
||||||
|
options="'cifs' => 'cifs',
|
||||||
|
'ext3' => 'ext3',
|
||||||
|
'smbfs' => 'smbfs'"
|
||||||
|
value="smbfs"
|
||||||
|
validation="nonblank">
|
||||||
|
<label>VFSTYPE</label>
|
||||||
|
<description>DESCRIPTION_VFSTYPE</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="slice"
|
||||||
|
size="3"
|
||||||
|
value="650"
|
||||||
|
validation="zero_or_positive()">
|
||||||
|
<label>SLICE</label>
|
||||||
|
<description>DESCRIPTION_SLICE</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="select"
|
||||||
|
id="compression"
|
||||||
|
options="0,1,2,3,4,5,6,7,8,9"
|
||||||
|
value="0"
|
||||||
|
validation="zero_or_positive()">
|
||||||
|
<label>COMPRESSION</label>
|
||||||
|
<description>DESCRIPTION_COMPRESSION</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="expiry"
|
||||||
|
size="3"
|
||||||
|
value="0"
|
||||||
|
validation="zero_or_positive()">
|
||||||
|
<label>EXPIRY</label>
|
||||||
|
<description>DESCRIPTION_EXPIRY</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="select"
|
||||||
|
id="verbose"
|
||||||
|
options="'on','off'"
|
||||||
|
value="off"
|
||||||
|
validation="nonblank">
|
||||||
|
<label>VERBOSE</label>
|
||||||
|
<description>DESCRIPTION_VERBOSE</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="select"
|
||||||
|
id="backupday"
|
||||||
|
options="'manual','*','MON','TUE','WED','THU','FRI','SAT','SUN'"
|
||||||
|
value="manual"
|
||||||
|
validation="nonblank">
|
||||||
|
<label>BACKUP_DAY</label>
|
||||||
|
<description>DESCRIPTION_BACKUP_DAY</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="backuptime"
|
||||||
|
size="5"
|
||||||
|
value="23:30"
|
||||||
|
validation="">
|
||||||
|
<label>BACKUP_TIME</label>
|
||||||
|
<description>DESCRIPTION_BACKUP_TIME</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<subroutine src="print_button('SAVE')" />
|
||||||
|
</page>
|
||||||
|
|
||||||
|
<page name="DAR2_PAGE_MODIFY"
|
||||||
|
pre-event="turn_off_buttons()"
|
||||||
|
post-event="create_modify_backup" >
|
||||||
|
|
||||||
|
<description>MODIFY_TITLE</description>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="literal"
|
||||||
|
id="jobname">
|
||||||
|
<label>JOBNAME</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="description"
|
||||||
|
size="50"
|
||||||
|
value="get_description_value()"
|
||||||
|
validation="nonblank">
|
||||||
|
<label>DESCRIPTION</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="textarea"
|
||||||
|
id="backup"
|
||||||
|
value="get_backup_value()"
|
||||||
|
validation="nonblank">
|
||||||
|
<label>BACKUP</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="textarea"
|
||||||
|
id="prune"
|
||||||
|
value="get_prune_value()"
|
||||||
|
validation="">
|
||||||
|
<label>PRUNE</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="textarea"
|
||||||
|
id="exclude"
|
||||||
|
value="get_exclude_value()"
|
||||||
|
validation="">
|
||||||
|
<label>EXCLUDE</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="target"
|
||||||
|
size="50"
|
||||||
|
value="get_target_value()"
|
||||||
|
validation="">
|
||||||
|
<label>TARGET</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="username"
|
||||||
|
size="25"
|
||||||
|
value="get_username_value()"
|
||||||
|
validation="">
|
||||||
|
<label>USERNAME</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="password"
|
||||||
|
size="25"
|
||||||
|
value="get_password_value()"
|
||||||
|
validation="">
|
||||||
|
<label>PASSWORD</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="select"
|
||||||
|
id="vfstype"
|
||||||
|
options="'cifs' => 'cifs',
|
||||||
|
'ext3' => 'ext3',
|
||||||
|
'smbfs' => 'smbfs'"
|
||||||
|
value="get_vfstype_value()"
|
||||||
|
validation="nonblank">
|
||||||
|
<label>VFSTYPE</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="slice"
|
||||||
|
size="3"
|
||||||
|
value="get_slice_value()"
|
||||||
|
validation="zero_or_positive()">
|
||||||
|
<label>SLICE</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="select"
|
||||||
|
id="compression"
|
||||||
|
options="0,1,2,3,4,5,6,7,8,9"
|
||||||
|
value="get_compression_value()"
|
||||||
|
validation="zero_or_positive()">
|
||||||
|
<label>COMPRESSION</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="expiry"
|
||||||
|
size="3"
|
||||||
|
value="get_expiry_value()"
|
||||||
|
validation="zero_or_positive()">
|
||||||
|
<label>EXPIRY</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="select"
|
||||||
|
id="verbose"
|
||||||
|
options="'on','off'"
|
||||||
|
value="get_verbose_value()"
|
||||||
|
validation="nonblank">
|
||||||
|
<label>VERBOSE</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="select"
|
||||||
|
id="backupday"
|
||||||
|
options="'manual','*','MON','TUE','WED','THU','FRI','SAT','SUN'"
|
||||||
|
value="get_backupday_value()"
|
||||||
|
validation="nonblank">
|
||||||
|
<label>BACKUP_DAY</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="backuptime"
|
||||||
|
size="5"
|
||||||
|
value="get_backuptime_value()"
|
||||||
|
validation="nonblank">
|
||||||
|
<label>BACKUP_TIME</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<subroutine src="print_button('SAVE')" />
|
||||||
|
</page>
|
||||||
|
|
||||||
|
<page name="DAR2_PAGE_RESTORE"
|
||||||
|
pre-event="turn_off_buttons()"
|
||||||
|
post-event="restore_backup" >
|
||||||
|
|
||||||
|
<description>RESTORE_TITLE</description>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="literal"
|
||||||
|
id="jobname">
|
||||||
|
<label>JOBNAME</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="date"
|
||||||
|
size="10"
|
||||||
|
value=""
|
||||||
|
validation="nonblank">
|
||||||
|
<label>RESTORE_DATE</label>
|
||||||
|
<description>DESCRIPTION_RESTORE_DATE</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="select"
|
||||||
|
id="dr"
|
||||||
|
options="'Enabled','Disabled'"
|
||||||
|
value="Disabled"
|
||||||
|
validation="nonblank">
|
||||||
|
<label>RESTORE_DR</label>
|
||||||
|
<description>DESCRIPTION_RESTORE_DR</description>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="textarea"
|
||||||
|
id="restore"
|
||||||
|
value=""
|
||||||
|
validation="nonblank">
|
||||||
|
<label>RESTORE</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
id="restoreto"
|
||||||
|
size="25"
|
||||||
|
value=""
|
||||||
|
validation="nonblank">
|
||||||
|
<label>RESTORE_RESTORETO</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<subroutine src="print_button('PERFORM')" />
|
||||||
|
</page>
|
||||||
|
|
||||||
|
<page name="DAR2_PAGE_BACKUP"
|
||||||
|
pre-event="turn_off_buttons()"
|
||||||
|
post-event="perform_backup" >
|
||||||
|
|
||||||
|
<description>BACKUP_TITLE</description>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="literal"
|
||||||
|
id="jobname">
|
||||||
|
<label>JOBNAME</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="literal"
|
||||||
|
id="description"
|
||||||
|
value="get_description_value()">
|
||||||
|
<label>DESCRIPTION</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="literal"
|
||||||
|
id="target"
|
||||||
|
value="get_target_value()">
|
||||||
|
<label>TARGET</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<subroutine src="print_button('PERFORM')" />
|
||||||
|
</page>
|
||||||
|
|
||||||
|
<page name="DAR2_PAGE_REMOVE"
|
||||||
|
pre-event="turn_off_buttons()"
|
||||||
|
post-event="remove_backup" >
|
||||||
|
|
||||||
|
<description>REMOVE_TITLE</description>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="literal"
|
||||||
|
id="jobname">
|
||||||
|
<label>JOBNAME</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="literal"
|
||||||
|
id="description"
|
||||||
|
value="get_description_value()">
|
||||||
|
<label>DESCRIPTION</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<field
|
||||||
|
type="literal"
|
||||||
|
id="target"
|
||||||
|
value="get_target_value()">
|
||||||
|
<label>TARGET</label>
|
||||||
|
</field>
|
||||||
|
|
||||||
|
<subroutine src="print_button('PERFORM')" />
|
||||||
|
</page>
|
||||||
|
|
||||||
|
</form>
|
0
root/mnt/dar2/.gitignore
vendored
Normal file
0
root/mnt/dar2/.gitignore
vendored
Normal file
8
root/opt/dar2-mc/README
Normal file
8
root/opt/dar2-mc/README
Normal file
@ -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
|
58
root/opt/dar2-mc/extfs.ini
Normal file
58
root/opt/dar2-mc/extfs.ini
Normal file
@ -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
|
||||||
|
|
5
root/opt/dar2-mc/install.sh
Executable file
5
root/opt/dar2-mc/install.sh
Executable file
@ -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
|
559
root/opt/dar2-mc/mc.ext
Normal file
559
root/opt/dar2-mc/mc.ext
Normal file
@ -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 <rebel@penguin.cz>
|
||||||
|
|
||||||
|
|
||||||
|
### 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 ###
|
105
root/opt/dar2-mc/udar
Executable file
105
root/opt/dar2-mc/udar
Executable file
@ -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
|
0
root/usr/lib/.gitignore
vendored
Normal file
0
root/usr/lib/.gitignore
vendored
Normal file
389
root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/dar2.pm
Normal file
389
root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/dar2.pm
Normal file
@ -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 " <tr>\n <td colspan=\"2\">\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 = "<a href=\"$href=DAR2_PAGE_MODIFY&jobname=$BackupJob\">$modify</a>";
|
||||||
|
my $action2 = "<a href=\"$href=DAR2_PAGE_BACKUP&jobname=$BackupJob\">$backup</a>";
|
||||||
|
my $action3 = "<a href=\"$href=DAR2_PAGE_RESTORE&jobname=$BackupJob\">$restore</a>";
|
||||||
|
my $action4 = "<a href=\"$href=DAR2_PAGE_REMOVE&jobname=$BackupJob\">$remove</a>";
|
||||||
|
|
||||||
|
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(</table></td></tr>\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;
|
0
root/var/log/dar2/.gitignore
vendored
Normal file
0
root/var/log/dar2/.gitignore
vendored
Normal file
232
smeserver-dar2.spec
Normal file
232
smeserver-dar2.spec
Normal file
@ -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 <brianr@koozali.org> 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 <terry@fage.id.au> 0.0.3-3.sme
|
||||||
|
- apply locale 2024-09-04.patch
|
||||||
|
|
||||||
|
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 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 <stephdl@de-labrusse.fr> 0.0.3-1
|
||||||
|
- Initial release to sme9
|
||||||
|
|
||||||
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 0.0.1-32.sme
|
||||||
|
- apply locale 2013-07-14 patch
|
||||||
|
|
||||||
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.0.1-31.el6
|
||||||
|
- apply locale 2012-03-20 patch
|
||||||
|
|
||||||
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 0.0.1-30.sme
|
||||||
|
- apply locale 2011-03-06 patch
|
||||||
|
|
||||||
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.0.1-29.sme
|
||||||
|
- apply locale 2010-05-23 patch
|
||||||
|
|
||||||
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 0.0.1-28.sme
|
||||||
|
- apply locale 2010-03-02 patch
|
||||||
|
|
||||||
|
* Wed Oct 21 2009 SME Translation Server <translations@contribs.org> 0.0.1-27.sme
|
||||||
|
- apply locale 2009-10-21 patch
|
||||||
|
|
||||||
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 0.0.1-26.sme
|
||||||
|
- apply locale 2009-08-24 patch
|
||||||
|
|
||||||
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 0.0.1-25.sme
|
||||||
|
- apply locale 2009-05-20 patch
|
||||||
|
|
||||||
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 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 <smeserver-contribs@snetram.nl> 0.0.1-22
|
||||||
|
- Apply 1 Mar 2009 locale patch [SME: 5018]
|
||||||
|
|
||||||
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-21
|
||||||
|
- Apply 31 Jan 2009 locale patch [SME: 4951]
|
||||||
|
|
||||||
|
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-20
|
||||||
|
- Apply 1 Jan 2009 locale patch [SME: 4900]
|
||||||
|
|
||||||
|
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-19
|
||||||
|
- Apply 5 Nov 2008 locale patch
|
||||||
|
|
||||||
|
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-18
|
||||||
|
- Apply 14 Oct 2008 locale patch
|
||||||
|
|
||||||
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-17
|
||||||
|
- Apply 1 July 2008 locale patch
|
||||||
|
|
||||||
|
* Wed Jun 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-16
|
||||||
|
- Actually apply 25 Jun 2008 locale patch, forgot to commit patch
|
||||||
|
|
||||||
|
* Wed Jun 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-15
|
||||||
|
- Apply 25 Jun 2008 locale patch
|
||||||
|
|
||||||
|
* Fri May 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-14
|
||||||
|
- Apply 30 May 2008 locale patch
|
||||||
|
|
||||||
|
* Wed May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 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 <smeserver-contribs@snetram.nl> 0.0.1-12
|
||||||
|
- Apply 5 May 2008 locale patch
|
||||||
|
- Updated e-smith-formmagick requirement
|
||||||
|
|
||||||
|
* Mon Apr 28 2008 Shad L. Lords <slords@mail.com> 0.0.1-11
|
||||||
|
- Bump release to rebuild
|
||||||
|
|
||||||
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-10
|
||||||
|
- Take common <base> entries from e-smith-formmagick's general
|
||||||
|
|
||||||
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-9
|
||||||
|
- Fix changelog day
|
||||||
|
|
||||||
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-8
|
||||||
|
- Apply Mar 23 2008 translation patch
|
||||||
|
|
||||||
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-7
|
||||||
|
- Apply Mar 22 2008 translation patch
|
||||||
|
|
||||||
|
* Sun Apr 20 2008 Shad L. Lords <slords@mail.com> 0.0.1-6
|
||||||
|
- Remove scripts (not needed anymore)
|
||||||
|
|
||||||
|
* Sun Apr 20 2008 Shad L. Lords <slords@mail.com> 0.0.1-5
|
||||||
|
- Clean up translations to work with pootle
|
||||||
|
- Apply Mar 20 2008 translation patches
|
||||||
|
|
||||||
|
* Wed Aug 22 2007 Shad L. Lords <slords@mail.com> 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 <dmay@myezserver.com>
|
||||||
|
- 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 <dmay@myezserver.com>
|
||||||
|
- 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 <dmay@myezserver.com>
|
||||||
|
- added dar2-mc action
|
||||||
|
- added dar support files for Midnight Commander
|
||||||
|
- [0.0.1-1dmay]
|
||||||
|
* Thu Oct 19 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
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 <dmay@myezserver.com>
|
||||||
|
- BT:1979 German language file added
|
||||||
|
- BT:1982 fix navigation-conf generated error
|
||||||
|
- [0.0.1-b8dmay]
|
||||||
|
* Wed Oct 11 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- BT:1974 verbose prop now controls log file generation, default 'off'
|
||||||
|
- [0.0.1-b7dmay]
|
||||||
|
* Wed Oct 11 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- 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 <dmay@myezserver.com>
|
||||||
|
- 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 <dmay@myezserver.com>
|
||||||
|
- BT:1964 crontab
|
||||||
|
- [0.0.1-b4dmay]
|
||||||
|
* Fri Oct 06 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- added dar2-dr-restore, a disaster recovery restore script.
|
||||||
|
- [0.0.1-b3dmay]
|
||||||
|
* Thu Oct 05 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- added db prop Verbose to control backup output detail
|
||||||
|
- [0.0.1-b2dmay]
|
||||||
|
* Thu Oct 05 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- update actions dar2-backup/restore to support custom mount points
|
||||||
|
- [0.0.1-b1dmay]
|
||||||
|
* Wed Oct 04 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- initial beta release
|
||||||
|
- [0.0.1-b0dmay]
|
||||||
|
* Mon Oct 02 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- drop db backup2 defaults
|
||||||
|
- edit panel name to Disk ARchive
|
||||||
|
- [0.0.1-a7dmay]
|
||||||
|
* Sun Oct 01 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- initial public alpha release
|
||||||
|
- [0.0.1-a6dmay]
|
||||||
|
* Sun Oct 01 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- initial rebuild on Restore panel
|
||||||
|
- [0.0.1-a5dmay]
|
||||||
|
* Fri Sep 29 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- initial rebuild on View/Modify, Backup, Remove panels
|
||||||
|
- added Expiry to dar2-backup script
|
||||||
|
- [0.0.1-a4dmay]
|
||||||
|
* Thu Sep 28 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- server-manager panel debugging
|
||||||
|
- [0.0.1-a3dmay]
|
||||||
|
* Thu Sep 28 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- server-manager panel debugging
|
||||||
|
- [0.0.1-a2dmay]
|
||||||
|
* Wed Sep 27 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- initial server-manager panel build
|
||||||
|
- [0.0.1-a1dmay]
|
||||||
|
* Wed Sep 27 2006 Darrell May <dmay@myezserver.com>
|
||||||
|
- 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user