有没有人来谈谈家用NAS下大家的备份策略?

97 views
Skip to first unread message

Steven Shi

unread,
Jun 19, 2013, 9:00:59 AM6/19/13
to sh...@googlegroups.com
家里有一台HP N40L,装的是ArchLinux,带4个硬盘槽,只支持RAID0和RAID1. 现在一块2T硬盘,用了1T左右.但感觉这样储存太不安全了,准备再安装一块硬盘

想听听大家平时是怎么在linux下做备份的,是用RAID呢?还是夜间自动备份比如rsync什么

因为考虑RAID的话,误删除还是会导致数据丢失,是不是自动备份会比较好一些?

暂不考虑火灾水灾地震等灾难

还有我碰到的问题顺便问一下,比如我再买块2T硬盘,如果建RAID1,必须要format,那我数据没地方放了,是不是必须买两块2T硬盘,把数据拷出去,建好raid再拷回来才行?

Aaron Zhou

unread,
Jun 19, 2013, 10:43:30 AM6/19/13
to sh...@googlegroups.com
mark同问备份方案。


--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
 
 



--
Thx & Regards

aaron67

Richard Ma

unread,
Jun 19, 2013, 11:04:51 AM6/19/13
to shlug
mark 也有加块硬盘做RAID的想法


2013/6/19 Aaron Zhou <dail...@gmail.com>



--
Best Regards.

Richard Ma

My Blog: www.richardma.org

Druggo

unread,
Jun 19, 2013, 10:11:28 PM6/19/13
to sh...@googlegroups.com
soft raid1 + rsnapshot

soft raid的好处,无论换什么型号电脑,接上硬盘,raid始终可用,
另外还可以先单硬盘建raid1,数据移过去后,再把missing的那块加入。

rsnaphost是基于rsync和硬连接技术的增量备份解决方案。

Gene Wu

unread,
Jun 19, 2013, 11:45:00 PM6/19/13
to SHLUG

Buffalo的NAS双盘位raid mirror

简单,不折腾,还原生支持time machine,支持网络自动唤醒

关键老婆也会用!

send from android
Gene

Shell Xu

unread,
Jun 20, 2013, 4:58:32 AM6/20/13
to shlug
用个有坏道的硬盘,半年同步一次不常变化的数据。关键数据在多个机器间定时同步复制——我总不能三台电脑一起坏了吧。
最最核心的数据,同步到云。


在 2013年6月19日下午9:00,Steven Shi <steven...@gmail.com>写道:

--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
 
 



--
无能者无所求,饱食而遨游,泛若不系之舟
blog: http://shell909090.com/blog/
twitter: http://twitter.com/shell909090

Yiling Cao

unread,
Jun 20, 2013, 6:18:05 AM6/20/13
to sh...@googlegroups.com
ZFS, 然后我用crontab   ssh + rdiff-backup 或简单rsync, 同时备份到amazon s3


2013/6/20 Shell Xu <shell...@gmail.com>

Chaos Eternal

unread,
Jun 20, 2013, 6:19:41 AM6/20/13
to sh...@googlegroups.com
没人去试试bt 的sync?

2013/6/20 Yiling Cao <yilin...@gmail.com>:

Steven Shi

unread,
Jun 20, 2013, 6:20:29 AM6/20/13
to sh...@googlegroups.com
非常有用的建议,太谢谢了

Steven Shi

unread,
Jun 20, 2013, 6:21:35 AM6/20/13
to sh...@googlegroups.com
定时同步复制是怎么实现的呢,能不能说具体一些?家里多个机器的话,要同时开机啊?

Shell Xu

unread,
Jun 20, 2013, 6:28:47 AM6/20/13
to shlug

nas是天天开机的吧。一小时跑个脚本,检查目标是否开机,同步标志是否超过一周即可。

from nexus 4

馒头簸箕

unread,
Jun 20, 2013, 8:45:22 AM6/20/13
to sh...@googlegroups.com
十几年来我一直都是用Linux的软件RAID5。现在家里的小服务器依旧是,四个2T的盘做成6T阵列。目前跑Ubuntu 13.04,过半个月换Fedora 19 。



Steven Shi

unread,
Jun 20, 2013, 9:33:53 AM6/20/13
to sh...@googlegroups.com
哪个程序不小心出错,来个rm -rf / 多年心血瞬间全毁

馒头簸箕

unread,
Jun 20, 2013, 9:58:45 AM6/20/13
to sh...@googlegroups.com
服务器上又不跑啥程序。

干活在Mac Mini上

尹川

unread,
Jun 20, 2013, 9:21:58 PM6/20/13
to sh...@googlegroups.com
亚马逊还有一个比S3更便宜的存储服务,非常适合归档数据,叫Glacier.


2013/6/20 馒头簸箕 <yaof...@gmail.com>



--
一片树林里分出两条路——
        而我选择了人迹更少的一条,
        从此决定了我一生的道路。

Jianlei Zhang

unread,
Jun 20, 2013, 10:12:53 PM6/20/13
to sh...@googlegroups.com
我不小心打错过 rm -rf / somewhere,注意/后面的空格,然后就感觉这个目录删起来怎么这么慢这么慢……
--
此致

张建雷 敬上

尹川

unread,
Jun 20, 2013, 10:27:48 PM6/20/13
to sh...@googlegroups.com
>我不小心打错过 rm -rf / somewhere,注意/后面的空格,然后就感觉这个目录删起来怎么这么慢这么慢……

这个NB了,


2013/6/21 Jianlei Zhang <jlzha...@gmail.com>



--

david pu

unread,
Jun 20, 2013, 10:56:48 PM6/20/13
to sh...@googlegroups.com
家里搞了个机器,不过主要是做照片和视频的备份和服务器。上面用openphoto管理照片,手机,pad也可以用openphoto的客户端同步照片。
后台照片自动同步到flickr


2013/6/21 尹川 <yinchu...@gmail.com>



--
 ()   ASCII Ribbon Campaign
 /\   Keep it simple!

Steven Shi

unread,
Jun 21, 2013, 6:08:55 AM6/21/13
to sh...@googlegroups.com
看了,2TB的数据,相当于20美元一个月,半年价格相当于一块2TB的硬盘,长期存储肯定自己的硬盘方便,plus NSA prism...

依云

unread,
Jun 21, 2013, 8:59:30 AM6/21/13
to sh...@googlegroups.com
On Fri, Jun 21, 2013 at 10:27:48AM +0800, 尹川 wrote:
> >我不小心打错过 rm -rf / somewhere,注意/后面的空格,然后就感觉这个目录删起来怎么这么慢这么慢……
>
> 这个NB了,

我突然想到,用 aufs 配合 lxc 可以安全地模拟这种命令的后果呢~

--
Best regards,
lilydjwg

Linux Vim Python 我的博客:
http://lilydjwg.is-programmer.com/
--
A: Because it obfuscates the reading.
Q: Why is top posting so bad?

Shell Xu

unread,
Jun 21, 2013, 11:40:41 AM6/21/13
to shlug
这不是那个——
——一个空格引发的血案。。。

doloers....@gmail.com

unread,
Jun 21, 2013, 10:46:22 PM6/21/13
to sh...@googlegroups.com
用N54L,但是archLinux装不了,最后只能选freenas了

沈晓鹏

在 2013-6-19,下午9:00,Steven Shi <steven...@gmail.com> 写道:

--

Steven Shi

unread,
Jun 22, 2013, 12:51:50 PM6/22/13
to sh...@googlegroups.com
我N40L OK啊,你是什么问题

DR

unread,
Jun 22, 2013, 10:18:55 PM6/22/13
to sh...@googlegroups.com
用btrfs/zfs raid1,定时snapshot
> --
> -- You received this message because you are subscribed to the Google Groups
> Shanghai Linux User Group group. To post to this group, send email to
> sh...@googlegroups.com. To unsubscribe from this group, send email to
> shlug+un...@googlegroups.com. For more options, visit this group at
> https://groups.google.com/d/forum/shlug?hl=zh-CN
> ---
> 您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com
> 要查看更多选项,请访问 https://groups.google.com/groups/opt_out
>
>
>


--
Regards.
Reply all
Reply to author
Forward
0 new messages