<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CrashPlan &#8211; My Shitty Code</title>
	<atom:link href="https://myshittycode.com/tag/crashplan/feed/" rel="self" type="application/rss+xml" />
	<link>https://myshittycode.com</link>
	<description>Embracing the Messiness in Search of Epic Solutions</description>
	<lastBuildDate>Fri, 06 Jan 2023 16:27:47 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://myshittycode.com/wp-content/uploads/2022/04/cropped-icon-32x32.png</url>
	<title>CrashPlan &#8211; My Shitty Code</title>
	<link>https://myshittycode.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">205304208</site>	<item>
		<title>Synology NAS: Running CrashPlan in Docker Container</title>
		<link>https://myshittycode.com/2017/04/25/synology-nas-running-crashplan-in-docker-container/</link>
					<comments>https://myshittycode.com/2017/04/25/synology-nas-running-crashplan-in-docker-container/#comments</comments>
		
		<dc:creator><![CDATA[Shitty Author]]></dc:creator>
		<pubDate>Wed, 26 Apr 2017 01:57:34 +0000</pubDate>
				<category><![CDATA[Development Tools]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[CrashPlan]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[Synology NAS]]></category>
		<guid isPermaLink="false">http://myshittycode.com/?p=992</guid>

					<description><![CDATA[<p>BACKGROUND The reason to run CrashPlan in Docker container is to prevent any future Synology&#8217;s DSM updates from breaking the CrashPlan app. Let&#8217;s assume the Synology NAS IP address is 1.2.3.4. STEPS Diskstation Manager Log into Diskstation Manager: http://1.2.3.4:5000 Install Docker. Mac SSH into Synology NAS. Install CrashPlan Docker container. Run CrashPlan Docker container. In [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2017/04/25/synology-nas-running-crashplan-in-docker-container/">Synology NAS: Running CrashPlan in Docker Container</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">BACKGROUND</h2>



<p>The reason to run CrashPlan in Docker container is to prevent any future Synology&#8217;s DSM updates from breaking the CrashPlan app.</p>



<p>Let&#8217;s assume the Synology NAS IP address is <b>1.2.3.4</b>.</p>



<h2 class="wp-block-heading">STEPS</h2>



<h3 class="wp-block-heading">Diskstation Manager</h3>



<p>Log into Diskstation Manager: http://1.2.3.4:5000</p>



<p>Install Docker.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
Package Center -&gt; Utilities -&gt; Third Party -&gt; Docker
</pre></div>


<figure class="wp-block-image aligncenter"><img fetchpriority="high" decoding="async" width="982" height="640" src="https://myshittycode.com/wp-content/uploads/2017/04/synology-install-docker-1.png?x45560" alt="" class="wp-image-1007" srcset="https://myshittycode.com/wp-content/uploads/2017/04/synology-install-docker-1.png 982w, https://myshittycode.com/wp-content/uploads/2017/04/synology-install-docker-1-300x196.png 300w, https://myshittycode.com/wp-content/uploads/2017/04/synology-install-docker-1-768x501.png 768w" sizes="(max-width: 982px) 100vw, 982px" /></figure>



<h3 class="wp-block-heading">Mac</h3>



<p>SSH into Synology NAS.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
ssh admin@1.2.3.4
</pre></div>


<p>Install CrashPlan Docker container.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo docker pull jrcs/crashplan
</pre></div>


<p>Run CrashPlan Docker container. In this example, we want to backup <b>photo</b> and <b>video</b> directories.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo docker run -d --name CrashPlan \
 -p 4242:4242 -p 4243:4243 \
 -v /volume1/photo:/volume1/photo -v /volume1/video:/volume1/video \
 jrcs/crashplan:latest
</pre></div>


<h3 class="wp-block-heading">Back to Diskstation Manager</h3>



<p>Get authentication token from the running CrashPlan.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
Docker -&gt; Container -&gt; CrashPlan -&gt; Details -&gt; Terminal -&gt; Create -&gt; bash
</pre></div>


<p>Run command:-</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
cat /var/lib/crashplan/.ui_info
</pre></div>


<figure class="wp-block-image aligncenter"><img decoding="async" width="955" height="355" src="https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-auth-token-1.png?x45560" alt="" class="wp-image-1004" srcset="https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-auth-token-1.png 955w, https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-auth-token-1-300x112.png 300w, https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-auth-token-1-768x285.png 768w" sizes="(max-width: 955px) 100vw, 955px" /></figure>



<p>The following text are printed:-</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
4243,########-####-####-####-############,0.0.0.0
</pre></div>


<p>Copy <b>########-####-####-####-############</b> to somewhere first.</p>



<p>By default, CrashPlan allocates 1GB of memory. The recommendation is to allocate 1GB of memory per 1TB of storage to prevent CrashPlan from running out of memory. In this example, we are going to increase it to 3GB.</p>



<p>Edit <b>/var/crashplan/conf/my.service.xml</b>.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
vi /var/crashplan/conf/my.service.xml
</pre></div>


<p>Change the following line:-</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: xml; highlight: [3]; title: ; notranslate">
&lt;config ...=&quot;&quot;&gt;
	...
	&lt;javamemoryheapmax&gt;3072m&lt;/javamemoryheapmax&gt;
	...
&lt;/config&gt;
</pre></div>


<p>Edit <b>/var/crashplan/app/bin/run.conf</b>.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
vi /var/crashplan/app/bin/run.conf
</pre></div>


<p>Change the following line:-</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; highlight: [1]; title: ; notranslate">
SRV_JAVA_OPTS=&quot;... -Xmx3072m ...&quot;
GUI_JAVA_OPTS=&quot;...&quot;
</pre></div>


<p>Stop CrashPlan Docker container.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
Docker -&gt; Container -&gt; CrashPlan -&gt; Action -&gt; Stop
</pre></div>


<figure class="wp-block-image aligncenter"><img decoding="async" width="709" height="354" src="https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-stop-1.png?x45560" alt="" class="wp-image-1006" srcset="https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-stop-1.png 709w, https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-stop-1-300x150.png 300w" sizes="(max-width: 709px) 100vw, 709px" /></figure>



<p>Enable auto-restart on CrashPlan Docker container.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
Docker -&gt; Container -&gt; CrashPlan -&gt; Edit -&gt; General Settings -&gt; Enable auto-restart -&gt; OK
</pre></div>


<figure class="wp-block-image aligncenter"><img loading="lazy" decoding="async" width="909" height="586" src="https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-auto-restart-1.png?x45560" alt="" class="wp-image-1005" srcset="https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-auto-restart-1.png 909w, https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-auto-restart-1-300x193.png 300w, https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-auto-restart-1-768x495.png 768w" sizes="auto, (max-width: 909px) 100vw, 909px" /></figure>



<p>Start CrashPlan Docker container.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
Docker -&gt; Container -&gt; CrashPlan -&gt; Action -&gt; Start
</pre></div>


<h3 class="wp-block-heading">Back to Mac</h3>



<p><a href="https://www.crashplan.com/en-us/download/" target="_blank" rel="noopener">Download</a> and install CrashPlan software.</p>



<p>Disable CrashPlan service since the UI acts as a client.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo launchctl unload -w /Library/LaunchDaemons/com.crashplan.engine.plist
</pre></div>


<p>Edit <b>/Applications/CrashPlan.app/Contents/Resources/Java/conf/ui.properties</b>.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo nano /Applications/CrashPlan.app/Contents/Resources/Java/conf/ui.properties
</pre></div>


<p>Uncomment <b>serviceHost</b> and update Synology NAS IP address.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; highlight: [2]; title: ; notranslate">
#Fri Dec 09 09:50:22 CST 2005
serviceHost=1.2.3.4
#servicePort=4243
#pollerPeriod=1000  # 1 second
#connectRetryDelay=10000  # 10 seconds
#connectRetryAttempts=3
#showWelcome=true

#font.small=
#font.default=
#font.title=
#font.message.header=
#font.message.body=
#font.tab=
</pre></div>


<p>Edit <b>/Library/Application Support/CrashPlan/.ui_info</b>.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: bash; title: ; notranslate">
sudo nano &quot;/Library/Application Support/CrashPlan/.ui_info&quot;
</pre></div>


<p>Replace the authentication token with the value from above step. Replace IP address with Synology NAS IP address.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
4243,########-####-####-####-############,1.2.3.4
</pre></div>


<p>Finally, run CrashPlan app to view the backup process.</p>



<figure class="wp-block-image aligncenter"><img loading="lazy" decoding="async" width="899" height="606" src="https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-app-1.png?x45560" alt="" class="wp-image-1003" srcset="https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-app-1.png 899w, https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-app-1-300x202.png 300w, https://myshittycode.com/wp-content/uploads/2017/04/synology-crashplan-app-1-768x518.png 768w" sizes="auto, (max-width: 899px) 100vw, 899px" /></figure>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2017/04/25/synology-nas-running-crashplan-in-docker-container/">Synology NAS: Running CrashPlan in Docker Container</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://myshittycode.com/2017/04/25/synology-nas-running-crashplan-in-docker-container/feed/</wfw:commentRss>
			<slash:comments>12</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">992</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching 58/71 queries in 0.025 seconds using Disk

Served from: myshittycode.com @ 2026-02-18 00:44:44 by W3 Total Cache
-->