Download: http://mai-computerhilfe.de/NExt/Addons/
Aktuelles Paket: NEXT_backupbutton--1.01--FSC_231.tgz
Aktuelles Readme (EN): NEXT_backupbutton--1.01--readme.txt
Aktuelles Readme (DE): NEXT_backupbutton--1.01--readme_de.txt
==================================================================================
Diese Software ist ausschließlich dazu bestimmt, mit den "NExt" Firmware Extensions für AMS150 und kompatible NAS Geräte genutzt zu werden.
WICHTIG:
Um dieses Paket nutzen zu können, muss vorher das "NExtFW Base" Paket installiert werden.
INSTALLATION DES PAKETES:
Das Paket kann über das Admin-GUI des Gerätes installiert werden ("Wartung" - "Firmware-Erweiterungen laden") / ("Maintenance" - load firmware extensions") oder über ein Netzwerklaufwerk. Das Admin-GUI erreichen Sie unter http://<NAME_DES_GERÄTES> oder http://<IP_ADRESSE_DES_GERÄTES>.
Informationen zur Version des Paketes erhalten Sie auf der "NExtFW" Statusseite. Diese erreichen Sie im Admin-GUI, nachdem Sie das "NextFW Base"
Paket installiert haben. Alternativ können Sie auch das NEXT_webadmin Paket installieren, das mehr Funktionalität bietet.
WICHTIG: Bitte beachten Sie, dass eine Installation der original Firmware Extensions die "NExt" Firmware Extensions nicht vollständig deinstalliert. Bitte installieren Sie zum Entfernen der Extensions das "NExtFW cleanup" Paket, welches die Extensions vollständig löscht oder formatieren Sie die Festplatte.
(!!! dabei gehen alle Daten verloren !!!)
Einzelne Pakete können über das NEXT_webadmin Paket oder per Kommandozeile deinstalliert werden.
PAKETINHALT:
Diese Erweiterung fügt ein Backupbutton Script hinzu und ändert die Richtung des Kopiervorgangs des Backup-Knopfes. Die Daten werden von der internen
Festplatte auf die eSATA oder USB Festplatte gesichert. Wenn die Erweiterung läuft („running“, zu sehen auf der NExt Statusseite), finden die Backups in der
oben genannten Richtung statt. Wenn die Erweiterung gestoppt ist („stopped“ oder „not running“, zu sehen auf der NExt Statusseite), können externe Medien auf das Gerät gesichert werden. Das Starten und Stoppen erfolgt auf der Webadmin Statusseite. Das Script nutzt standardmäßig das rsync Tool für
Backups.
Eine neue Funktion ist die Konfigurationsdatei. Man kann, muss aber nicht

Bitte stellen Sie sicher, dass Sie dazu einen PC-Editor verwenden, der das Linux Format unterstützt, anderenfalls wird die Konfiguration fehlschlagen.
Eine Beschreibung der Parameter befindet sich in den Kommentaren der Datei /mnt/.zap/etc/backupbutton.conf . Die Original-Einstellungen findet man
sicherheitshalber noch mal in der Datei /mnt/.zap/etc/backupbutton.conf.rsync . Diese Datei wird nicht von der Backup-Prozedur verwendet, aber damit kann die Konfiguration restauriert werden, wenn nach dem Ändern der Datei Probleme auftreten sollten.
Das standardmäßige Verhalten ist folgendermaßen:
Alle auf dem NAS freigegebenen Ordner werden auf das externe Gerät gesichert.
Die externen Geräte werden in folgender Reihenfolge abgearbeitet:
eSATA, USB ports
Der Ordner auf dem externen Gerät heisst "full_backup_<HOSTNAME>", wobei HOSTNAME der Name des NAS ist, beispielsweise "AMS150". Mit Hilfe des "rsync"
Kommandos wird eine Spiegel-Kopie angelegt, das bedeutet, dass nur neue Dateien synchronisiert werden, aber Dateien, die nicht mehr länger existieren, werden auch gelöscht. Eine Log-Datei wird nach /mnt/.zap/tmp/backuplogs geschrieben, sie heisst "full_backup_<HOSTNAME>_<TIMESTAMP>.log". Bitte schauen Sie in die Backup-Log-Datei um ein detailliertes Protokoll des Backup-Ablaufs zu erhalten.
Danke an den Benutzer "Kane" des Digital Home Forums für die erste Version des Scripts.
ÄNDERUNGEN:
Version 1.01:
- Neues Feature: Wenn der einzelne Zielordner noch nicht existiert, wird automatisch cpnext verwendet statt rsync weil es viel schneller ist. Für eine
"richtige" Synchronisation wird rsync verwendet, dieser ist langsam, aber hoffentlich sind die meisten Dateien dann schon synchronisiert.
Falls cpnext nicht installiert ist (weil die Base zu alt ist) wird wie üblich rsync verwendet.
- Zu den Standardoptionen von rsync "-l" und "-H" hinzugefügt, um Links richtig sichern zu können.
- backupbutton.conf.rsync und backupbutton.conf.cpnext werden nicht mehr länger ausgeliefert.
- Die backupbutton.conf.default Datei wird wieder mit ausgeliefert.
Version 1.00:
- final Version
- deutsches Readme, Änderungen in den Readme-Dateien
- optionalen Support von cpnext anstelle von rsync hinzugefügt
- Neu: zwei Möglichkeiten für Konfigurationsdateien, backupbutton.conf.rsync und backupbutton.conf.cpnext
- rsync Optionen waren unvollständig, die Optionen "ogp" um den Owner, die und die Zugriffsrechte zu erhalten, haben gefehlt
- die Logdateien wurden sehr groß, daher ist die Option "-v" jetzt standardmäßig ausgeschaltet, sie kann mit VERBOSE=1 in der Konfigurationsdatei wieder eingeschaltet werden
Version 0.95:
- Problem behoben, dass die Ordnerstruktur nicht erhalten geblieben ist, wenn man Unterordner in der BACKUP_FOLDER Liste konfiguriert hatte
Version 0.96:
- Problem behoben, dass aufgetreten ist, wenn die SKIP_FOLDERS oder BACKUP_FOLDERS Listen mehr als einen Eintrag hatten
Version 0.97:
- neue Konfigurationsdatei
- neue Skip-Liste, um einige freigegebene Ordner zu überspringen, und neue Positivliste, um die freigegebenen Ordner einzustellen, die gesichert werden
sollen
- Standardmäßig wird nun immer in den gleichen Ordner gesichert
- ein weiteres USB-Gerät hinzugefügt
- alle Bildschirmausgaben in eine Logdatei umgeleitet
Version 0.98:
- Problem in pkginfo Datei behoben, die Paket-Plattform wurde nicht richtig angezeigt
Version 0.99:
- erstes Beta-Release
VORAUSSETZUNGEN:
- Um cpnext nutzen zu können, muss die NExt Base 1.0.04/2.0.04 oder neuer installiert werden.
PROBLEME UND EINSCHRÄNKUNGEN:
- Stellen Sie sicher, dass die Zielfestplatte groß genug ist für die zu sichernden Daten.
- Die Speichermedien werden in folgender Reihenfolge geprüft: eSATA, USB Ports oder die Reihenfolge kann in der Konfigurationsdatei festgelegt werden.
- Die Konfigurationsdatei wird bei der Deinstallation gelöscht und bei einer Überinstallation überschrieben, bitte sichern Sie die Datei selbst wenn Sie sie noch benötigen.
- cpnext ist aufgrund von Einschränkungen zum Synchronisieren existierender Dateibäume nicht geeignet.
Diese Software wird in der vorliegenden Form, ohne Gewähr auf Funktion, bereitgestellt. Für eventuelle Schäden, die durch die Benutzung der Erweiterungen entstehen können, können wir nicht haftbar gemacht werden.
Die Benutzung der Software geschieht auf eigenes Risiko.
Viel Spaß,
lochness und das ganze NExtFW Team
==================================================================================
This software is intended to be used with the "NExt" Firmware Extensions for AMS150 and compatible NAS devices only.
IMPORTANT:
To use this package you will need to install the NExtFW base package first!
HOW TO INSTALL THIS PACKAGE:
The package can be installed via the Admin-GUI of the device ("Maintenance" - "load firmware extensions") or via network share. You can reach the Admin-GUI at http://<NAME_OF_THE_DEVICE> or http://<IP_ADDRESS_OF_THE_DEVICE>. Version information for this package is displayed via the "NExtFW" status page which you can reach via Admin-GUI right after you have installed the base package. Alternatively, you can install the NEXT_webadmin package with more functionality.
IMPORTANT: Please note that installing the original Firmware Extensions will not automatically deinstall the "NExt" Firmware Extensions completely.
Please install the NExtFW cleanup package provided by NExt or format the hard disk (loosing all data!) to get rid of the Firmware Extensions at all.
Single packages can be deinstalled via the NEXT_webadmin package or via command line.
PACKAGE CONTENTS:
This addon adds a backup button script and changes the backup button direction. Files will be copied from local disk to eSATA or USB disk. In the NExt status web page or the webadmin status page, the status "running" tells you that the backup will be done to the external disk, while "not running" or "stopped" shows you that backup can be done from the external disk. The rsync utility is used for this by default.
A new feature is the configuration file. You can, but you must not

use telnet/ssh and work in the shell or you use the !access_next feature of the NExt base to edit the file from a PC (see
http://forum.ts.fujitsu.com/digitalh ... 276#p45276 ).
Please make sure that you use an PC editor that fully supports Linux file format for this, otherwise the configuration will fail. A description of the paramters is found in the comments of the configuration file /mnt/.zap/etc/backupbutton.conf . For your convenience, a file /mnt/.zap/etc/backupbutton.conf.rsync contains the original settings. This file is not used by the backup procedure, but it can be restored if you have
problems after editing the file.
The default behaviour is as follows:
All shared folders on the NAS are backed up to an external device. The external devices are scanned in this order: eSATA, USB ports
The folder on the external device will be "full_backup_<HOSTNAME>", where HOSTNAME is the name of the NAS, e.g. AMS150. A mirror copy is done via the
"rsync" command, this means that only new files are synced, but files that no longer exist will also be deleted. A log file will be written to
/mnt/.zap/tmp/backuplogs, with the name full_backup_<HOSTNAME>_<TIMESTAMP>.log
Please refer to the backup log for a detailed log of the backup process.
Thanks to the user "Kane" of the Digital Home Forum for the first version of this script and to Brevheart for the tests of the first beta version.
CHANGES:
Version 1.01:
- new feature: if each target folder does not yet exist, cpnext is used automatically instead of rsync because it is much faster. For a real sync, rsync is used, which is slow, but hopefully most files are already synced. If cpnext is not installed (because of old base version) rsync is used as usual.
- Added "-l" and "-H" to the default options of rsync, that links can be backed up correctly.
- backupbutton.conf.rsync and backupbutton.conf.cpnext no longer distributed.
- backupbutton.conf.default released again.
Version 1.00:
- final version
- german readme, changes in readme files
- added optional support of cpnext instead of rsync
- new two config file possibilites, backupbutton.conf.rsync and backupbutton.conf.cpnext
- rsync options were incomplete, options "ogp" were missing to preserve owner, group and permissions
- logfiles could grow very big, now the "-v" option is switched off by default, it can be switched on with VERBOSE=1 in the configuration file
Version 0.95:
- fixed problem that folder structure was not preserved when configuring subfolders in BACKUP_FOLDER list
Version 0.96:
- fixed problem that occurred when SKIP_FOLDERS and BACKUP_FOLDERS list had more than one entry
Version 0.97:
- new configuration file
- new skip list to skip some shared folders and new positive list to configure the shared folders to be backed up
- default is now backup in always the same folder
- added one more USB device that could be used by AMS
- redirect all screen output to log file
Version 0.98:
- fixed problem in pkginfo file, package platform was not displayed correctly
Version 0.99:
- first beta release
PREREQUISITES:
- To use cpnext, you have to install NExt base 1.0.04/2.0.04 or newer.
ISSUES AND RESTRICTIONS:
- make sure that the destination disk is big enough for all the data
- the devices are checked by default in the follwing order: eSATA, USB ports or the order can be configured in the config file
- the configuration file is deleted deinstallation and it is overwritten during reinstallation, so please backup it by yourself if you still need it
- Due to some restrictions, cpnext is not suited to synchronize existing directory trees.
This software is provided as is with no warranty of functionality. We cannot be held responsible for any damage that may occur after installing this extension.
You use this Software at your own risk.
Have fun,
lochness and the NExtFW team