服务器使用 Time Machine 备份简易方案
引言
想使用 Time Machine 进行备份要么需要外接硬盘,要么需要专用的设备,但是如果要求不是很高的话也可以使用随便一个可以连接到的网络空间。
效果展示
过程
大概需要三步:
- 创造空白镜像
- 连接网络上的空间
- 在已连接的空间打开新建镜像
创建空白镜像
重点是:
- Select the “New Image” option to create you new disk image and save it to your Desktop. 左上角创建空白镜像。
- Start at the bottom with changing the Image Format to “sparse bundle disk image”. 格式是稀疏捆绑磁盘镜像。
- Change “Partitions” selection to “No partition map.” 没有分区映射。
- “Volume Format” to “Mac OS Extended (Case-sensitive, Journaled)”.
- Change “Volume Size” to “Custom” and enter a volume size that suits your needs. 大概 300G 以上。
在已连接的空间打开新建镜像
记一下挂载后的位置,替换掉 setdestination 后面的字符。
1 | sudo tmutil setdestination /Volumes/time_machine |
可以使用nload
查看上传下载速度。
结论
效果还行,主要看网络情况。
引用
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment