N
N
null2015-11-12 16:37:08
Backup
null, 2015-11-12 16:37:08

Backup macos to a windows machine, what is the technical solution?

Hello. The question is a cry from the heart. Spent a day to solve the problem, as a result, a dead end. I hope you share your experience :)
There is a powerful windows machine with large hard drives, I decided to make a storage for backups on its basis.
I have a macbook, I want to periodically backup it through timemachine, and also make a copy of important folders through rsync.
Okay, everything is clear. I installed Logmein Hamachi on both machines so that the connection was from anywhere with the Internet, everything works, everything is ok.
Then I raised samba to Windows 7 x64, the macbook connected - everything is super.
Next, I made a sparsebundle image under the macro to use it for TimeMachine.
I did everything, transferred it to a folder on samba, I make a backup. I tried many times, as a result, the backup download stops at 0.8-1.5GB, it does not go any further.
I tried to use rsync to copy folders from a poppy to the same samba - it works extremely slowly on small files, as a result, after a couple of minutes the whole process freezes, apparently samba stops working or something like that.
Also, if you roam around samba through finder, everything often sticks, or falls off altogether.
If you copy a large file from a poppy to a samba via finder or rsync, the process is running, the speed is 5-6 mbs.
I tried to set some kind of sesstimeout for samba in the registry on Windows - it did not help.
I tried to mount via cifs (smb v1) - the same problem.
Ok, let's move on. I want to try NFS. I did not find a native NFS server for Windows. I tried different third-party solutions - eventually earned Hanewin nfs server. Mounted from a poppy, everything seems to be ok.
I transfer a file with a sparsebundle image from a poppy to a folder (nfs), everything is copied correctly. But the image from nfs is not mounted. I connect the same folder via samba - everything is mounted. According to nfs - writes that no mountable filesystem. I tried different options on the server, different options when mounting - nifiga, still the same error.
Ok, to hell with it, I'll try rsync again. The same trouble - the transfer goes correctly, but after a couple of gigs everything shuts up again, network activity on both computers subsides ..
Copying large single files - again ok.
For the purity of the experiment, I raised an NFS server under CentOS on one of my servers on the Internet.
All the same.
I think, well, that's it, let's try the old folk one - FTP. Raised ftp + ssl, everything works super, the transfer speed is maximum. But I want to do something beautiful, so that the ball is mounted like a disk and TM can be used. I used the TransmitDisk solution for poppy, the ftp server was mounted. However, it turned out that this would not work for my tasks - I transfer a large file to this share, I look at the FTP server logs - the transfer is extremely crooked, in small pieces, in general - very slowly, it will not work for my tasks.
Well, actually, everything. Dead end. I sincerely believed that I could solve this simple problem, but - nifiga.
I don't know what other solutions you can come up with..
As a result, it turns out that FTP is the most stable and transparent solution, and the fastest one.
However, rsync does not work with ftp, and the timemachine image apparently will not work through a crutch mounted ftp disk either.
I really want to solve the problem, but I don’t understand where to go already .. I tried everything, googled everything - everyone has problems with the stability and speed of NFS and SMB. Everyone has a lot of topics, a lot of questions, different problems everywhere, there is no one solution.
Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question