Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve platform independence (was: Backintime on OSX) #873

Closed
myzinsky opened this issue Feb 19, 2018 · 9 comments
Closed

Improve platform independence (was: Backintime on OSX) #873

myzinsky opened this issue Feb 19, 2018 · 9 comments
Assignees
Labels
Discussion decision or consensus needed Feature requests a new feature Low relevant, but not urgent

Comments

@myzinsky
Copy link

Is there a realistic chance that Backintime can run on OSX? Time Machine does not work properly for me so I consider backintime as a good alternative.

@Germar
Copy link
Member

Germar commented Feb 20, 2018

As BiT is written in Python which is platform independent it would be possible to port BiT to OSX or Windows. But BiT uses lots of Linux specific code so it won't run out of the box. It would be quite some work...

@myzinsky
Copy link
Author

Yeah, I realised that there are many calls to /proc which does not exists in macOS. I just wrote a simple rsync script by myself. However, platform independence could be a feature request :)

@emtiu emtiu added Feature requests a new feature Low relevant, but not urgent and removed wishlist labels Sep 22, 2022
@buhtz buhtz changed the title Backintime on OSX Improve platform independence (was: Backintime on OSX) Mar 16, 2023
@buhtz
Copy link
Member

buhtz commented May 24, 2023

I assume OS X does have an rsync implementation. All other things can be done.

But we need an OS X person in the team to realize this. None of use OS X. But if anyone is out there we will support.

But I also wonder if there is a need for BIT on OS X. Don't they have something like a "timemachine" as a backup solution?

@EureDudeheit
Copy link

Yes, on Mac OS they have time machine. As was mentioned before there is lots of Linux specific code.
How are the chances to get BiT running native under Windows?
My current workaround is to install BiT in a Live-USB-system, boot the machine from the USB-drive and perform the backups. However, this is very inconvenient.

@aryoda
Copy link
Contributor

aryoda commented Oct 16, 2023

How are the chances to get BiT running native under Windows?

I'd say chances for getting BiT running on Windows with all features working is far beyond the capacity we have to port the code (even when using [cygwin](https://www.cygwin.com/):

  • Scheduling in BiT is done with cron
  • BiT uses DBus IPC communication
  • BiT uses POSIX signal handling to communicate with processes
  • Keyrings are used to store credentials (Windows uses a similar concept called "Credential store" though)
  • ...

Perhaps Microsoft's "Linux subsystem for Windows" may be mature enough for this in the future.

For OS X is see similar challenges (efforts) though it is at least a Unix system more similar to Linux than Windows.

@EureDudeheit
Copy link

EureDudeheit commented Oct 16, 2023

Thanks for the explanation! I think that would be too much effort after all...
For those who are also interested in Windows-use, a short summary of the workarounds i tried so far*:

  • I already tried Linux subsystem for Windows -> there were some issues with the read permissions. I think it cannot "pass-through" the permissions.

  • Also read permission issues when i use cygwin with handwritten rsync-scripts.

  • Sharing the C:\ in the Network and mounting it in the Linux machine to perform the backup with BiT has a massive lack in transmission speed and also issues with read permissions.**

  • The easiest workaround is: Install Linux (dualboot) or use a pendrive with BiT on it.

*This is a little off-topic, i wanted to share my experience to prevent others from wasting their time. Maybe this could be added in the FAQ?
**My private network at home, i don't do that at work...

@aryoda aryoda self-assigned this Oct 16, 2023
@aryoda
Copy link
Contributor

aryoda commented Oct 16, 2023

  • The easiest workaround is: Install Linux (dualboot) or use a pendrive with BiT on it.

And it looks like NTFS does support hardlinks to BiT (better: rsync) can save disk space on the backup target:

#1212 (comment)

Maybe this could be added in the FAQ?

Good idea (task assigned to myself :-)

@buhtz
Copy link
Member

buhtz commented Mar 20, 2024

The topic is relevant but to broad. Using all platform independence features of Python (e.g. pathlib) will be realized step by step but not finished early. I would like to close this issue because of this.

But I also encourage Mac (and other platform) users to report specific problems and suggest specific solutions in separate Issues tickets.

@buhtz buhtz added Discussion decision or consensus needed Close after cooling-off period Feedback needs user response, may be closed after timeout without a response labels Mar 20, 2024
@buhtz
Copy link
Member

buhtz commented Mar 28, 2024

Closing this ticket based on the comment above. Feel free to reopen. Thank you for your efforts. If you have
any further questions, ideas or encounter any other issues, please
don't hesitate to let us know.

Best regards,

@buhtz buhtz closed this as completed Mar 28, 2024
@buhtz buhtz removed Feedback needs user response, may be closed after timeout without a response Close after cooling-off period labels Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion decision or consensus needed Feature requests a new feature Low relevant, but not urgent
Projects
None yet
Development

No branches or pull requests

6 participants