README_WINDOWS.rst 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. Borg Native on Windows
  2. ======================
  3. Running borg natively on windows is in a early alpha stage. Expect many things to fail.
  4. Do not use the native windows build on any data which you do not want to lose!
  5. Build Requirements
  6. ------------------
  7. - VC 14.0 Compiler
  8. - OpenSSL Library v1.1.1c, 64bit (available at https://slproweb.com/products/Win32OpenSSL.html)
  9. - Patience and a lot of coffee / beer
  10. What's working
  11. --------------
  12. .. note::
  13. The following examples assume that the `BORG_REPO` and `BORG_PASSPHRASE` environment variables are set
  14. if the repo or passphrase is not explicitly given.
  15. - Borg does not crash if called with ``borg``
  16. - ``borg init --encryption repokey-blake2 ./demoRepo`` runs without an error/warning.
  17. Note that absolute paths only work if the protocol is explicitly set to file://
  18. - ``borg create ::backup-{now} D:\DemoData`` works as expected.
  19. - ``borg list`` works as expected.
  20. - ``borg extract --strip-components 1 ::backup-XXXX`` works.
  21. If absolute paths are extracted, it's important to pass ``--strip-components 1`` as
  22. otherwise the data is resotred to the original location!
  23. What's NOT working
  24. ------------------
  25. - Extracting a backup which was created on windows machine on a non windows machine will fail.
  26. - And many things more.