如何在Synology NAS上轻松设置CrashPlan Cloud Backup-备份策略

注意:本文已针对运行DSM 5.0的Synology系统进行了升级(NOTE: This article has been upgraded for Synology systems that are running DSM 5.0!)

如何在Synology NAS上轻松设置CrashPlan Cloud Backup-备份策略
Synology 1511+ NAS (Network Attached Storage) server for all my family's digital things. The Synology gives me virtually all the features I had when I was in love with the Synology 1511+ NAS (网络附加存储)服务器用于家庭的所有数字设备。 Synology几乎为我提供了 Windows Home Server. I can add a drive of any size and get more storage, I can install add-in packages for more functionality, and most importantly, everything has multiple copies. I've even lost a whole drive and just repaired it by pulling it out and replacing it. Windows Home Server所具有的所有功能。 我可以添加任何大小的驱动器并获得更多存储空间,可以安装外接程序包以获得更多功能,最重要的是,所有内容都具有多个副本。 我什至失去了整个驱动器,只是通过将其拔出并更换来对其进行了修复。

I have four 2TB drives in my Synology giving me approximately 5TB of redundant space.

Synology中有四个2TB驱动器,为我提供了大约5TB的冗余空间。

However, the lack of a good integrated cloud storage setup has been a frustration. The Synology does support Amazon S3 as a remote backup location, but I find the opacity of my digital blobs in Amazon's S3 buckets systems frustrating. S3 is great, but it's not an awesome cloud backup experience like some of the more consumer focused backup systems like CrashPlan* or BackBlaze. Sure, these guys might use S3 underneath, but as a consumer (or pro-sumer) I don't need to know or see that.

但是,缺乏良好的集成云存储设置令人感到沮丧。 Synology确实支持将Amazon S3作为远程备份位置,但是我发现Amazon S3存储桶系统中数字斑点的不透明性令人沮丧。 S3很棒,但是它却不是像某些更以消费者为中心的备份系统(如CrashPlan *或BackBlaze)那样出色的云备份体验。 当然,这些人可能在下面使用S3,但是作为消费者(或专业消费者),我不需要知道或看到它。

Here's my current Backup Strategy. There are also non-cloud-based backup strategies if you don't have persistent fast internet. You can see how my strategy has changed since my 2007 Backup Strategy, but not much.

这是我当前的备份策略。 如果您没有持久的快速互联网,那么还有非基于云的备份策略。 您可以了解自2007年备份策略以来我的策略已发生的变化,但变化不大。

Any good backup strategy follows the Backup Rule of Three.

任何好的备份策略都遵循“三级备份”规则

  • 3 copies of anything you care about - Two isn't enough if it's important.

    您关心的任何事物的3个副本-如果重要的话,两个副本是不够的。

  • 2 different formats - Example: Dropbox+DVDs or Hard Drive+Memory Stick or CD+Crash Plan, or more

    2种不同格式-例如:Dropbox + DVD或硬盘驱动器+ Memory Stick或CD + Crash Plan,或更多

  • 1 off-site backup - If the house burns down, how will you get your memories back?

    1个异地备份-如果房屋被烧毁,如何恢复回忆?

More importantly a good backup strategy "Just Works" and Doesn't Require Much Thought. If you have to think about it, it is likely to be forgotten. Everything should be automated. I like that DropBox is automatic, the Synology can backup to another external automatically, so I only have to think about rotating drives off-site every month, or at least a few times a year.

更为重要的是,一个好的备份策略“可以正常运行”并且不需要太多的思考。 如果您必须考虑一下,它很可能会被遗忘。 一切都应该自动化。 我喜欢DropBox是自动的,Synology可以自动备份到另一个外部设备,因此我只需要考虑每月或每年至少几次非现场旋转驱动器。

The missing piece since I got the Synology has been a completely silent cloud archive. Running CrashPlan headless (headless - there is no monitor) has been the final piece I needed for a simple process that requires no effort on my part.

自从获得Synology以来,丢失的部分一直是完全安静的云存档。 无头运行CrashPlan(无头-没有监视器)是我完成一个简单过程所需的最后一部分,而这一过程不需要我的任何努力。

分步指南:如何在Synology NAS上运行CrashPlan (Step by Step: How to run CrashPlan on your Synology NAS)

This gentleman at PCLoadLetter has prepared excellent packages that make it MUCH easier than before to get CrashPlan running on your Synology. However, his instructions assume a some technical ability and also require reading a LOT and visiting several pages within his site. It took me about an hour to really understand what was being said. Here's my simplified version of How To get CrashPlan* on your Synology.

这位PCLoadLetter先生准备了出色的软件包,使CrashPlan在Synology上运行比以前更加容易。 但是,他的指示具有一定的技术能力,并且还需要阅读很多内容并访问其站点中的几页。 我花了一个小时才真正理解了所讲的内容。 这是我如何获得CrashPlan的简化版本*在您的Synology上。

1.在Synology上开启“ User Homes Service” (1. Turn on the "User Homes Service" on your Synology)

Log in to your Synology from a web browser. Mine is http://server. Go to the Control Panel, then User, then User Home and click "Enable User Home Service." This will give the future "crashplan" user a "place to live."

从Web浏览器登录到Synology。 我的是http:// server。 依次转到“控制面板”,“用户”和“用户主页”,然后单击“启用用户主页服务”。 这将为将来的“崩溃计划”用户提供一个“居住的地方”。

如何在Synology NAS上轻松设置CrashPlan Cloud Backup-备份策略

2.确保您拥有一个名为“公共”的共享,并且该共享可供用户访问 (2. Ensure you have a share called "public" with full for users access)

Later when we run the CrashPlan package, it will expect the Java package to live in \\yourserver\public. Make sure you have a public share. I choose also to hide mine since I'll never use it and don't want to confuse my other users.

稍后,当我们运行CrashPlan程序包时,它将期望Java程序包位于\\ yourserver \ public中。 确保您有公开共享。 我也选择隐藏我的地雷,因为我永远不会使用它,也不想让其他用户感到困惑。

如何在Synology NAS上轻松设置CrashPlan Cloud Backup-备份策略

3.从Oracle网站上为您的CPU下载正确版本的Java。 (3. Download the right version of Java for your CPU from the Oracle Website)

CrashPlan is written using the Java environment, and we want to install the CrashPlan service on our Synology. We'll need Java for that.

CrashPlan是使用Java环境编写的,我们希望在Synology上安装CrashPlan服务。 为此,我们需要Java。

A Synology is effectively a headless custom Linux computer. Some have an Intel chip and some have an ARM chip. You should find out which CPU/chip your Synology has from this table, and remember it. We need to get the right version of Java for our CPU.

Synology实际上是一台无头的定制Linux计算机。 有些使用Intel芯片,有些使用ARM芯片。 您应该从该表中找出Synology拥有的CPU /芯片,并记住它。 我们需要为我们的CPU获取正确的Java版本。

If you have an Intel CPU, you'll get Java 6. If you have an ARM CPU you can get Java 7. You download Oracle Java Embedded from the Oracle Website yourself. Note that you'll have to Register for an Account and Sign in. You'll also need to click "Accept License Agreement" to download it. There's a LOT of choices and it's confusing.

如果您拥有Intel CPU,您将获得Java6。如果您拥有ARM CPU,您将获得Java7。您可以自己从Oracle网站下载Oracle Java Embedded 。 请注意,您必须注册一个帐户并登录。您还需要单击“接受许可协议”以下载它。 有很多选择,这很令人困惑。

If you get it wrong, don't worry. Later, when you try to install the CrashPlan package you'll get a warning if Java isn't there and that warning will give you the right file name. For Intel, I needed "x86 Linux Small Footprint – Headless."

如果您弄错了,请不要担心。 稍后,当您尝试安装CrashPlan软件包时,如果Java不存在,则会收到警告,并且该警告将为您提供正确的文件名。 对于英特尔,我需要“ x86 Linux小尺寸-无头”。

Download this file and copy it to \\yourserver\public.

下载此文件并将其复制到\\ yourserver \ public。

4.在Synology Package Manager中将http://packages.pcloadletter.co.uk添加为新存储库。 (4. Add http://packages.pcloadletter.co.uk as a new repository in the Synology Package Manager)

Back on your Synology, from the web browser, go to the Package Center, then Settings, then Package Sources. Add http://packages.pcloadletter.co.uk as a new repository. I named it "PC Load Letter" but it doesn't matter.

返回Synology,从Web浏览器转到Package Center,然后依次单击Settings和Package Sources。 将http://packages.pcloadletter.co.uk添加为新存储库。 我将其命名为“ PC加载信”,但这没关系。

如何在Synology NAS上轻松设置CrashPlan Cloud Backup-备份策略

5.在您的Synology上安装CrashPlan软件包。 停止并重新启动它。 (5. Install the CrashPlan package on your Synology. Stop it and restart it. )

Staying in the Package Manager, go to Other Sources.

留在包管理器中,转到其他来源。

You'll need the Java Package and the CrashPlan package.

您将需要Java软件包和CrashPlan软件包。

You need to install the Java Package first and it will pull from binaries from the \\yourserver\public  folder. It doesn't need to be "started" as it's really a software package disguised as a service. It's OK that its Status is Stopped.

您需要首先安装Java软件包,它将从\\ yourserver \ public文件夹的二进制文件中提取。 不需要“启动”,因为它实际上是伪装成服务的软件包。 可以确定其状态为“已停止”。

如何在Synology NAS上轻松设置CrashPlan Cloud Backup-备份策略

Next, install the CrashPlan service if you have a basic CrashPlan+ account like I do. There are other packages for Pro and Business.

接下来,如果您像我一样有基本的CrashPlan +帐户,请安装CrashPlan服务。 还有用于Pro和Business的其他软件包。

After the service installs and runs you can click More then Log and see if it started correctly. You'll need to stop and restart manually it at least once when you've FIRST installed it.

服务安装并运行后,可以单击“更多”,然后单击“日志”,以查看其是否正确启动。 首先安装它,您需要停止并手动重启它至少一次。

如何在Synology NAS上轻松设置CrashPlan Cloud Backup-备份策略

Now, you've got a headless service waiting and running on your Synology. But you'll notice there is no UI, no settings and no way to configure it. That's where the CrashPlan client comes in that you'll run on any regular computer you have.

现在,您可以在Synology上等待并运行无头服务。 但是您会注意到没有UI,没有设置,也没有配置它的方法。 这就是CrashPlan客户端的用武之地,您可以在拥有的任何普通计算机上运行。

6.在您的一台主计算机上安装CrashPlan客户端。 (6. Install the CrashPlan client on one of your main computers.)

Go download and install the right CrashPlan client for you. After you've installed it, you'll need to POINT the client to your Synology.

下载并为您安装正确的CrashPlan客户端。 安装之后,您需要将客户端指向您的Synology

You need to edit the "C:\Program Files\CrashPlan\conf\ui.properties" text file and put in the IP address of your Synology. My Synology is called "SERVER" so I opened a command prompt and typed "ping server" and was told its address is 192.168.1.18.

您需要编辑“ C:\ Program Files \ CrashPlan \ conf \ ui.properties”文本文件,然后输入Synology的IP地址。 我的Synology称为“服务器”,因此我打开了命令提示符并键入“ ping服务器”,并被告知其地址为192.168.1.18。

    • NOTE: This is a Linefeeds only Linux text file so you'll want to use Notepad2 or something OTHER than Notepad so you don't corrupt this file. Make a copy.

      注意:这是仅用于换行Linux文本文件,因此您将要使用Notepad2或Notepad以外的其他东西,以免损坏该文件。 制作副本。

Remove the # in front of serviceHost to 'uncomment' that line and add your Synology IP address at the end.

删除serviceHost前面的#以“取消注释”该行,并在最后添加您的Synology IP地址。

如何在Synology NAS上轻松设置CrashPlan Cloud Backup-备份策略
  • OPTIONAL NOTE: You can turn off the CrashPlan Service on the computer that has the CrashPlan client running if you won't be backing up that machine. Run "services.msc" and change the CrashPlan service to "Manual."

    可选的注释:如果您不备份该计算机,则可以在运行CrashPlan客户端的计算机上关闭CrashPlan服务。 运行“ services.msc”,并将CrashPlan服务更改为“手动”。

7.您怎么知道它正在工作? (7. How do you know it is working?)

Run CrashPlan on your main computer to ensure it's successfully talking to your Synology.

在主计算机上运行CrashPlan ,以确保它已成功与Synology通信。

  • You should see your Synology's name on the Settings Dialog

    您应该在“设置”对话框中看到Synology的名称
  • You should see CrashPlan Central in your Destinations if you have a CrashPlan subscription

    如果您订阅了CrashPlan,则应该在目标位置看到CrashPlan Central
  • You can select your files that exist on the Synology from the CrashPlan application on your main computer. Remember this CrashPlan client talks to the headless service running on your Synology.

    您可以从主机上的CrashPlan应用程序中选择Synology上存在的文件。 请记住,这个CrashPlan客户会与Synology上运行的无头服务进行对话。

The initial backup will likely take a LONG time so be patient - like for days or weeks. I am choosing not to backup super-large files like DVD backups, 60 gig VMs and other things. My #1 concern is family photos and personal files, so my initial backup set is only 200gigs.

初始备份可能会花费很长时间,因此请耐心等待,例如几天或几周。 我选择不备份DVD备份,60 gig VM等超大文件。 我最关心的是家庭照片和个人文件,因此我的初始备份集只有200gigs。

如何在Synology NAS上轻松设置CrashPlan Cloud Backup-备份策略

You can get CrashPlan+ and do one computer, or get CrashPlan+ Family and do up to 10 computers.

您可以获取CrashPlan +并运行一台计算机,或者获取CrashPlan + Family并运行至多10台计算机。



* These are affiliate links to CrashPlan. The link is NOT mine and I'm not personally affiliated with CrashPlan. Instead, clicking them and signing up for CrashPlan will support the nice gentleman at PCLoadLetter.co.uk who put in the hard work of making and maintaining CrashPlan packages and hosting them. By signing up for CrashPlan using his link you help him out a little, as we should, given his fine efforts. Big thanks for PCLoadLetter and the Synology community for all their efforts! I hope my tutorial makes it even easier for folks to get their CrashPlan back-ups setup so cleanly!

*这些是CrashPlan的会员链接 该链接不是我的,我也不属于CrashPlan。 相反,单击它们并注册CrashPlan将支持PCLoadLetter.co.uk上的这位绅士,花费大量精力来制作和维护CrashPlan软件包并托管它们。 通过注册CrashPlan 使用他的链接,在他的精心努力下,您会尽我们所能帮助他。 非常感谢PCLoadLetter和Synology社区所做的一切! 我希望我的教程可以使人们更加轻松地如此轻松地获取CrashPlan备份设置!

关于斯科特 (About Scott)

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

斯科特·汉塞尔曼(Scott Hanselman)是前教授,前金融首席架构师,现在是演讲者,顾问,父亲,糖尿病患者和Microsoft员工。 他是一位失败的单口相声漫画家,一个玉米种植者和一本书的作者。

如何在Synology NAS上轻松设置CrashPlan Cloud Backup-备份策略
如何在Synology NAS上轻松设置CrashPlan Cloud Backup-备份策略
如何在Synology NAS上轻松设置CrashPlan Cloud Backup-备份策略
About   关于 Newsletter 时事通讯
Hosting By 主持人
如何在Synology NAS上轻松设置CrashPlan Cloud Backup-备份策略

翻译自: https://www.hanselman.com/blog/how-to-set-up-crashplan-cloud-backup-headless-on-a-synology-nas-backup-strategies