This post will be of interest if you want to use Resilio Sync to back up the camera folder on IOS 8+ clients to a modern FreeNAS server (version 11.2 and above).
An earlier version of this post using a legacy FreeNAS server (version 11.1 or below) can be found here.
- The reader has a working knowledge of FreeNAS.
- The Resilio Sync plugin has been installed on the FreeNAS server. If not, refer to this post first.
This post is a refresh of an earlier post that was based on the legacy FreeNAS UI (FreeNAS version 11.1 or earlier) and Warden backend manager for jails and plugins. FreeNAS 11.2 brings with it an all-new UI and swaps iocage for Warden as the backend manager. To continue to receive plugin updates, it’s essential to switch to iocage.
Resilio Sync was chosen as the backup tool of choice as the client is available across numerous platforms and there is also a FreeNAS plugin for the server component. At the time of writing this, I am working with FreeNAS 11.2-RELEASE-U1, Resilio Sync plugin 2.6.1 and Windows 10 Home (Build 1809). The guide below assumes the Resilio Sync server has already been set up.
The instruction here is for setting up the Resilio sync client software on IOS 8.0 or later clients to back up photos from them on to a FreeNAS server. The app screens that follow refer to the version of the IOS sync client highlighted in the screenshot below.
The key steps to set up the Resilio IOS sync client are:
- Install and start the sync client.
- Add a location to backup.
- Request a session connection with the sync server
- Establish a session connection on the server.
- Create a storage location for the backup.
- Initiate the backup
Step 1: Install and start the sync client.
Download and install the Resilio IOS sync client from the App Store. When the client is first invoked, you will be prompted for a user name. For naming convenience, I use the sync name rslsync across all devices in the FreeNAS client-server arrangement. Unless you have an unlimited download plan, switch off Use cellular data for sync so you’re only backing up when connected to wifi.
Next, you will be presented with the client UI.
Step 2: Add a location to backup.
Click the + button in the top right corner and then select Camera backup.
On the Camera backup screen, click Set up backup.
Step 3: Request a session connection with the sync server
After granting Sync access to files on the phone, select a means of delivering the session request to the server.
Step 4: Establish a session connection on the server.
Log on to the sync server, click the + button in the top left corner and then select Enter a key or link.
The dialogue box below will appear. Paste the link you obtained in the previous step and then click Next.
Step 5: Create a storage location for the backup.
After clicking Next, the sync server will suggest a backup location under /media.
If this is a new client to be backed up, create a backup folder under media. Name it something meaningful. If migrating an existing client to the iocage version of Resilio Sync, choose the same backup location the Warden version of Resilio Sync used.
Step 6: Initiate the backup
Click Connect. If you’re migrating an existing client from the legacy Warden to a more current iocage version of Resilio Sync, you will probably see the dialogue box below. Click OK to continue.
The server sync dashboard should show a Pending Approval as in the example below.
A notification will be flagged on the client UI.
Click on the notification and then select Allow to initiate a backup.
Backup activity can be observed from the Folders screen of the client UI…
…and from the sync server dashboard.
There are a number of limitations in using the sync client on IOS. In particular, a backup will only work if the camera app is open and in the foreground.