When I first got my Synology DS1815+ to replace my existing file server that was using Windows Storage Spaces on Windows 10, I was excited to continue using CrashPlan to backup my family’s computers. Unfortunately, I soon found out that while the Synology can run CrashPlan after reading the tutorial from PCLoadLetter, it was not anything like I was used to for administration. Using CrashPlan installed on the Synology required modifying configuration files on all of the computers that I wanted to backup, instead of simply logging into my CrashPlan account as I had done before. So, I promptly gave up and used Synology’s Cloud Station Backup for 6 months.
Cloud Station Backup worked well, but I always got the feeling that CrashPlan had always worked better, especially when handling deleted files. Therefore, I endeavored on a way to use CrashPlan to backup to my Synology in a different way. I tried all the tricks you might find when Googling for “CrashPlan backup to network drive”, or similar. Unfortunately, CrashPlan was smart enough to not allow backing up to network drives using any of those techniques.
Feeling a bit adventurous, I looked into iSCSI as a solution and found my answers.
You will need:
- A Synology NAS (or other iSCSI target, but I will not cover the setup)
- A computer that will be always on which has a connection to the NAS and the internet for incoming backups
Setting up iSCSI Target
- Navigate to your DSM in a browser
- Open “Storage Manager”
- Navigate to “iSCSI LUN” and click “Create”
- Select “iSCSI LUN (File-Level)” and click “Next”
- Configure the LUN
- Choose a name such as “Backups”
- Choose which volume the LUN data should be stored on
- Enable thin provisioning
- I recommend an “Advanced file LUN”, but the regular should work fine
- Choose how large you want the LUN to be. Make sure this is quite large because you cannot change it later and because of thin provisioning you’re not giving up all the space you setup here.
- Click “Next”
- Configure the iSCSI Target
- Choose a name
- Leave the IQN as it is
- Enable CHAP if you want authentication
- Click “Next”
- Click “Apply”
Setting up CrashPlan PC
- Download and install CrashPlan on a PC that can run 24/7, or at least as much of the time as you want to do backups
- Open “Services” by typing Win+R and entering
services.msc
- Find “CrashPlan Backup Service” and right click, then click “Properties”
- Stop the service if it is running and set Startup type to “Manual”
- Click “OK” and close services
- Open Windows iSCSI Initiator which is located in All Programs->Windows Administrative Tools->iSCSI Initiator
- In the “Target” text box enter the domain name or ip address of your NAS, then click “Quick Connect”
- Your NAS iSCSI target should now appear under the “Discovered targets” part of the “Targets” tab.
- Switch to “Volumes and Devices” and click “Auto Configure”
- Open disk management by typing Win+R and entering
diskmgmt.msc
- You will be prompted to initialize a new disk. Choose MBR formatting
- Right click on the new disk and select “New Simple Volume”
- Click through with default settings and wait for the format to complete
- Now you have an iSCSI connection that looks like a local drive. Setup CrashPlan to backup to a directory on this new iSCSI LUN
Remember when we set the CrashPlan service only to run manually? Now we will fix that. Because the iSCSI can take some time to mount after a reboot the CrashPlan backup service needs to start after the LUN has had time to connect. We will achieve this using the Windows Task Scheduler. - Create a blank text file somewhere on your computer and name it something like “startup.bat”
- Edit that file so it contains the following:
@echo off
rem for 1 minute delay..
timeout /t 60
net start "CrashPlan Backup Service"
- Create the scheduled task to start the backup service on a delay
- Run the Windows Task Scheduler by typing Win+R and
taskschd.msc
- In the menu bar select Action->Create Basic Task
- Give your task a name and possibly a description
- Choose “When the computer starts” for when the task should begin
- Choose “Start a program” as the action
- Click “Browse…” and browse to the file we just created
- Click “Next”
- Check the box “Open the Properties dialog for this task when I click Finish”
- Click “Finish”
- In the properties panel check the box “Run with highest privileges” and click “OK”
- Run the Windows Task Scheduler by typing Win+R and
- Reboot, wait 1 minute and check that CrashPlan is working as expected
- Install CrashPlan on the computers that you want to backup and set the backup destination appropriately
Can you not use “Automatic (Delayed Start)” for the Crashplan backup service, which will then run it 2 minutes after the last Automatic (non-delayed) service
That is certainly a fine option. Thanks for the comment!
brilliant, gracias!