Hello,
what is in your opinion the best way to copy data from my PC (OS Linux Mint Debian) to my OMV-NAS?
(S)FTP? SSH?
How to copy data to OMV
-
- OMV 1.0
- sadmax
-
-
NFS?
-
Guess it depends on the amount of data, etc..
NFS or SMB makes the most sense... If you're wanting to copy large directories, etc.. then I'd probably think about maybe rsync.
-
-
create job with rsync
-
At first I thought this thread was a troll, but km0201 is right, it really depends on the amount of data you want to transfer. Simply answer I would've given in the first place: Drag n Drop?!
Greetings
David -
One correction:
I meant moving not copying.
About 250 GB. Some files habe 5 GB.
Per Drag n Drop with ftp I had some breakups. -
-
Why would you use the least fitting protocol for in-house network transfers? Just use Samba.
Greetings
David -
indeed. samba + robocopy + shell script (or robocopy /Move)
but if you want to use FTP, you can create simple job to delete local file once transfer is verified. if you use cuteFTP, it comes with a VBScript API, best for remote setups. -
If it is a download from a website I use wget in command line. A few small files a lot of the time I upload with webmin. Lots of medium size, to big, I use Samba.
-
-
but if you want to use FTP
And if he has a lot of small files this will take a looooooooooong time. FTP needs to re-establish the connection per file.
Greetings
David -
telle wrote:
but if you want to use FTPAnd if he has a lot of small files this will take a looooooooooong time. FTP needs to re-establish the connection per file.
yes indeed!!! but for the scenario assumed, for each file transferred to the remote final folder (there maybe a temp, under script control, or default by ftp) check if it was correctly transferred (eg: checksum, or size, or..), then delete the local file...and start again...if you do want a more thorough mechanism...yes, slow!! (but quite safe and user controllable, in the abscence of AS2, for eg)
as mentioned, for local, samba+robocopy /move
(btw; I use an rsync job for local backup of OMV data to curlftpfs mounted box, as my OMV is in a HMNHDCE, so can't plug more HDs, other than USB which I use from time to time to transfer photos)
-
Hello friends of OMV
I push this old thread to the top, because i have the same problem.
can anybody help me uploading files to my OMV?
YES - i have configured SAMBA and it workes.
But i need to upload scripts and want access to the root directories.
I tried to use sftp with total commander, but - hell - the sftp plugin do not work proberbly. Sometimes i can connect, but can not upload files. Next time i can not even connect..
So: can someone tell my how to upload files via and simple gui with write access to the root directories?!?
Thank u !!
-
-
You are doing something very wrong or haven't thought trough what it is you are trying to do. There is no real reason why SMB, using normal drag-and-drop, shouldn't be suitable for copying over files to OMV. Besides, you are not supposed to write to any root directories in any filesystem on OMV.
That said, here is one way to copy files to OMV without any limitations or safeguards at all. Possibly making OMV unusable in the process:
You can use Midnight Commander and fish. Install MC on your OMV box. Login and start MC, possibly as root. Then open a ssh session in one of the MC panes, to some remote server also running ssh. Possibly as root on the remote server. And copy away from the remote server to the OMV box. You will be able to overwrite anything and everything. And do so without any regard to how file sharing on OMV works.
This may (is likely to) mess up your OMV box because access rights are not correct. And you are able to overwrite anything. But you may be able to fix some of the mess afterwards running the plugin reset perms.
There are many other ways, involving SSH, to do the same dangerous thing, but using MC and fish may be the easiest. At least to me.
-
But i need to upload scripts and want access to the root directories.
You can use Filezilla or WinSCP to connect via sftp or create a shared folder with the sharerootfs plugin.
-
thank u for your help.
Is it right, that only root can SSH into OMV Box?
My user have all rights (I'm the only admin of this OMV system... It is only in my home network... Just a testing station on a VM)
As a root user I can go via sftp and can copy/move/delete files.
So with root user, my problem is solved...
But I thought I can do it with my user...
-
-
Is it right, that only root can SSH into OMV Box?
This is not correct. Any user who belongs to the ssh group can ssh into the OMV box.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!