Giter Club home page Giter Club logo

Comments (12)

tdspencer3 avatar tdspencer3 commented on August 30, 2024 1

I am pretty sure the mds messages/errors are from spotlight, which is not enabled in this image. TimeMachine will try to use Spotlight to index the backup, but it doesn't appear TimeMachine requires it and still works fine without it.

from docker-timemachine.

mbentley avatar mbentley commented on August 30, 2024 1

While not fully relevant to the issue, I was curious if it would be useful to have spotlight indexing work to speed up the time machine process and was thinking about doing some sort of proof of concept to test it but even just for a quick and dirty POC, it looked like a bit of a pain in the ass to be honest. Actually getting it properly working in a seamless fashion probably wouldn't happen without a decent amount of research and testing so that's probably not going to happen unless someone either would help with that or could prove that it would be a significant performance increase.

Now for the actual issue, I figured I would try it super quickly and I end up with the same issue. What port are you attempting to map back via port forwarding over ssh? Is it using the default port of 445 or are you using a different port? I tried with 4450 and like you, I can connect to the share fine but timemachine doesn't work. I also reconfigured timemachine to actually use port 4450 but it also didn't work.

screenshot 2021-01-22 at 7 19 53 PM

So I am not sure if it is something there it doesn't work natively either when tunneling over ssh or a specific config issue related to the container but it's difficult to say since it works fine for normal use cases.

from docker-timemachine.

mbentley avatar mbentley commented on August 30, 2024

Sorry I haven't been able to look into this yet. I'll have to see if this is something I can replicate at all but it will probably take some time. What version of macOS are you running?

from docker-timemachine.

tdspencer3 avatar tdspencer3 commented on August 30, 2024

I also briefly looked into what it would take to get spotlight working. I also felt the same way about it. Maybe some day...

from docker-timemachine.

mundschenk-at avatar mundschenk-at commented on August 30, 2024

@mbentley What issue are you having with Spotlight? I am currently using another image (https://github.com/awlx/samba-timemachine which seems to work fine regarding spotlight) but want to switch to yours for the "native" multi-user support. I'd be willing to help work this out.

from docker-timemachine.

mbentley avatar mbentley commented on August 30, 2024

It's only for spotlight indexing. the awlx image doesn't appear to do anything specific related to running any additional processes to allow for spotlight indexing.

from docker-timemachine.

mundschenk-at avatar mundschenk-at commented on August 30, 2024

It's only for spotlight indexing. the awlx image doesn't appear to do anything specific related to running any additional processes to allow for spotlight indexing.

Oh, OK, it only includes spotlight = yes in its smb.conf. From the initial information in the Samba wiki, I thought that this was enough, but (together with setting the backend to elasticsearch), but yeah, so there would need to be an installation of elasticsearch and fscrawler as well.

from docker-timemachine.

benny1213 avatar benny1213 commented on August 30, 2024

default port of 445

i also tried the port different than 445 and it's shows same Auth failure on system log, while once i tried 445 port, timemachine backup just fine without anyother config changing.

but i am wondering why we can't use port other than 445 and if there is other way to work though, cause my ISP block 80/443 as well as 445 ports.

from docker-timemachine.

mbentley avatar mbentley commented on August 30, 2024

default port of 445

i also tried the port different than 445 and it's shows same Auth failure on system log, while once i tried 445 port, timemachine backup just fine without anyother config changing.

Did you make sure to specify the port when trying to connect to the time machine?

but i am wondering why we can't use port other than 445 and if there is other way to work though, cause my ISP block 80/443 as well as 445 ports.

You can change it. Your ISP isn't blocking the port unless they're actively filtering your private network or you're trying to connect over the internet through your router which would be a terrible idea.

from docker-timemachine.

benny1213 avatar benny1213 commented on August 30, 2024

thanks for replying @mbentley

Did you make sure to specify the port when trying to connect to the time machine?

yes i did, i can connect to my samba server with specific port using Finder App but not using TimeMachine App.

you're trying to connect over the internet through your router which would be a terrible idea.

yes, i am trying to connect over the internet, i think it would be much more convenient when i am not home. is it not secure doing that? i think there is a username/password protection and it would be fine.

Your ISP isn't blocking the port

i think my ISP is, i used to try nmap my router IP from a different network (mobile hotspot), which shows 80/443/445 is off wile i had some service on those port.

from docker-timemachine.

mbentley avatar mbentley commented on August 30, 2024

If you really want to backup when you're not at home, you should make use of a VPN. I would never recommend exposing Samba on a public interface, authentication or not.

from docker-timemachine.

benny1213 avatar benny1213 commented on August 30, 2024

sure, will use a VPN then, thank you @mbentley

from docker-timemachine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.