CloudSync Cloud Sync zu MEGA

traveller

Benutzer
Mitglied seit
28. Dez 2014
Beiträge
86
Punkte für Reaktionen
12
Punkte
8
Guten Tag!

Ich möchte meine Daten von meiner Synology DiskStation 415+ per CloudSync zu MEGA übertragen.
https://mega.nz/

Dieser Dienstleister bietet in der kostenlosen Version einen Speicherplatz vom 50GB.
Für andere Dienstleister hat Synology entsprechenden Apps, die direkt in das OS der DiskStation integriert werden.
Gibt es so ein App für MEGA ebenfalls? Bei Synology jedenfalls noch nicht. Vielleicht
Und bei dieser Paketquelle
http://packages.synocommunity.com/
habe ich auch nichts gefunden.
Weiß jemand vielleicht eine Quelle?
Das wäre wünschenswert, da der Service von MEGA sehr gut ist.

Danke für die Hilfe!
 

amarthius

Super-Moderator
Teammitglied
Mitglied seit
03. Jun 2009
Beiträge
6.814
Punkte für Reaktionen
33
Punkte
174
Nein die Unterstützung von Mega ist mir nicht bekannt. Du kannst gerne einen Feature-Request an Synology stellen. Sollten sich das viele wünschen, stehen die Chancen gut das es umgesetzt wird.
 

traveller

Benutzer
Mitglied seit
28. Dez 2014
Beiträge
86
Punkte für Reaktionen
12
Punkte
8
Danke für die Antwort.
Habe ich gemacht. Sie meinen, dass es weitergegeben wird und dann muss man sehen.
Auch soll ich prüfen, ob MEGA WebDAV und S3 unterstützt, dann wäre es kein Problem. Das könnte ich noch nicht prüfen.

Am MEGA schrieb ich auch. Sie wollen sich mit Synology in Verbindung setzen.

Wie werden also sehen.
 

purator

Benutzer
Mitglied seit
07. Sep 2013
Beiträge
2
Punkte für Reaktionen
0
Punkte
0
Hallo traveller,

hast du zu diesem Thema schon ein Feedback bekommen?
Oder eine Lösung gefunden?
 

frite77

Benutzer
Mitglied seit
28. Nov 2020
Beiträge
38
Punkte für Reaktionen
7
Punkte
58
Hallo,
gibt es mittlerweile eigentlich die Möglichkeit mit MEGA zu synchronisieren?
 

Max78

Benutzer
Mitglied seit
26. Jul 2020
Beiträge
17
Punkte für Reaktionen
0
Punkte
1
Hallo,
und sorry, dass ich den Thread nochmal ausgrabe, aber ich möchte gerne einen teil der Synology NAS mit der Cloud syncronisieren. Es funktioniert wohl mit der MEGACmd, aber da hab ich mich noch nicht rangetraut. Vielleicht hat jemand damit schon Erfahrungen gemacht und kann Tips geben?

Viele grüße,
Max
 

kessd

Benutzer
Mitglied seit
29. Mrz 2013
Beiträge
2
Punkte für Reaktionen
0
Punkte
1
Hallo, auch ich interessiere mich für das Thema. Die Installation von mega-cmd und der Login haben schon mal geklappt. Irgendwie scheitere ich aber an den Befehlen. Weder sync noch cp funktionieren, weil entweder Rechte fehlen oder Dateien nicht vorhanden sind. Das Zusammenwirken zwischen der auf mega zugreifenden (mega-cmd)Konsole und dem lokalen NAS sind mir leider nicht klar:-(.
 

ctrlaltdelete

Benutzer
Sehr erfahren
Maintainer
Mitglied seit
30. Dez 2012
Beiträge
10.204
Punkte für Reaktionen
3.710
Punkte
414
Wieso nutzt ihr nicht Cloud Sync als Paket auf der DS?
Edit: Sorry ist MegaDisk(geht per Cloud Sync) was anderes als Mega
 
Zuletzt bearbeitet:

Umstellformat

Benutzer
Mitglied seit
09. Feb 2022
Beiträge
3
Punkte für Reaktionen
1
Punkte
3
Hallo ihr ;)
Weil Mega nicht funzt, habe ich es mit yandex probiert. Bekomme WebDAV Sicherung aber nicht hin, siehe anderen Thread. Datei-Synchronisierung fällt für mich aus, den Cloud-Anbieter gehen meine Daten nix an, Kennt ihr kostenlose Clouds die sicj nutzen lassen? Außer google...
 

Umstellformat

Benutzer
Mitglied seit
09. Feb 2022
Beiträge
3
Punkte für Reaktionen
1
Punkte
3
Hallo ich nochmal. Backup läuft jetzt auf Mega.io mit dem MEGAcmd Paket.
Wer dazu Informationen möchte, bitte melden.
 
  • Like
Reaktionen: Max78

Max78

Benutzer
Mitglied seit
26. Jul 2020
Beiträge
17
Punkte für Reaktionen
0
Punkte
1
Hier :), Bekomme es nicht hin, möchte gerne ein paar bestimmte Ordner synchronisieren. Könntest Du mir bitte helfen?
 

Max78

Benutzer
Mitglied seit
26. Jul 2020
Beiträge
17
Punkte für Reaktionen
0
Punkte
1
Edit: Habe es doch hinbekommen, weiß nicht warum es bisher nicht geklappt hat...
 

DBE-22

Benutzer
Mitglied seit
05. Jul 2022
Beiträge
3
Punkte für Reaktionen
1
Punkte
3
Hallo ich nochmal. Backup läuft jetzt auf Mega.io mit dem MEGAcmd Paket.
Wer dazu Informationen möchte, bitte melden.
Hallo, ist es möglich eine Anleitung zur Einrichtung dieser Lösung von dir zu bekommen? Möchte ebenfalls den Sync mit Mega herstellen.
mfg T. Fieberg
 
  • Like
Reaktionen: momo03

Bevolf

Benutzer
Mitglied seit
17. Apr 2021
Beiträge
52
Punkte für Reaktionen
5
Punkte
14
Moin,

wäre ziemlich nice wenn hier der Workflow einmal geschildert wird.
 

87west

Benutzer
Mitglied seit
25. Mrz 2020
Beiträge
38
Punkte für Reaktionen
2
Punkte
14
Ja, bitte
 
Zuletzt bearbeitet von einem Moderator:

87west

Benutzer
Mitglied seit
25. Mrz 2020
Beiträge
38
Punkte für Reaktionen
2
Punkte
14
Es gibt ein Tutorial auf Github, hier ist es:

MEGAcmd - Command Line Interactive and Scriptable Application​

MEGAcmd provides non UI access to MEGA services. It intends to offer all the functionality with your MEGA account via commands. It features synchronization , backup of local folders into your MEGA account and a webdav/streaming server.

See Usage Examples.

Available packages for MEGAcmd in all supported platforms should be found here. If the package fails to install, read below for the requirements.

It supports 2 modes of interaction:

  • Interactive - A shell to query your actions
  • Scriptable - A way to execute commands from a shell/a script/another program
In order to provide those 2 modes, it features one server (MEGAcmdServer), an interactive shell (MEGAcmdShell) and several commands that will launch the non-interactive client (MEGAcmdClient).

See Usage and Platform to understand how to use it in your particular system.

Building MEGAcmd​

If you wish to build or install MEGAcmd, here are a list of requirements and instructions.

Requirements​

The requirements are the same as those for the sdk (usually cryptopp, zlib, sqlite3, cares, libuv, ssl, curl, sodium, readline for platforms other than Windows. It is recommended to include pcre to have support for regular expressions.

In order to have support for thumbnails and previews, it is highly recommended to have ffmpeg (libavcodec-dev libavutil-dev libavformat-dev libswscale-dev) and mediainfo(libmediainfo-dev + libzen-dev) for media file attributes.

For convenience, here is a list of packages for common Linux Distros and precompiled third party dependencies for other Operative Systems:

  • Ubuntu 16.04
    • autoconf libtool g++ libcrypto++-dev libz-dev libsqlite3-dev libssl-dev libcurl4-openssl-dev libreadline-dev libpcre++-dev libsodium-dev libc-ares-dev libfreeimage-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev libmediainfo-dev libzen-dev
  • Ubuntu 18.04
    • autoconf libtool g++ libcrypto++-dev libz-dev libsqlite3-dev libssl-dev libcurl4-gnutls-dev libreadline-dev libpcre++-dev libsodium-dev libc-ares-dev libfreeimage-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev libmediainfo-dev libzen-dev libuv1-dev
  • Debian 9
    • libcrypto++ libpcrecpp0v5 libc-ares-dev zlib1g-dev libuv1 libssl-dev libsodium-dev readline-common sqlite3 curl autoconf libtool g++ libcrypto++-dev libz-dev libsqlite3-dev libssl-dev libcurl4-gnutls-dev libreadline-dev libpcre++-dev libsodium-dev libc-ares-dev libfreeimage-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev libmediainfo-dev libzen-dev
    • In some instanances you may need to run apt install --reinstall build-essential
  • Windows
    • For Windows, we have recently overhauled the build system and now all the steps are captured in this one script that will acquire and build all dependencies, as well as building MEGAcmd itself, using vcpkg and cmake. To get and use this script, follow these steps in a command prompt:
    • git clone --recurse-submodules --branch tag/youChoose https://github.com/meganz/MEGAcmd.git
    • cd megacmd/build/cmake
    • fullBuildFromScratchOnWindows x64-windows-mega
  • MacOS

Getting the source​

Ensure you obtain the repository recursively.

git clone https://github.com/meganz/MEGAcmd.git
cd MEGAcmd && git submodule update --init --recursive

Building and installing​

For platforms with Autotools, MEGAcmd can be built and installed with:
sh autogen.sh
./configure
make
make install

  • You will need to run make install as root
Note: if you use a prefix in configure, autocompletion from non-interactive usage won't work. You would need to source /YOUR/PREFIX/etc/bash_completion.d/megacmd_completion.sh (or link it at /etc/bash_completion.d)
Alternatively you can build using Qt project located at contrib/QtCreator/MEGAcmd/MEGAcmd.pro.
For Windows/MacOS you will need to place the 3rdparty folder (included in the dependency bundle referenced above) into sdk/bindings/qt/.

Usage​

Before explaining the two ways of interaction, it is important to understand how MEGAcmd works. When you login with MEGAcmd, your session, the list of synced folders, and some cache database are stored in your local home folder. MEGAcmd also stores some other configuration in that folder. Closing it does not delete those and restarting your computer will restore your previous session (the same as megasync won't ask for user/password once you restart your computer).
You will need to logout properly in order to clean your data.
Now let's get into details of the two usage modes. Both modes require that MEGAcmdServer is running. You can manually launch it. Fortunately, you can also open the interactive shell or execute any command and the server will start automatically.

Interactively:​

Execute MEGAcmd shell. Platform section explains how to do that in the different supported systems. You should be facing an interactive shell where you can start typing your commands, with their arguments and flags.
You can list all the available commands with help.
And obtain useful information about a command with command --help
First you would like to log in into your account. Again, notice that doing this stores the session and other stuff in your home folder. A complete logout is required if you want to end you session permanently and clean any traces (see logout --help for further info).

Non-interactively:​

When MEGAcmd server is running, it will be listening for client commands. Use the different mega-* commands available.
mega-help will list all these commands (you will need to prepend "mega-" to the commands listed there). To obtain further info use mega-command --help.
Those commands will have an output value != 0 in case of failure. See megacmd.h to view the existing error codes.
Ideally, you would like to have these commands in your PATH variable (See Platform for more info). For further info use mega-help --non-interactive.

Usage examples​

Here are some examples of use (more info and usage examples are available at the User Guide).
Notice: the commands listed here assume you are using the interactive interaction mode: they are supposed to be executed within MEGAcmdShell.
  • A synchronization can be established simply by typing:
sync /path/to/local/folder /folder/in/mega

This will synchronize the contents in your local and your mega folder both ways.
  • You can also set remote backups of a local folder to keep historical snapshots of your files. So simple as:
backup /path/mega/folder /remote/path --period="0 0 4 * * *" --num-backups=10

This will configure a backup of "myfolder" into /remote/path that will be carried out at 4:00 A.M. (UTC) every day. It will store the last 10 copies.
Further info on backups here.
  • You serve a location in your MEGA account via WebDAV:
webdav /path/mega/folder

  • Or stream a file in your MEGA account:
webdav /path/to/myfile.mp4

Further info on webdav and streaming here.
  • Download the contents of a shared link:
get https://mega.nz/#F!ABcD1E2F!gHiJ23k-LMno45PqrSTUvw /path/to/local/folder

Now let's do something more complicated with non-interactive usage using some GNU tools (similar stuff can be easily done in Windows as well):
  • We want to provide something crypto secured with only 10 minutes of access:
mega-put /path/to/my/temporary_resource /exportedstuff/
mega-export -a /exportedstuff/temporary_resource --expire=10M | awk '{print $4}'

  • Or imagine we'd like to public the enterprise promotional videos of May 2015 that we have previously stored in MEGA:
for i in $(mega-find /enterprise/video/promotional2015/may --pattern="*mpeg"); do
mega-export -a $i | awk '{print $4}';
done
 

87west

Benutzer
Mitglied seit
25. Mrz 2020
Beiträge
38
Punkte für Reaktionen
2
Punkte
14
Hier der entsprechende Part

Here are some examples of use (more info and usage examples are available at the User Guide).
Notice: the commands listed here assume you are using the interactive interaction mode: they are supposed to be executed within MEGAcmdShell.
  • A synchronization can be established simply by typing:
sync /path/to/local/folder /folder/in/mega

This will synchronize the contents in your local and your mega folder both ways.
 

Haldi

Benutzer
Mitglied seit
14. Jan 2013
Beiträge
23
Punkte für Reaktionen
5
Punkte
3
Mega ist sowieso nen drecks hoster.
Nur 5GB Traffic aufm Free profil.
Somit ist es unmöglich mehr las 5gb zu Syncen.
 

Ulfhednir

Benutzer
Sehr erfahren
Mitglied seit
26. Aug 2013
Beiträge
3.264
Punkte für Reaktionen
923
Punkte
174
Und was ist mit dir verkehrt? Das Sprichwort: "Ein geschenkten Gaul schaut man nicht ins Maul" ist dir unbekannt oder?
 
  • Like
  • Haha
Reaktionen: momo03 und plang.pl


 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat 

 
 
  AdBlocker gefunden!

Du bist nicht hier, um Support für Adblocker zu erhalten. Dein Adblocker funktioniert bereits ;-)

Klar machen Adblocker einen guten Job, aber sie blockieren auch nützliche Funktionen.

Das Forum wird mit hohem technischen, zeitlichen und finanziellen Aufwand kostenfrei zur Verfügung gestellt. Wir zeigen keine offensive Werbung und bemühen uns um eine dezente Integration.

Bitte unterstütze dieses Forum, in dem du deinen Adblocker für diese Seite deaktivierst.

Du kannst uns auch über unseren Kaffeautomat einen Kaffe ausgeben oder ein PUR Abo abschließen und das Forum so werbefrei nutzen.

Vielen Dank für Deine Unterstützung!