

- FREEFILESYNC ERROR 183 INSTALL
- FREEFILESYNC ERROR 183 UPDATE
- FREEFILESYNC ERROR 183 FULL
- FREEFILESYNC ERROR 183 PASSWORD
$JobsDir = “D:\Profiles” # This is the directory that holds the job file (the ffs_batch file) you want to run $JobName = “Mirror_RAID” # This is the name of your free file sync job file (without the extension).
FREEFILESYNC ERROR 183 PASSWORD
$Email_Address = “whatever my email password is” # - Fill out this info below (the example entries use a fictitious gmail address)
FREEFILESYNC ERROR 183 INSTALL
# Note that it is designed to work with a default 64 bit install with no customization. # This script wraps a FreeFileSync job so that it will email the resulting log somewhere. Then just run (or schedule) the powershell script to do the job and email you the result. Try some of the suggestions here:Ĭhoice 1 is what I said in the prior post, but having to run an extra background process could be considered too complex, so…Ĭhoice 2 is to wrap the FreeFileSync job in a powershell script that emails the log after the job is complete. This command works under Windows 7/Server 2008 but for earlier versions of Windows you’ll need to use a different command line. I’m sure you could get away with a shorter delay, but I’d rather have a longer delay and definitely receive the error alert email. The ‘timeout’ is in the script because I think there’s a bit of a delay before the log file is finished being created once the bat file is executed.
FREEFILESYNC ERROR 183 FULL
Then add the full filepath to the batch file to FreeFileSync in Synchronization Settings under ‘On completion’. Once it’s working correctly and you’re receiving the emails with the log attachments, change the errorlevel back. Might take a few attempts to get mailsend up and running. I would change the errorlevel value to “1” and run it (this will send the error message even if your last sync completed successfully – I’m assuming it did!) so you can test all the settings work correctly. "C:\Mailsend Location\mailsend.exe" +bc +cc -smtp smtpaddress -t -f -user username -pass password -sub "FreeFileSync Backup: %time%, %date% - Completed with errors!" -attach "C:\Log Location\%recent%" "C:\Program Files\7-Zip\7z.exe" a "C:\Log Location\%recent%.7z" "C:\Log Location\%recent%" You’ll need to change the email settings, log location and mailsend location in order to get it working as offįor /f "delims=" %%x in ('dir "C:\Log Location" /od /b') do set recent=%%xįindstr /m /C:"completed with errors!" "C:\Log Location\%recent%" The lines begin with (ish): timeout for findstr if 7zip mailsend del) respectively. You’ll need to download mailsend from here:Ĭreate a file called emailalert.bat. With a bit of Googling I came up with a batch file to use with it. One of the recent versions of the application included a new feature where it would execute a command line upon completion of a synchronization.

additional required user steps) to back up processes is a terrible idea, so automating this processes would be a lot better. This means I have to manually check logs for errors. However, it doesn’t have any error reporting/email alerting built into it.

I’m a big fan of FreeFileSync and use it at work for a few back up processes. I use 7zip but you could use something else.
FREEFILESYNC ERROR 183 UPDATE
Update (6): I’ve added a few lines so the log file is zipped before it’s sent and then deleted afterwards. Update (7): So I really thought I had this working, but found I’d left off something quite important! On the findstr line there was a missing switch before the search string. Update(4): You can find more on this topic at the following forum post: – also in Andrea’s comments below.
