使用内部 iPhone Web 服务器进行标准备份/恢复
有谁知道是否有可用的开源解决方案 将文件/目录从 iPhone 备份/恢复到 Mac/PC? 我想使用内部 iPhone Web 服务器和连接 通过浏览器可能是标准程序? 任何帮助将不胜感激.. 谢谢 Matthias
PS:我只是想在我的 iPhone 应用程序之一中实现备份功能, 我正在寻找一个准备运行的开源库/源代码示例 演示文件传输(一个 sqlite + 一些图像文件, 存储在我的iPhone应用程序的文档路径中) 到客户端(MAC/PC)的文件系统。 可以进行动态数据压缩吗? 1. 在我的 iPhone 应用程序中启动内部 Web 服务器 2.客户端连接(浏览器)到iPhone网络服务器
3.下载文件到客户端。
Does anybody know, if there is an open source solution available
to backup/restore files/directories from iPhone to Mac/PCs?
I thought using the internal iPhone Web Server and a connect
via browser might be the standard procedure ?
Any help would be appreciated ..
Thanks Matthias
PS: I just wanna implement a backup feature in one of my iPhone Apps and
I'm looking for a ready to run open source library / source code samples
which demonstrate the file transfer (a sqlite + a few image files,
stored in the document path of my iPhone app)
to the file system of a client (MAC/PC).
May be with on the fly data compression ?
1. starting the internal Web Server in my iPhone app
2. client connect (browser) to the iPhone web server
3. download files to the client.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我没有完全理解这个问题,但是你来了(开源解决方案??):
备份和恢复iOS设备:iCloud,iOS 5中的无线同步,通过成为付费注册开发人员获得测试版副本或等到秋季
备份和恢复 Mac:Time Machine,购买 Time Capsule,将硬盘直接连接到 Mac,Apple 使备份和恢复变得非常容易,我喜欢我的 Time Capsule,或者购买 Mac 服务器而不是 Time胶囊和将所有 Mac 备份到该
备份和恢复 PC:好吧,既然它无论如何都会崩溃,你最好研究一下这个,但我不确定 PC
I didn't completely understand the question, but here you go (open source solution??):
Backing up and restoring iOS devices: iCloud, Wireless Syncing in iOS 5, get a beta copy by becoming a paid registered developer or wait until the fall
Backing up and restoring Macs: Time Machine, buy a Time Capsule, connect a hard drive directly to the Macs and Apple makes it REALLY easy to back up and restore, I love my Time Capsule, OR buy a Mac Server instead of a Time Capsule and back up all of your Macs to that
Backing up and restoring PCs: Well, since it's going to crash anyway, you better look into this but I'm not sure about PCs
iOS 5 有 iCloud 来完成备份工作。作为一项附加功能,它还可以确保 iPhone 中的数据与 iPad 等中的数据同步。
缺点是这仅适用于支持 iOS 5 的设备。我怀疑是否有任何东西可以提供这种跨设备的无缝集成。
如果您想自己做一些事情,请在 iOS 设备中使用
sqlite
或filestore
,使用 ASIHTTP 作为你的库,点击你想要存储的服务器将数据从客户端同步到服务器。iOS 5 has got iCloud which does the backup job. As an additional feature, it also makes sure the data in your iPhone is synced with the data in your iPad etc.
The downside being this is only for iOS 5 supported devices. I doubt there is anything out there which provides this seamless integration across devices.
If you want to do something on your own, the use
sqlite
orfilestore
in iOS devices, use ASIHTTP as your library, hit your server where you want to store & sync data from client to server.为了跨所有 iOS 版本无缝集成,
我们将把 WebServer 集成到我们的应用程序中,
它允许用户备份所有用户数据(保存在iPhone上的文档目录中)
在 PC/MAC(基于浏览器)上并稍后恢复。
For a seamless integration across all iOS versions,
we will integrate a WebServer into our app,
which allows the user to backup all user data (saved in the documents directory on iPhone)
on a PC/MAC (browser based) and restore it later.