initial commit of file from CVS for smeserver-rsync-backup2disk on Sat Sep 7 19:58:58 AEST 2024

This commit is contained in:
Trevor Batley 2024-09-07 19:58:58 +10:00
parent 65ffb5d2f4
commit 462b92b7fa
56 changed files with 2744 additions and 2 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*.rpm
*.log
*spec-20*
*.tar.gz

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
# Makefile for source rpm: smeserver-rsync-backup2disk
# $Id: Makefile,v 1.1 2021/04/03 01:29:26 jpp Exp $
NAME := smeserver-rsync-backup2disk
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)

View File

@ -1,3 +1,15 @@
# smeserver-rsync-backup2disk
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> smeserver-rsync-backup2disk
SMEServer Koozali developed git repo for smeserver-rsync-backup2disk smecontribs
## Wiki
<br />https://wiki.koozali.org/Rsync-backup2disk
## Bugzilla
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-rsync-backup2disk&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 />

1
contriborbase Normal file
View File

@ -0,0 +1 @@
contribs10

18
createlinks Executable file
View File

@ -0,0 +1,18 @@
#!/usr/bin/perl -w
use esmith::Build::CreateLinks qw(:all);
use File::Basename;
use File::Path;
templates2events("/etc/crontab", qw(conf-rsync));
templates2events("/etc/rsync.exclude", qw(bootstrap-console-save conf-rsync));
templates2events("/etc/rsync.include", qw(bootstrap-console-save conf-rsync));
my $panel = "manager";
panel_link("rsync", $panel);
my $event ="smeserver-rsync-backup2disk-update";
templates2events("/etc/crontab", $event);
templates2events("/etc/rsync.exclude", $event);
templates2events("/etc/rsync.include", $event);

View File

@ -0,0 +1 @@
/media/usbdisk

View File

@ -0,0 +1 @@
23:30

View File

@ -0,0 +1 @@
14:00

View File

@ -0,0 +1 @@
disabled

View File

@ -0,0 +1 @@
backupservice

View File

@ -0,0 +1,57 @@
#!/bin/sh
STATUS=$(/sbin/e-smith/config getprop rsync status)
if [ "$STATUS" != 'enabled' ]
then
exit 0
fi
# variables
STIME=$(/bin/date)
MOUNT=$(/sbin/e-smith/config getprop rsync Mount)
ID=$(/sbin/e-smith/config get SystemName).$(/sbin/e-smith/config get DomainName)
RSYNC="/usr/bin/rsync"
OPTIONS="-aur --delete --stats --force --files-from=/etc/rsync.include --exclude-from=/etc/rsync.exclude"
# fix if /etc/smbpasswd from rsync.include is missing
if [ ! -e /etc/smbpasswd ]
then
/bin/touch /etc/smbpasswd
fi
# release & mount destination
/bin/umount $MOUNT >/dev/null 2>&1
/bin/echo "Connecting to $MOUNT"
/bin/mount $MOUNT || exit 1
# check for valid ext3
if [ ! -d $MOUNT/lost+found ]
then
/bin/echo "$MOUNT does not appear to be ext3 format!"
exit 2
fi
# create destination dirs
/bin/mkdir -p $MOUNT/$ID/rsync || exit 3
# execute pre-backup event
/bin/echo "Executing pre-backup event"
/sbin/e-smith/signal-event pre-backup || exit 4
# perform rsync backup
/bin/echo "Performing rsync to $MOUNT/$ID/rsync"
$RSYNC $OPTIONS / $MOUNT/$ID/rsync || exit 5
# execute post-backup event
/bin/echo "Executing post-backup event"
/sbin/e-smith/signal-event post-backup || exit 6
# dismount
/bin/echo "Dismounting $MOUNT"
/bin/umount -l $MOUNT &
FTIME=$(/bin/date)
/bin/echo ""
/bin/echo "$STIME - backup started"
/bin/echo "$FTIME - backup finished"

View File

@ -0,0 +1,43 @@
#!/bin/sh
STATUS=$(/sbin/e-smith/config getprop rsync status)
if [ "$STATUS" != 'enabled' ]
then
exit 0
fi
# variables
MOUNT=$(/sbin/e-smith/config getprop rsync Mount)
ID=$(/sbin/e-smith/config get SystemName).$(/sbin/e-smith/config get DomainName)
# set config
/bin/echo "Enabling CopyFromDisk configuration"
/sbin/e-smith/db configuration setprop backup Program CopyFromDisk status enabled || exit 1
# release & mount destination
/bin/umount $MOUNT >/dev/null 2>&1
/bin/echo "Connecting to $MOUNT"
/bin/mount $MOUNT || exit 2
# check for valid backup
if [ ! -d $MOUNT/$ID/rsync ]
then
/bin/echo "$MOUNT/$ID/rsync does not exist!"
exit 3
fi
# execute pre-restore event
/bin/echo "Executing pre-restore event"
/sbin/e-smith/signal-event pre-restore || exit 4
# perform restore
/bin/echo "Performing restore from $MOUNT/$ID/rsync"
/bin/echo "Please be patient as this may take an extended time to complete"
/sbin/e-smith/signal-event restore-tape $MOUNT/$ID/rsync
/bin/echo "Restore complete"
# execute post-upgrade ; reboot events
/bin/echo "Executing post-upgrade & reboot events"
/sbin/e-smith/signal-event post-upgrade || exit 5
/sbin/e-smith/signal-event reboot

View File

@ -0,0 +1,86 @@
<lexicon lang="bg">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Включване/Изключване на нощно резервно копиране с rsync</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Информация за състоянието по функциониране</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>Този метод за резервно копиране използва софтуерен пакет наречен rsync за да създаде копие на конфигурацията и данните на потребителите от сървъра, като ги слага на външен твърд диск всяка нощ. Първоначалното копиране ще съвпада по обем с текущия размер на данните. Следващите резервни копирания ще синхронизират данните и ще копират само промените, което ще направи времето за резервно копиране много ефективно. Този метод позволява да възстановявате конфигурация и потребителски данни лесно с използване на инструменти от командния ред.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Изберете дали искате да включите нощно резервно копиране с rsync</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Състояние</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Въведете файл или директория за включване. По едно на ред. Изискват се пълните пътища.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Включи</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Въведете файл или директория за изключване. По едно на ред. Изискват се пълните пътища.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Изключи</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>Резервното копиране с rsync изисква използване на поддържани устройства, които трябва да се конфигурират ръчно и да са форматирани с ext3. Например, външен USB диск, монтиран в /media/usbdisk. Въведете точката на монтиране отдолу.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Монтиране</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Въведете времето, когато искате да получавате напомнящо съобщение за да включите външния диск във формат чч:мм. Оставете полето празно за да изключите.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Време за напомняне</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Въведете времето, когато искате резервното копиране да се случи във формат чч:мм.</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Час за резервно копие</trans>
</entry>
<entry>
<base>Update</base>
<trans>Обновяване</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="da">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Status rapport</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Status</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Montering</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Indtast starttid for sikkerhedskopi i 24 timers format (tt:mm).</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Opdater</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="de">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Statusbericht</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Status</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Mount</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_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>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Aktualisieren</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="el">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Αναφορά κατάστασης λειτουργίας</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Status</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Mount</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Ενημέρωση</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,110 @@
<lexicon lang="en-us">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>
Operation status report
</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>
This backup method uses a software package called rsync to create a copy of your server
configuration and user data files, and copies it to an attached local hard drive every night.
The initial backup will match your current data size. Subsequent backups will synchronize
your data and only copy changes which will make your actual backup time very efficient.
This method allows you to restore your configuration and user data files easily using command-line tools.
</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>
Select whether you wish to enable nightly rsync backups
</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Status</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>
Enter any file or directories to include. One entry per line. Full path is required.
</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>
Enter any file or directories to exclude. One entry per line. Full path is required.
</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>
The rsync backup requires a supported device that must be manually
configured and formatted ext3. One example is an external USB drive mounted
on /media/usbdisk. Enter your mount point below.
</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Mount</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>
Enter the time you would like a reminder message to be automatically e-mailed
to the administrator to attach your disk in 24 hr (hh:mm) format.
Leave blank to disable.
</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>
Enter the time you would like this backup to occur in 24 hr (hh:mm) format.
</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Update</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="es">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Estado de la operación</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Estado</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Montar</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_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>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Actualizar</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="et">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Operatsiooni tulemus</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Olek</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Ühenda</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Sisesta kellaaeg millal see varundusprotsess peaks käivituma 24 tunni vormingus (tt.mm).</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Uuenda</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="fr">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Activer / désactiver la sauvegarde Rsync nocturne</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Rapport d'état de l'opération</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>Cette méthode de sauvegarde utilise un progiciel appelé rsync pour créer une copie de la configuration de votre serveur et des fichiers de données des utilisateurs, et la copie sur un disque dur local connecté chaque nuit. La sauvegarde initiale correspondra à la taille actuelle de vos données. Les sauvegardes suivantes synchroniseront vos données et ne copieront que les modifications, ce qui rendra votre temps de sauvegarde réel très efficace. Cette méthode vous permet de restaurer facilement vos fichiers de configuration et de données utilisateur à l'aide d'outils de ligne de commande.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Sélectionnez si vous souhaitez activer les sauvegardes rsync nocturnes</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>État</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Saisissez le ou les fichiers ou dossiers à inclure. Une entrée par ligne. Le chemin complet est requis.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Inclure</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Saisissez le ou les fichiers ou dossiers à exclure. Une entrée par ligne. Le chemin complet est requis.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclure</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>La sauvegarde rsync nécessite un périphérique pris en charge qui doit être configuré et formaté manuellement en ext3. Un exemple est un lecteur USB externe monté sur / media / usbdisk. Entrez votre point de montage ci-dessous. </trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Monter</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Saisissez l'heure à laquelle vous souhaitez qu'un message de rappel soit automatiquement envoyé par e-mail à l'administrateur pour joindre votre disque, au format 24 h (hh: mm). Laissez vide pour désactiver.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Heure de rappel journalier. </trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Saisissez lh'eure à laquelle vous voulez réaliser cette sauvegarde au format horaire 0-24 (hh:mm).</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Heure de la sauvegarde journalière</trans>
</entry>
<entry>
<base>Update</base>
<trans>Mettre à jour</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="he">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Operation status report</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>מצב</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>עגון</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>עדכון</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="hu">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Használati jelentés</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Állapot</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Csatlakoztatás</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Frissítés</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="id">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Laporan status operasi</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Status</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Mount</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Update</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="it">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Abilitare/disabilitare il backup rsync notturno</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Rapporto operazione</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>Questo metodo di backup utilizza un pacchetto software chiamato rsync per creare una copia della configurazione del server e dei dati degli utenti, e trasferirli ogni notte su un disco rigido collegato. Il backup iniziale avra' la stessa dimensione dei dati attuali. I backup seguenti sincronizzeranno i dati e copieranno solo le variazioni, rendendo molto efficienti i tempi del backup. Questo metodo consente di ripristinare la configurazione e i dati degli utenti in maniera semplice utilizzando la riga di comando.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Selezionare se si desiderano attivare i backup notturni via rsync.</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Stato</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Inserire eventuali files o directory da includere, uno per riga. E' richiesto di specificare l'intero percorso.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Includere</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Inserire eventuali file o directory da escludere, uno per riga. E' richiesto di specificare l'intero percorso.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Escludere</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>Il backup via rsync richiede un dispositivo supportato che sia stato manualmente configurato e formattato ext3. Un esempio e' un disco rigido USB esterno montato sotto la directory /media/usbdisk. Inserire qui sotto la directory sotto cui e' montato.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Mount</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Inserire l'orario in formato 24h (hh:mm) in cui si desidera che un promemoria per collegare il disco venga automaticamente inviato via e-mail all'amministratore.Lasciare il campo vuoto per disabilitare.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Orario del promemoria</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Inserire l'ora del backup in formato 24 ore (hh:mm).</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Orario del backup</trans>
</entry>
<entry>
<base>Update</base>
<trans>Aggiorna</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="ja">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Operation status report</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>状態</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>マウント</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>更新</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="nb">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Statusrapport for operasjonen</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Status</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Monter</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Oppdater</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="nl">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Operationeel status rapport</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Status</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Aankoppelen</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Voer de tijd in waarop u deze back-up wilt laten uitvoeren in 24 uurs formaat (uu:mm).</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Wijzigen</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="pl">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Raport o stanie procesu</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Stan</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Zamontuj</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Aktualizuj</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="pt-br">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Relatório de status da operação</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Status</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Montar</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Digite o horário que você gostaria que este backup iniciasse no formato 24 horas (hh:mm)</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Atualizar</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="pt">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Relarório de status de operação</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Status</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Montar</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Digite o horário que você gostaria que este backup iniciasse no formato 24 horas (hh:mm)</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Atualizar</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="ro">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Raport operațiune</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Stare</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Montează</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Actualizează</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="ru">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Данные о состоянии функционирования</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Состояние</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Монтирование</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Обновить</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="sl">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Porocilo o delovanju</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Status</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Mount</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Posodobi</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="sv">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>Statusrapport över operationerna</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Status</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Montera</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Ange tidpunkten då du önskar att backupen görs i 24-timmars format (hh:mm).</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Uppdatera</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="th">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>รายงานสถานะการทำงาน</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>สถานะ</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Mount</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>บันทึกการแก้ไข</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="tr">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>İşlem durum raporu</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>Durum</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>Bağla</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>Enter the time you would like this backup to occur in 24 hr (hh:mm) format.</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>Güncelle</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="zh-cn">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>启用/禁用 Rsync 夜间备份</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>操作报告</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>状态</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>包含</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>排除</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>挂载</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>请输入备份进行的时间点24小时 hhmm。</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>备份日期</trans>
</entry>
<entry>
<base>Update</base>
<trans>更新</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,86 @@
<lexicon lang="zh-tw">
<!-- vim: ft=xml:
-->
<entry>
<base>FORM_TITLE</base>
<trans>Enable/Disable Nightly Rsync Backup</trans>
</entry>
<entry>
<base>OPERATION_STATUS_REPORT</base>
<trans>運作狀態回報</trans>
</entry>
<entry>
<base>FORM_DESC</base>
<trans>This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.</trans>
</entry>
<entry>
<base>DESC_STATUS</base>
<trans>Select whether you wish to enable nightly rsync backups</trans>
</entry>
<entry>
<base>LABEL_STATUS</base>
<trans>狀態</trans>
</entry>
<entry>
<base>DESC_INCLUDE</base>
<trans>Enter any file or directories to include. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_INCLUDE</base>
<trans>Include</trans>
</entry>
<entry>
<base>DESC_EXCLUDE</base>
<trans>Enter any file or directories to exclude. One entry per line. Full path is required.</trans>
</entry>
<entry>
<base>LABEL_EXCLUDE</base>
<trans>Exclude</trans>
</entry>
<entry>
<base>DESC_MOUNT</base>
<trans>The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk. Enter your mount point below.</trans>
</entry>
<entry>
<base>LABEL_MOUNT</base>
<trans>掛載</trans>
</entry>
<entry>
<base>DESC_REMINDER_TIME</base>
<trans>Enter the time you would like a reminder message to be automatically e-mailed to the administrator to attach your disk in 24 hr (hh:mm) format. Leave blank to disable.</trans>
</entry>
<entry>
<base>LABEL_REMINDER_TIME</base>
<trans>Reminder time of day</trans>
</entry>
<entry>
<base>DESC_BACKUP_TIME</base>
<trans>請以24小時的格式(hh:mm)輸入欲備份的開始時間。</trans>
</entry>
<entry>
<base>LABEL_BACKUP_TIME</base>
<trans>Backup time of day</trans>
</entry>
<entry>
<base>Update</base>
<trans>更新</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,20 @@
{
return "# rsync disabled"
unless ${'rsync'}{status} eq 'enabled';
my $reminderTime = ${'rsync'}{reminderTime} || '';
my $backupTime = ${'rsync'}{backupTime} || '23:30';
my ($rhour, $rminute) = split (":", $reminderTime, -1)
unless $reminderTime eq '';
my ($bhour, $bminute) = split (":", $backupTime, -1);
# remove leading zeros from minutes
$rminute =~ s/00/0/
unless $reminderTime eq '';
$bminute =~ s/00/0/;
$OUT .= "# rsync backup\n";
$OUT .= "$rminute $rhour * * * root /bin/echo 'Remember to attach the rsync backup disk!'\n"
unless $reminderTime eq '';
$OUT .= "$bminute $bhour * * * root /etc/e-smith/events/actions/rsync-backup\n";
}

View File

@ -0,0 +1,9 @@
{
$Exclude = ${'rsync'}{"Exclude"} || "";
@Exclude = sort(split(/,/, "$Exclude"));
foreach $Exclude (@Exclude)
{
$OUT .= "$Exclude\n";
}
}

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,9 @@
{
$Include = ${'rsync'}{"Include"} || "";
@Include = sort(split(/,/, "$Include"));
foreach $Include (@Include)
{
$OUT .= "$Include\n";
}
}

View File

@ -0,0 +1,86 @@
#!/usr/bin/perl -wT
# vim: ft=xml:
#----------------------------------------------------------------------
# heading : Backup
# description : Rsync
# navigation : 1000 1000
#----------------------------------------------------------------------
use strict;
use warnings;
use esmith::FormMagick::Panel::rsync;
my $f = esmith::FormMagick::Panel::rsync->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()"
post-event="change_settings">
<description>FORM_DESC</description>
<field
type="select"
id="status"
options="'disabled', 'enabled'"
validation="nonblank"
value="get_status()">
<label>LABEL_STATUS</label>
<description>DESC_STATUS</description>
</field>
<field
type="textarea"
id="include"
value="get_include()">
<label>LABEL_INCLUDE</label>
<description>DESC_INCLUDE</description>
</field>
<field
type="textarea"
id="exclude"
value="get_exclude()">
<label>LABEL_EXCLUDE</label>
<description>DESC_EXCLUDE</description>
</field>
<field
type="text"
size="25"
id="mount"
validation="nonblank"
value="get_mount()">
<label>LABEL_MOUNT</label>
<description>DESC_MOUNT</description>
</field>
<field
type="text"
size="5"
id="remindertime"
value="get_reminderTime()">
<label>LABEL_REMINDER_TIME</label>
<description>DESC_REMINDER_TIME</description>
</field>
<field
type="text"
size="5"
id="backuptime"
validation="nonblank"
value="get_backupTime()">
<label>LABEL_BACKUP_TIME</label>
<description>DESC_BACKUP_TIME</description>
</field>
<subroutine src="print_button('Update')" />
</page>
</form>

View File

@ -0,0 +1 @@
../../../functions/rsync

0
root/etc/rsync.exclude Normal file
View File

0
root/etc/rsync.include Normal file
View File

View File

@ -0,0 +1,94 @@
#!/usr/bin/perl -w
package esmith::FormMagick::Panel::rsync;
use strict;
use warnings;
use esmith::ConfigDB;
use esmith::FormMagick;
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 or die "Couldn't open ConfigDB\n";
sub get_status
{
return $db->get_prop("rsync", "status");
}
sub get_include
{
my $self = shift;
my $q = $self->{cgi};
my $Include = $db->get_prop("rsync", "Include");
if ("$Include" eq "")
{
use esmith::Backup;
my $backup = esmith::Backup->new();
return join "\n", map { "/" . $_ } sort($backup->restore_list);
}
else
{
my @Include = sort(split(/,/, $Include));
return join "\n", map { "$_" } @Include;
}
}
sub get_exclude
{
my $self = shift;
my $q = $self->{cgi};
my $Exclude = $db->get_prop("rsync", "Exclude");
my @Exclude = sort(split(/,/, $Exclude));
return join "\n", map { "$_" } @Exclude;
}
sub get_mount
{
return $db->get_prop("rsync", "Mount");
}
sub get_reminderTime
{
return $db->get_prop("rsync", "reminderTime");
}
sub get_backupTime
{
return $db->get_prop("rsync", "backupTime");
}
sub change_settings
{
my $fm = shift;
my $q = $fm->{'cgi'};
$db->set_prop('rsync', 'status', $q->param("status"));
$db->set_prop('rsync', 'Mount', $q->param("mount"));
$db->set_prop('rsync', 'reminderTime', $q->param("remindertime"));
$db->set_prop('rsync', 'backupTime', $q->param("backuptime"));
my $Include = $q->param("include");
$Include =~ s/\r\n/,/g;
$db->set_prop('rsync', 'Include', "$Include");
my $Exclude = $q->param("exclude");
$Exclude =~ s/\r\n/,/g;
$db->set_prop('rsync', 'Exclude', "$Exclude");
unless ( system ("/sbin/e-smith/signal-event", "conf-rsync") == 0 )
{
$fm->error('ERROR_UPDATING');
return undef;
}
$fm->success('SUCCESS');
}
1;

View File

@ -0,0 +1,101 @@
Summary: Rsync backup for SME Server
%define name smeserver-rsync-backup2disk
Name: %{name}
%define version 0.0.2
%define release 5
Version: %{version}
Release: %{release}
License: GPL
Group: SME/addon
Source: %{name}-%{version}.tar.xz
Packager: Darrell May
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
BuildArchitectures: noarch
Requires: smeserver-release => 10.0
BuildRequires: e-smith-devtools >= 1.13.1-03
%description
SME Server implementation of rsync to perform nightly backup to a mounted drive.
%changelog
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 0.0.2-5.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.
* Fri Sep 06 2024 Terry Fage <terry@fage.id.au> 0.0.2-4.sme
- apply locale smeserver-rsync-backup2disk-0.0.2-locale-2024-09-06.patch
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 0.0.2-3.sme
- apply locale 2021-09-08 patch
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 0.0.2-2.sme
- apply locale 2021-08-23 patch
* Sat Apr 03 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.2-1.sme
- import to SME10
- change name from smeserver-rsync to smeserver-rsync-backup2disk
- create update event
- move perl module to new path
- cleanup spec
* Fri Nov 03 2006 Darrell May <dmay@myezserver.com>
- added support for no reminder e-mail
- [0.0.1-a6dmay]
* Thu Nov 02 2006 Darrell May <dmay@myezserver.com>
- numerous updates
- [0.0.1-a5dmay]
* Tue Oct 17 2006 Darrell May <dmay@myezserver.com>
- remove exit from restore-tape line in rsync-restore
- [0.0.1-a4dmay]
* Tue Oct 17 2006 Darrell May <dmay@myezserver.com>
- updated FM panel code
- db changes backupTime reminderTime
- added checks for ext3 format
- [0.0.1-a3dmay]
* Tue Oct 17 2006 Darrell May <dmay@myezserver.com>
- added rsync-restore action
- [0.0.1-a2dmay]
* Mon Oct 16 2006 Darrell May <dmay@myezserver.com>
- added basic server-manager panel
- [0.0.1-a1dmay]
* Mon Oct 16 2006 Darrell May <dmay@myezserver.com>
- initial internal alpha release
- [0.0.1-a0dmay]
%prep
%setup
rm root/rsync
%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
%pre
%post
%preun
%postun