How To: Launch FreeFileSync on Startup

In my Software Spotlight, I introduced FreeFileSync as a solution to set up drive/directory mirroring in a matter of minutes, without dealing with 3rd-party OS’s (mainly Western Digital, who couldn’t write a functioning program if their business depended on it.) The only problem is that that you have to do some additional configuration to get it to launch on startup. There’s a bit of a guide here, but I think I can do a better job of explaining it:

ffs11. The above is a bit small, but you want to open up FreeFileSync and save your settings as a batch file (.ffs_batch) to wherever you want. I put mine in the same directory as the FFS install.

ffs2 2. Next, you’re going to create a new shortcut in the Startup directory. Please don’t be a scrub and manually navigate to the directory – put shell:startup in the file explorer bar instead. Your target is going to be two directories separated by a space: First the path to the RTS executable, and the second to the batch file from step one. Start the shortcut in the FFS directory.

ffs3
3. Now open task scheduler and configure a new task. Name it something intelligent. Because our backups depend on it, all the other settings are going to be geared towards this thing always running. Make sure you configure it for your OS – it defaults to Vista (?) otherwise.

ffs4
4. Set the trigger to begin at startup. That’s sort of the whole point of this.

ffs5
5. Your action is going to be to start a program. Point it to the RTS .exe and then set the argument to the batch file.

ffs6
6. The last step is to configure the settings to have this thing run as much as humanly possible. Most of this is turned off by default, so you can go through and turn on what makes sense to do, or match what I have above.

7. Reboot your PC and test functionality.

Advertisements

Software Spotlight: f.lux

This isn’t going to be a big post because this isn’t a big program, but it is one I consider to be very important for the health of anyone who spends a lot of time at work in front of a monitor.

f.lux is a simple utility that automatically adjusts the temperature of the light coming from your monitors based on what time of day it is, to your liking. As your surroundings become darker, the harsh blue-ness of bright monitors cause strain to your eyes and can easily give you headaches. The idea here is that the warmer the light is, the less strain it causes. I’ve been using the program for about 8 months now, and can definitely contest to its usefulness.

flux0

Installation and setup is incredibly simple. You can either type in a zip code or it can pinpoint you exactly if you have location services on, so it knows what time it is where you are. The GUI is a depiction of the sun’s position relating to you over a 24-hour period.

flux1

There are two separate settings for day and night, and you simply adjust the sliders to your liking. The further to the left the slider is, the warmer the tone, and visa versa. This works across every connected display on your PC automatically.

flux5

There are a couple different settings that alter the display, but there are also these extras that have been recently added that I think are pretty neat. If you have a home office, for example, with Philips Hue lights, f.lux can alter them as well. Though something also tells me that if you have a home setup of Hue bulbs you just have your butler adjust them for you.

Software Spotlight: FreeFileSync

So I have a 3TB Western Digital MyCloud at home. I got it with good intentions – you never want to have anything you can’t afford to lose in only one place. The only problem is, the “syncing” software it comes with (I use quotes because it literally doesn’t work), is some of the worst software I’ve ever used. It’s right up there with HP printer driver software, Adobe software installers, and the bloatware that comes with Lenovo/HP PCs as far as “this makes me want to go play in traffic” level of frustration:

4

This is the product download page for my NAS. Do I need My Cloud, Quick View, SmartWare, Sync, or Access in order to get everything working? The answer is yes, and even then good luck getting anything to sync. It only syncs certain file systems. Certain file types. External drives are not supported. You cannot force a manual sync. If one thing doesn’t sync right it breaks the whole process and you have to rebuild the database (a command nestled in the bowels of the admin console), remove and re-add the drive from the software, and more often than not completely re-install all of the software you had to get in the first place. 10/10, WD.

In a last ditch effort to get everything working, I went to the support forums and the general consensus is, “why are you using WD’s sync software”? Enter FreeFileSync, a name I read practically every post.

A couple housekeeping items before we jump into that, though. First, WD decided to have my NAS default to a DHCP address, because apparently we want our storage devices pulling new IP addresses all the time. Neat. Set it static and reserved the IP on my router. The only other thing I had to do was map the drive by its UNC name to a drive letter. At this point I snagged the software and loaded it up in a matter of seconds.

1

The interface is very simple, and has lovely red and green buttons to guide you. The concept is simple: Source on the left, destination on the right. You save each pair of sync entries to a configuration file that can then be customized to your liking.

2

Again, source on the left and destination on the right. You can queue up as many directories as you want. Hit “Compare”, and it’ll tell you what’s different. I’ll go into the comparison and sync variants in a second.

3

Obviously, your speed is determined by how everything’s connected, but that many items in under 9 minutes is pretty decent in my book. Keep in mind this was from a regular SATA HDD over ethernet to my NAS.

5There are 3 basic sync variants, and then a custom setting as well. Basically you can decide on a per-sync pair basis how you want the sync to function. Two-way compares each side at the same time and keeps them looking alike. Mirror keeps the entire source synced to the destination. Update would be the equivalent of an incremental backup.

6There are 5 categories for the sync variants, and a customizable action associated with each. From left to right: Item exists on left (source) only, item on left is newer, conflict/item cannot be recognized, item on right (destination) is newer, item exists on right only. If you follow the action icons as shown above, this means that the configuration is set up to copy the file from the source to the destination if it doesn’t exist, update it if it’s newer, update the destination if something goes weird, update the destination even if the source is older, and delete whatever’s on the destination that isn’t on the source.

You’ll have to do a bit of thinking before you commit to a variant. Since I can get to my cloud from anywhere, I want to make sure it’s a two-way sync. If I had it set up as a mirror, the second I saved something to it via my web login, it would delete it the next time my PC at home checked in. Sad day. But FreeFileSync (which I will now refer to as FFS… ffs.) is only half of the picture. Fasten your seatbelt, we’re going to make this thing sync in real time.

7

The software download comes with RealTimeSync (which I will now refer to as RTS, which should please you Starcraft players), which turns your one-time sync configuration into a proper syncing application. The first thing you need to do is save your FFS configuration as a batch file. This will determine you how each sync process will perform.

8

Once you open RTS and open the saved batch file, it will do the rest for you. You hit the big “Start” button, and it tucks itself away in your taskbar and waits for changes. That’s literally it.

I feel like I don’t even need to give the disclaimer “for being free…” with this software. It’s brilliant. It’s open-source and being constantly updated. It’s easy to use and works flawlessly. Really makes you wonder why a company as large as Western Digital can’t even come up with something that works half as well as this does. Stick to making unreliable hard drives (I love you Samsung EVO), and stay out of the software market, WD.