Showing posts with label Review. Show all posts
Showing posts with label Review. Show all posts

Wednesday, 2 March 2016

How to backup and synchronise your writing data safely

One of my recent challenges has been to design and test a free backup and synchronisation solution. The solution is part of my next book, “How to write a Kindle book for free”.

The design principle was that any changes made to your local writing folder or directory are automatically synchronised into the cloud. One additional caveat is that if a different change is made in the cloud and locally that no data is lost. The solution must also be cross-platform compatible, in other words it works on a Mac, Windows and Linux. Finally, the solution had to be as easy to implement as possible.

The cloud part of the solution was a very simple decision. My experience with Dropbox over the last few years has been painless and straightforward. Also Dropbox is compatible with many apps, so any data would be backed up using this solution too. You could use Box, iCloud, Cubbie, or any other cloud solution that provides a local folder or directory.

The design principle is to synchronise two local folders. However, one of the local folders is a cloud folder, in this case Dropbox. The local folder is where I save all of my writing data, backups, images, notes and so on. This solution could, of course, be used for any project, writing or otherwise.

I tested many free synchronisation applications, but struggled to meet all of the requirements. I suffered crashes, unresponsive software, even data loss on a couple of occasions. Luckily this was in a testing environment.

In the end I found just one application that has worked extremely well. FreeFileSync is available for Mac, Windows and Linux. The latest version I have been using is 7.9, and can be downloaded from http://www.freefilesync.org/download.php.

The installation of the software is straightforward on all of the platforms. There are two applications included with the download:
  • FreeFileSync
  • RealTimeSync
FreeFileSync is used to create the synchronisation files or folders and to setup the type of synchronisation required. There are four choices:
  • Two-way synchronisation
  • Mirror (1-way synchronisation)
  • Update (1-way copy)
  • Custom (ability to customise your own synchronisation rules).
Once a folder pair has been chosen and the synchronisation type confirmed, the job can be saved. In addition, there is an option to save a batch file (SyncSettings.ffs_batch).

The batch file can be imported into RealTimeSync providing all of the settings required. RealTimeSync monitors the source folder, in my case the local writing folder, and immediately synchronises any changes. RealTimeSync is setup to run when the computer starts up.

I didn’t want to have a realtime synchronisation option, but rather a user specified time increment. This meant using FreeFileSync with a scheduler. I decided on a 15 minute interval.

In the case of windows I simply created a task in the Windows Scheduler to run every 15 minutes.
  • Program: “C:\Program Files\FreeFileSync\FreeFileSync.exe
  • Optional Argument: “C:\Users\ValuedUser\Batch Files\SyncSettings.ffs_batch.


If using Linux, I would recommend using Cron or some other scheduler option. Unfortunately, I have not had time to test a Linux installation.


On the Mac I used a free scheduler application called Scheduler for Macintosh version 6. It is available from http://www.macscheduler.net/. It is possible to use Automator, or even cron, but I wanted to keep it simple and intuitive. Automator always leaves me a little confused and cron is command line. Mac Scheduler 6 is both easy to use and intuitive.

I placed the Scheduler.app into my user startup items so that it runs at computer boot.





The schedule is created using the Document option which allows the user to specify both the application to run and any arguments required. In this case the “SyncSettings.ffs_batch” file location is all that is needed. I also set the repeat interval to 15 minutes.

The final stage, after implementation, was testing. I modified the contents of the same file in Dropbox and on my local folder in slightly different ways. In some cases, with other applications I tested, this resulted in one of the files disappearing and hence data loss.






In the case of FreeFileSync you are protected. An informative pop-up occurs if there is any danger of data loss.

I have been running this backup and synchronisation solution for a couple of weeks now. File and folder changes are made daily. The system has worked flawlessly with the added bonus that my iPad and iPhone app data, the data that is saved to Dropbox in this case, is also being backed up to my local drive.


SM

Saturday, 27 February 2016

Can you Really Write a Kindle Book for Free?

A thought occurred to me recently. Is it possible to write a professional looking Kindle book for free?

Don’t misunderstand me, I love my current software tools. I use UlyssesIII, Scrivener, Scapple, Affinity Designer, Pixave, Vellum and many others. I purchased these applications over the last few years, my decisions based mostly on blog reviews. When I purchase a piece of software I want it to be intuitive, easy to use, and feature rich.

The thought turned into an idea. Could I write a book about it? I started my research a few days ago, and do you know what? I reckon you can!

The beauty of writing a book using free software is you have to get down and dirty sometimes, and that is when you learn more about the process you have taken for granted in the past.

I have found some terrific free software. Some of it is a little clunky and not terribly intuitive, but others are real gems.

Take the writing application, for example. I looked at so many, most were good but lacking certain features I had become accustomed to. Some were in beta, and even though free they might not remain so. In the end only one application met my requirements.. and then some! TextNut!

TextNut reminds me of Ulysses, it doesn’t have quite as many features, but it is a joy to use and even offers some functionality that Ulysses doesn’t have.

I wrote 3000 very enjoyable words in it yesterday with no problems at all. The beginnings of the book structure are there, and my screenshot testing went without a hitch.

It exports via HTML, RTFD, PDF and Markdown. It uses Markdown, but you can write in wysiwyg.

The developer offers an in-app purchase to allow unlimited libraries and external folders, but the 4 libraries and 2 folders are more than enough for one book. It supports themes, exports to Medium, Blogger and Wordpress, and also has a ‘Zen’ mode for distraction free writing.

I am really impressed, can you tell?

Oh, and one final unexpected surprise, there is an IOS version that will sync via Dropbox or iCloud. The IOS version is also free with the same limitations as the OSX version, but it means I can write on my iPad too!

The developer is approachable and kindly gave his consent for me to use screenshots of the app in the book. TextNut is available from both Apple app stores. Here is a link to the app website: http://www.textnutwriter.com/

Thanks to TextNut, my next few weeks won’t be all cussing and swearing as I struggle to use free software to write the book. Although formatting is something I look forward to with a quiet foreboding.

SM