Git Product home page Git Product logo

borg-machine's Introduction

BorgMachine

A macOS app using Borg Backup to implement a similar backup experience to using Time Machine.

Building

pod install

Open BorgMachine.xcworkspace in Xcode and build.

Roadmap to first useful alpha

  • Add support for remote repositories
  • Add support for scheduled backups
  • Finish the preferences screen

License

BSD 2-clause. See LICENSE.

borg-machine's People

Contributors

bbqsrc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

neilbain

borg-machine's Issues

Launch path not accessible

Scheduling 0 events. 2017-05-03 23:51:56.186658-0500 Borg Machine[8674:427997] [General] An uncaught exception was raised 2017-05-03 23:51:56.204126-0500 Borg Machine[8674:427997] [General] launch path not accessible 2017-05-03 23:51:56.204223-0500 Borg Machine[8674:427997] [General] ( 0 CoreFoundation 0x00007fffc861962b __exceptionPreprocess + 171 1 libobjc.A.dylib 0x00007fffdd8561da objc_exception_throw + 48 2 CoreFoundation 0x00007fffc8696c55 +[NSException raise:format:] + 197 3 Foundation 0x00007fffca05fb3e -[NSConcreteTask launchWithDictionary:] + 414 4 Borg Machine 0x0000000100034f4c _TFC11BorgMachine24BufferedStringSubprocess6launchfT_T_ + 28 5 Borg Machine 0x0000000100069055 _TFC11BorgMachine8InfoTask3runfT10onProgressFVS_10InfoRecordT__T_ + 69 6 Borg Machine 0x000000010006a008 _TTWC11BorgMachine8InfoTaskS_15BorgMachineTaskS_FS1_3runfT10onProgressFwx1TT__T_ + 120 7 Borg Machine 0x000000010003afd7 _TFFE11BorgMachinePS_15BorgMachineTask5startFT10onProgressFwx1TT_9onSuccessGSqFT_T__9onFailureGSqFVs5Int32T__6onExitGSqFT_T___T_U_FT_T_ + 279 8 Borg Machine 0x000000010003b46c _TPA__TFFE11BorgMachinePS_15BorgMachineTask5startFT10onProgressFwx1TT_9onSuccessGSqFT_T__9onFailureGSqFVs5Int32T__6onExitGSqFT_T___T_U_FT_T_ + 252 9 Borg Machine 0x0000000100016ba7 _TTRXFo___XFdCb___ + 39 10 libdispatch.dylib 0x00000001010c9cfe _dispatch_call_block_and_release + 12 11 libdispatch.dylib 0x00000001010c078c _dispatch_client_callout + 8 12 libdispatch.dylib 0x00000001010c2cc1 _dispatch_root_queue_drain + 1364 13 libdispatch.dylib 0x00000001010c271d _dispatch_worker_thread3 + 114 14 libsystem_pthread.dylib 0x0000000101137812 _pthread_wqthread + 1299 15 libsystem_pthread.dylib 0x00000001011372ed start_wqthread + 13 ) 2017-05-03 23:51:56.251673-0500 Borg Machine[8674:427997] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'launch path not accessible' *** First throw call stack: ( 0 CoreFoundation 0x00007fffc861962b __exceptionPreprocess + 171 1 libobjc.A.dylib 0x00007fffdd8561da objc_exception_throw + 48 2 CoreFoundation 0x00007fffc8696c55 +[NSException raise:format:] + 197 3 Foundation 0x00007fffca05fb3e -[NSConcreteTask launchWithDictionary:] + 414 4 Borg Machine 0x0000000100034f4c _TFC11BorgMachine24BufferedStringSubprocess6launchfT_T_ + 28 5 Borg Machine 0x0000000100069055 _TFC11BorgMachine8InfoTask3runfT10onProgressFVS_10InfoRecordT__T_ + 69 6 Borg Machine 0x000000010006a008 _TTWC11BorgMachine8InfoTaskS_15BorgMachineTaskS_FS1_3runfT10onProgressFwx1TT__T_ + 120 7 Borg Machine 0x000000010003afd7 _TFFE11BorgMachinePS_15BorgMachineTask5startFT10onProgressFwx1TT_9onSuccessGSqFT_T__9onFailureGSqFVs5Int32T__6onExitGSqFT_T___T_U_FT_T_ + 279 8 Borg Machine 0x000000010003b46c _TPA__TFFE11BorgMachinePS_15BorgMachineTask5startFT10onProgressFwx1TT_9onSuccessGSqFT_T__9onFailureGSqFVs5Int32T__6onExitGSqFT_T___T_U_FT_T_ + 252 9 Borg Machine 0x0000000100016ba7 _TTRXFo___XFdCb___ + 39 10 libdispatch.dylib 0x00000001010c9cfe _dispatch_call_block_and_release + 12 11 libdispatch.dylib 0x00000001010c078c _dispatch_client_callout + 8 12 libdispatch.dylib 0x00000001010c2cc1 _dispatch_root_queue_drain + 1364 13 libdispatch.dylib 0x00000001010c271d _dispatch_worker_thread3 + 114 14 libsystem_pthread.dylib 0x0000000101137812 _pthread_wqthread + 1299 15 libsystem_pthread.dylib 0x00000001011372ed start_wqthread + 13 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)

Problems getting borg-machine to compile

Hello, Jack linked me to this when he found out I was using borg on a mac.

Can you help me get the xcode depends working? The build fails when I try to build it. I installed CocaPods and Carthage, but am still lost. I'm clueless with XCode.

Thanks.

Crashes on launch.

MainPreferences(json: ["passphrase": actual passphrase with symbols, "targetPaths": <__NSSingleObjectArrayI 0x618000000990>(
/Users/zoeycluff
)
, "repositoryPath": /Volumes/tank/backup])
2017-04-10 23:34:32.836359-0500 BorgMachine[6577:91265] [General] An uncaught exception was raised
2017-04-10 23:34:32.836716-0500 BorgMachine[6577:91265] [General] launch path not accessible
2017-04-10 23:34:32.837192-0500 BorgMachine[6577:91265] [General] (
0 CoreFoundation 0x00007fff91aa862b exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffa6ce51da objc_exception_throw + 48
2 CoreFoundation 0x00007fff91b25c55 +[NSException raise:format:] + 197
3 Foundation 0x00007fff934eeb3e -[NSConcreteTask launchWithDictionary:] + 414
4 BorgMachine 0x000000010002706c TFC11BorgMachine24BufferedStringSubprocess6launchfT_T + 28
5 BorgMachine 0x000000010001d815 TFC11BorgMachine8ListTask3runfT10onProgressFVS_10ListRecordT__T + 69
6 BorgMachine 0x000000010001e6a8 TTWC11BorgMachine8ListTaskS_15BorgMachineTaskS_FS1_3runfT10onProgressFwx1TT__T + 120
7 BorgMachine 0x0000000100003907 TFFE11BorgMachinePS_15BorgMachineTask5startFT10onProgressFwx1TT_9onSuccessGSqFT_T__9onFailureGSqFVs5Int32T__6onExitGSqFT_T___T_U_FT_T + 279
8 BorgMachine 0x0000000100003d9c TPA__TFFE11BorgMachinePS_15BorgMachineTask5startFT10onProgressFwx1TT_9onSuccessGSqFT_T__9onFailureGSqFVs5Int32T__6onExitGSqFT_T___T_U_FT_T + 252
9 BorgMachine 0x0000000100003e27 TTRXFo___XFdCb
+ 39
10 libdispatch.dylib 0x0000000100f86cfe _dispatch_call_block_and_release + 12
11 libdispatch.dylib 0x0000000100f7d78c _dispatch_client_callout + 8
12 libdispatch.dylib 0x0000000100f7fcc1 _dispatch_root_queue_drain + 1364
13 libdispatch.dylib 0x0000000100f7f71d _dispatch_worker_thread3 + 114
14 libsystem_pthread.dylib 0x0000000100ff4812 _pthread_wqthread + 1299
15 libsystem_pthread.dylib 0x0000000100ff42ed start_wqthread + 13
)
2017-04-10 23:34:32.839280-0500 BorgMachine[6577:91265] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'launch path not accessible'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff91aa862b exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffa6ce51da objc_exception_throw + 48
2 CoreFoundation 0x00007fff91b25c55 +[NSException raise:format:] + 197
3 Foundation 0x00007fff934eeb3e -[NSConcreteTask launchWithDictionary:] + 414
4 BorgMachine 0x000000010002706c TFC11BorgMachine24BufferedStringSubprocess6launchfT_T + 28
5 BorgMachine 0x000000010001d815 TFC11BorgMachine8ListTask3runfT10onProgressFVS_10ListRecordT__T + 69
6 BorgMachine 0x000000010001e6a8 TTWC11BorgMachine8ListTaskS_15BorgMachineTaskS_FS1_3runfT10onProgressFwx1TT__T + 120
7 BorgMachine 0x0000000100003907 TFFE11BorgMachinePS_15BorgMachineTask5startFT10onProgressFwx1TT_9onSuccessGSqFT_T__9onFailureGSqFVs5Int32T__6onExitGSqFT_T___T_U_FT_T + 279
8 BorgMachine 0x0000000100003d9c TPA__TFFE11BorgMachinePS_15BorgMachineTask5startFT10onProgressFwx1TT_9onSuccessGSqFT_T__9onFailureGSqFVs5Int32T__6onExitGSqFT_T___T_U_FT_T + 252
9 BorgMachine 0x0000000100003e27 TTRXFo___XFdCb
+ 39
10 libdispatch.dylib 0x0000000100f86cfe _dispatch_call_block_and_release + 12
11 libdispatch.dylib 0x0000000100f7d78c _dispatch_client_callout + 8
12 libdispatch.dylib 0x0000000100f7fcc1 _dispatch_root_queue_drain + 1364
13 libdispatch.dylib 0x0000000100f7f71d _dispatch_worker_thread3 + 114
14 libsystem_pthread.dylib 0x0000000100ff4812 _pthread_wqthread + 1299
15 libsystem_pthread.dylib 0x0000000100ff42ed start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

error: no such file or directory: 'borg-machine/Sources/Utilities/WindowWatcher.swift

CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
    cd /Users/zoeycluff/borg-machine
    export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name BorgMachine -Onone -DDEBUG -D COCOAPODS -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -target x86_64-apple-macosx10.10 -g -module-cache-path /Users/zoeycluff/Library/Developer/Xcode/DerivedData/ModuleCache -Xfrontend -serialize-debugging-options -enable-testing -I /Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Products/Debug -F /Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Products/Debug -F /Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Products/Debug/ModelMapper -F /Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Products/Debug/RxCocoa -F /Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Products/Debug/RxOptional -F /Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Products/Debug/RxSwift -c -j4 /Users/zoeycluff/borg-machine/Sources/Views/PreferencesView.swift /Users/zoeycluff/borg-machine/Sources/Models/RepositoryRecord.swift /Users/zoeycluff/borg-machine/Sources/Views/ArchiveListView.swift /Users/zoeycluff/borg-machine/Sources/Models/ArchiveListRecord.swift /Users/zoeycluff/borg-machine/Sources/AppPreferences.swift /Users/zoeycluff/borg-machine/Sources/Models/FileRecord.swift /Users/zoeycluff/borg-machine/Sources/Views/OnboardingView.swift /Users/zoeycluff/borg-machine/Sources/Controllers/PreferencesController.swift /Users/zoeycluff/borg-machine/Sources/Models/InfoArchiveRecord.swift /Users/zoeycluff/borg-machine/Sources/Models/InfoArchiveStatsRecord.swift /Users/zoeycluff/borg-machine/Sources/Models/InfoRecord.swift /Users/zoeycluff/borg-machine/Sources/Controllers/SystemMenuController.swift /Users/zoeycluff/borg-machine/Sources/Utilities/WindowWatcher.swift /Users/zoeycluff/borg-machine/Sources/Extensions.swift /Users/zoeycluff/borg-machine/Sources/Controllers/ArchiveListController.swift /Users/zoeycluff/borg-machine/Sources/Views/ArchiveFileView.swift /Users/zoeycluff/borg-machine/Sources/Utilities/BufferedStringProcess.swift /Users/zoeycluff/borg-machine/Sources/Services/BackupService.swift /Users/zoeycluff/borg-machine/Sources/Protocols/BorgMachineTask.swift /Users/zoeycluff/borg-machine/Sources/AppDelegate.swift /Users/zoeycluff/borg-machine/Sources/Tasks/ListTask.swift /Users/zoeycluff/borg-machine/Sources/Services/BorgWrapper.swift /Users/zoeycluff/borg-machine/Sources/Controllers/ArchiveFileController.swift /Users/zoeycluff/borg-machine/Sources/Controllers/OnboardingController.swift /Users/zoeycluff/borg-machine/Sources/Models/ListRecord.swift /Users/zoeycluff/borg-machine/Sources/Models/ArchiveRecord.swift /Users/zoeycluff/borg-machine/Sources/Tasks/InfoTask.swift /Users/zoeycluff/borg-machine/Sources/Tasks/BackupTask.swift -output-file-map /Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Intermediates/BorgMachine.build/Debug/BorgMachine.build/Objects-normal/x86_64/BorgMachine-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Intermediates/BorgMachine.build/Debug/BorgMachine.build/Objects-normal/x86_64/BorgMachine.swiftmodule -Xcc -I/Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Intermediates/BorgMachine.build/Debug/BorgMachine.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Intermediates/BorgMachine.build/Debug/BorgMachine.build/Borg\ Machine-generated-files.hmap -Xcc -I/Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Intermediates/BorgMachine.build/Debug/BorgMachine.build/Borg\ Machine-own-target-headers.hmap -Xcc -I/Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Intermediates/BorgMachine.build/Debug/BorgMachine.build/Borg\ Machine-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Intermediates/BorgMachine.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Intermediates/BorgMachine.build/Debug/BorgMachine.build/Borg\ Machine-project-headers.hmap -Xcc -I/Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Products/Debug/include -Xcc -I/Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Intermediates/BorgMachine.build/Debug/BorgMachine.build/DerivedSources/x86_64 -Xcc -I/Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Intermediates/BorgMachine.build/Debug/BorgMachine.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -emit-objc-header -emit-objc-header-path /Users/zoeycluff/Library/Developer/Xcode/DerivedData/BorgMachine-dzconucaaksfnkdosufjkygiknrt/Build/Intermediates/BorgMachine.build/Debug/BorgMachine.build/Objects-normal/x86_64/BorgMachine-Swift.h -Xcc -working-directory/Users/zoeycluff/borg-machine

<unknown>:0: error: no such file or directory: '/Users/zoeycluff/borg-machine/Sources/Utilities/WindowWatcher.swift'
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

did pod install before building.

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.