Zuerst mal vielen Dank für die Rückmeldungen! War schon kurz vor dem Aufgeben.
Als der Speicherpool noch gelebt hat war ein Zugriff auf die Vault vom Remote NAS durchaus möglich. Der Speichermanager hat die Snapshots angezeigt und ein Wiederherstellen einzelner Ordner war problemlos möglich.
Schade, dann versuche ich es über den Umweg mit der USB Platte...
Beiträge von uenz
-
-
Gute Frage, ich denke ja. Es zeigt mir 9 Snapshots an.
Screen Shot 2022-06-15 at 00.29.02.png -
Hallo,
leider war mein NAS (TS-431P, QTS 5.0.0.2055) nicht mehr ansprechbar. Nach einem neuen initialisieren will ich aus dem Snapshot Vault (anderes NAS) einen Spanshot zurückspielen.
Laut Anleitung sollte das ein Kinderspiel sein. Beim öffnen des Snapshot Managers sehe ich ein Dropdown Menü bei dem man den Speicherort wählen kann.Screen Shot 2022-06-14 at 23.58.07.png
Es poppt rasch allerdings ein Fenster auf (Wilkommen zu Spanshot Manager).
Screen Shot 2022-06-14 at 23.58.15.png
Nach dem Schließen dieses Fensters ist die Option zum Wählen des Speicherortes verschwunden.
Screen Shot 2022-06-14 at 23.58.25.png
Kann mir jemand einen Tipp geben wie das geht?
-
Hallo,
wie kann ich auf dem NAS den Pfad setzen den ein Befehl hat/sieht welchen ich über ssh starte?
Standardmäßig ist das der obige Pfad, hätte da aber gerne /opt/bin mit dabei. Bin schon eine Weile am suchen, habe aber leider nichts gefunden.thx
uenz -
Hallo,
die Anleitung sollte eigentlich im englischsprachigen Forum landen.
Hier eine schnelle Übersetzung: http://forum.qnapclub.de/viewtopic.php?f=166&t=27638Kann sein das das ganze mit der neuen Firmware und qsync hinfällig wird, habe das noch nicht getestet.
Aber SparkleShare geht einigermassen schnell.And here the english version in the english forum: http://forum.qnapclub.de/viewtopic.php?f=166&t=27638
-
Beim Versuch mehrere Ordner auf verschiedenen Computern synchron zu halten bin ich über OwnCloud gestolpert.
(http://wiki.qnap.com/wiki/Category:OwnCloud). Für grosse Ordner war es sehr langsam.
Aus diesem Grund habe ich SparkleShare ausprobiert, was wesentlich schneller war.
Mittlerweile bietet Qnap QSync, was ich noch nicht ausprobiert habe.
Hier der Weg wie ich SparkleShare installiert habe.
Auf den Client Computern:
Den Client von sparkleshare.org herunterladen und installieren.
Nach der Installation befindet sich im SparkleShare opdner die Datei "users link code.txt", welche auf das NAS in den Ordner /share/Public kopiert werden muss.Server:
Um das QNAP Gerät als Server zu benutzen muss Git installiert werden und eine Schlüsselbasierte ssh Verbindung eingerichtet werden.
Der QNAP ssh Server erlubt nur dem Benutzer Admin das einloggen via ssh. Das war für mich ausreichend, wer mehrere Benutzer haben will
sollte sich OpenSSH ansehen( http://wiki.qnap.com/wiki/How_To_Replac ... th_OpenSSH)
Voraussetztung dafür ist das Optware auf dem NAS installiert ist!Verbinde dich mit ssh mit dem QNAP Gerät
Von einem Linux Recher aus, vom Windows Rechner aus mit PuttY (http://www.putty.org)Wenn man mit dem NAS verbunden ist
eingeben um git zu instllieren.
Um eine schlüsselloses Login zu ermöglichen muss der Link Code vom SparkleShare Ordner zur authorized_keys Datei des logun Benutzers (hier Admin/root) hinzugefügt werden.Dann muss ein Share erzeugt werden, wo die Daten gespeichert werden sollen. (bei mir: /share/Git)
Repositories können mit dem Script dazzle.sh von der SparkleShare Seite erzeugt werden.
Wegen den eingeschränkten möglicheiten des NAS habe ich das Script auf das nötigste abgespeckt.
Kopiere das unten angehängte Script zum NAS.(share/Public)
Mache es mit
ausführbar und lege mit
ein Repository auf dem Server anCode
Alles anzeigen#save me as dazzle.sh #!/bin/bash # This program is free software. It comes without any warranty, to # the extent permitted by applicable law. You can redistribute it # and/or modify it under the terms of the Do What The ** You Want # To Public License, Version 2, as published by Sam Hocevar. See # http://sam.zoy.org/wtfpl/COPYING for more details. # Check if we're root, if not show a warning if [[ $UID -ne 0 ]]; then case $1 in ""|help) # You should be allowed to check the help without being root ;; *) echo "Sorry, but Dazzle needs to be run as root." exit 1 ;; esac fi GIT=`which git` # Define text styles BOLD=`tput bold` NORMAL=`tput sgr0` # Nice defaults DAZZLE_USER="admin" DAZZLE_GROUP="administrators" DAZZLE_HOME="/share/Git" show_help () { echo "${BOLD}Dazzle, SparkleShare host setup script${NORMAL}" echo "This script needs to be run as root" echo echo "Usage: dazzle [COMMAND]" echo echo " create PROJECT_NAME creates a SparkleShare project called PROJECT_NAME" echo " create-encrypted PROJECT_NAME creates an encrypted SparkleShare project" echo } create_project () { if [ -f "$DAZZLE_HOME/$1/HEAD" ]; then echo " -> Project \"$1\" already exists." echo else # Create the Git repository echo " -> $GIT init --bare $DAZZLE_HOME/$1" $GIT init --quiet --bare $DAZZLE_HOME/$1 # Don't allow force-pushing and data to get lost echo " -> $GIT config --file $DAZZLE_HOME/$1/config receive.denyNonFastForwards true" $GIT config --file $DAZZLE_HOME/$1/config receive.denyNonFastForwards true # Add list of files that Git should not compress EXTENSIONS="jpg jpeg png tiff gif flac mp3 ogg oga avi mov mpg mpeg mkv ogv ogx webm zip gz bz bz2 rpm deb tgz rar ace 7z pak iso" for EXTENSION in $EXTENSIONS; do sleep 0.05 echo -ne " -> echo \"*.$EXTENSION -delta\" >> $DAZZLE_HOME/$1/info/attributes \r" echo "*.$EXTENSION -delta" >> $DAZZLE_HOME/$1/info/attributes sleep 0.05 EXTENSION_UPPERCASE=`echo $EXTENSION | tr '[:lower:]' '[:upper:]'` echo -ne " -> echo \"*.$EXTENSION_UPPERCASE -delta\" >> $DAZZLE_HOME/$1/info/attributes \r" echo "*.$EXTENSION_UPPERCASE -delta" >> $DAZZLE_HOME/$1/info/attributes done echo "" # Set the right permissions echo " -> chown --recursive $DAZZLE_USER:$DAZZLE_GROUP $DAZZLE_HOME" chown --recursive $DAZZLE_USER:$DAZZLE_GROUP $DAZZLE_HOME sleep 0.5 echo echo "${BOLD}Project \"$1\" was successfully created.${NORMAL}" fi # Fetch the external IP address IP=`curl --silent http://ifconfig.me/ip` PORT=`grep "^Port " /etc/ssh/sshd_config | cut --bytes=6-` # Display info to link with the created project to the user echo "To link up a SparkleShare client, enter the following" echo "details into the ${BOLD}\"Add Hosted Project...\"${NORMAL} dialog: " echo echo " Address: ${BOLD}ssh://$DAZZLE_USER@$IP:$PORT${NORMAL}" echo " Remote Path: ${BOLD}$DAZZLE_HOME/$1${NORMAL}" echo echo "To link up (more) computers, use the \"dazzle link\" command." echo } # Parse the command line arguments case $1 in create) echo "${BOLD}Creating project \"$2\"...${NORMAL}" create_project $2 ;; create-encrypted) echo "${BOLD}Creating encrypted project \"$2\"...${NORMAL}" create_project $2-crypto ;; *|help) show_help ;; esac
Nun sollte es möglich sein mit dem SparkleShare Programm des PCs auf den QNAP Server zuzugreifen.
-
I want to keep a folder synced on several computers. First i started with OwnCloud.
There is a good howto to setup OwnCloud an a Qnap device here: http://wiki.qnap.com/wiki/Category:OwnCloud.
On my TS-410 the sync of a big folder was VERY slow, because it is PHP based and this generates a big CPU load an the
slow ARM device.
Therfore i tried SparkleShare which was fast compared to my OwnCloud test.
Here is the way i installed it:
Prepare the Client:
Download the SparkleShare client software from sparkleshare.org and install it.
After installation there is a "users link code.txt" in your SparkleShare which you copy to the NAS (to /share/Public in my example).Server:
To setup the Qnap device as Server you need to install Git and configure a ssh keybased login.
The default ssh server only allows the user admin to login via ssh. This was good enough for me,
if you want to have SparkleShare for individual users install OpenSSh( http://wiki.qnap.com/wiki/How_…e_SSH_Daemon_With_OpenSSH)Connect to your device via ssh
Then type
to install git. (It is necessary that the QPKG Optware is installed to run this command)
For the key-less login the Link Code in the Sparkle share folder has to be added to the authorized_keys file of
the login user. (admin aka root)
Then generate a share where the data should be located (in my example: /share/Git)
Repositories can be generated with dazzle.sh from the sparkleshare homepage.
Because of the restricted options of the NAS i stripped down the script to the necessary basics.
Copy the script to the NAS, with
you can generate a repository on the server.Code
Alles anzeigen#save me as dazzle.sh #!/usr/bin/env bash # This program is free software. It comes without any warranty, to # the extent permitted by applicable law. You can redistribute it # and/or modify it under the terms of the Do What The Fuck You Want # To Public License, Version 2, as published by Sam Hocevar. See # http://sam.zoy.org/wtfpl/COPYING for more details. # Check if we're root, if not show a warning if [[ $UID -ne 0 ]]; then case $1 in ""|help) # You should be allowed to check the help without being root ;; *) echo "Sorry, but Dazzle needs to be run as root." exit 1 ;; esac fi GIT=`which git` # Define text styles BOLD=`tput bold` NORMAL=`tput sgr0` # Nice defaults DAZZLE_USER="admin" DAZZLE_GROUP="administrators" DAZZLE_HOME="/share/Git" show_help () { echo "${BOLD}Dazzle, SparkleShare host setup script${NORMAL}" echo "This script needs to be run as root" echo echo "Usage: dazzle [COMMAND]" echo echo " create PROJECT_NAME creates a SparkleShare project called PROJECT_NAME" echo " create-encrypted PROJECT_NAME creates an encrypted SparkleShare project" echo } create_project () { if [ -f "$DAZZLE_HOME/$1/HEAD" ]; then echo " -> Project \"$1\" already exists." echo else # Create the Git repository echo " -> $GIT init --bare $DAZZLE_HOME/$1" $GIT init --quiet --bare $DAZZLE_HOME/$1 # Don't allow force-pushing and data to get lost echo " -> $GIT config --file $DAZZLE_HOME/$1/config receive.denyNonFastForwards true" $GIT config --file $DAZZLE_HOME/$1/config receive.denyNonFastForwards true # Add list of files that Git should not compress EXTENSIONS="jpg jpeg png tiff gif flac mp3 ogg oga avi mov mpg mpeg mkv ogv ogx webm zip gz bz bz2 rpm deb tgz rar ace 7z pak iso" for EXTENSION in $EXTENSIONS; do sleep 0.05 echo -ne " -> echo \"*.$EXTENSION -delta\" >> $DAZZLE_HOME/$1/info/attributes \r" echo "*.$EXTENSION -delta" >> $DAZZLE_HOME/$1/info/attributes sleep 0.05 EXTENSION_UPPERCASE=`echo $EXTENSION | tr '[:lower:]' '[:upper:]'` echo -ne " -> echo \"*.$EXTENSION_UPPERCASE -delta\" >> $DAZZLE_HOME/$1/info/attributes \r" echo "*.$EXTENSION_UPPERCASE -delta" >> $DAZZLE_HOME/$1/info/attributes done echo "" # Set the right permissions echo " -> chown --recursive $DAZZLE_USER:$DAZZLE_GROUP $DAZZLE_HOME" chown --recursive $DAZZLE_USER:$DAZZLE_GROUP $DAZZLE_HOME sleep 0.5 echo echo "${BOLD}Project \"$1\" was successfully created.${NORMAL}" fi # Fetch the external IP address IP=`curl --silent http://ifconfig.me/ip` PORT=`grep "^Port " /etc/ssh/sshd_config | cut --bytes=6-` # Display info to link with the created project to the user echo "To link up a SparkleShare client, enter the following" echo "details into the ${BOLD}\"Add Hosted Project...\"${NORMAL} dialog: " echo echo " Address: ${BOLD}ssh://$DAZZLE_USER@$IP:$PORT${NORMAL}" echo " Remote Path: ${BOLD}$DAZZLE_HOME/$1${NORMAL}" echo echo "To link up (more) computers, use the \"dazzle link\" command." echo } # Parse the command line arguments case $1 in create) echo "${BOLD}Creating project \"$2\"...${NORMAL}" create_project $2 ;; create-encrypted) echo "${BOLD}Creating encrypted project \"$2\"...${NORMAL}" create_project $2-crypto ;; *|help) show_help ;; esac
Now you should be able to connect to the NAS with your SparkleShare PC client.
The keys are stored on my NAS even if i reboot. -
Hallo,
hatte mit meiner TS-410 Probleme nach einem Stromausfall und musste das System neu aufsetzten (Firmware 3.7.1 Build 20120615).
Das System läuft wieder, jedoch ist ein Neustart nicht möglich. Das System reagiert weder auf den Power Knopf, noch die Weboberfläche/Powermanagerment Shutsdown bzw. Restart. Ebenso habe ich erfolglos das restart Kommando via ssh probiert.
Nach der schlechten Erfahrung nach dem Stromausfall will ich den Stecker nicht ziehen. Gibt es eine weitere Möglichkeit das System herunterzufahren/
neu zu starten? Ist evtl. bei dem Crash die Software im Flash beschädigt worden?Bin über jeden Tipp froh
uenz -
-
Hallo,
versuche auf meiner TS-410 davfs2 mit 1und1 zum laufen zu bekommen. Habe mich an die Anleitung
hier im Wiki und wegen den Schwierigkeiten mit dem Zertifikat an diese Anleitung gehalten. Hat soweit alles funktioniert.
Kann den Server auf /share/Backup/1und1 ohne Fehlermeldung mounten.
gibt auch https://sd2dav.1und1.de on /share/Backup/1und1 type davfs (rw,nosuid,nodev,_netdev) aus, aber mit
ist der Ordner 1und1 verschwunden. Hat jemand einen Tipp?