Monitor a directory, and upload/archive files as they arrive

Syncplify.me FTP Script! version: 3.1.6+

Monitoring a directory for certain files, and as soon as they become available (someone puts them in that directory) upload them somewhere else and then move the original files to a different location (archive) on the local disk. This is one of the most common questions from our FTP Script! users.

For such reason we have prepared the sample script below. It will probably fit the most common cases, and it’s a decent learning tool as well as starting point to create your own (more complex) scripts to accomplish your very own particular task.  Continue reading

Making Syncplify.me Server! work with SSHFS/WebEx

Syncplify.me Server! version: 4.0.19+

SSHFS is a FUSE-based filesystem client for the SSH File Transfer Protocol (SFTP); it’s very common among Linux users to mount SFTP targets as local directories. WebEx is a well-known teamwork collaboration tool by Cisco that uses SSHFS to back-up its data to a remote SFTP server.

Unfortunately, the coupling of SSHFS/WebEx – at the time this article is being written – has at least two problems that can cause serious issues to servers that implement the SFTP protocol and its extensions correctly. Continue reading

How to protect your backups from ransomware (Cryptolocker, WannaCry, and the like…)

Syncplify.me Server! version: 4.0.0+

Ransomware is a type of malware that restricts access to the infected computer system, and demands that the user pay a ransom to the malware operators to remove the restriction. Probably the most famous ransomware is Cryptolocker, and it’s definitely something you don’t want to deal with.

Regardless of the strenuous efforts put in place by Antivirus developers, the rate of infection is appalling. And what is worse is that such ransomware can also access all the shared folders on your NAS/SAN, so if you backup to a network drive your backups will be compromised too. The ransomware objectives include, in fact, preventing you from being able to restore your old (healthy) data from a backup.

Managing such situation with permissions and ACL (access-control lists) is a nightmare, and it’s hard to reach a true WORM (write once read many) situation which is the only truly secure way to prevent the ransomware from modifying the backups you’ve already stored. And if you have healthy backups the ransomware is “de facto” already defeated.

So what can you do to store your backups somewhere else in a truly WORM way? Continue reading

Maintenance release: Syncplify.me Server! v3.1.6.46

We have just released Syncplify.me Server! v3.1.6.46 to work around the issues caused by CloudBerry Backup, as discussed in this post.

The SFTP protocol standard states “The server will respond to this request with a SSH_FXP_STATUS message. If a file or directory with the specified path already exists, an error will be returned.”; Yet, CloudBerry Backup tries to create the same directory twice and when Syncplify.me Server! correctly sends an error back the second time (because the directory already exists) CloudBerry Backup (3.9.6.42) considers the backup job failed.

This new version of Syncplify.me Server! tries to identify CloudBerry Backup, and sends a “success” reply upon double directory creation requests, but will practically ignore the second request if the first one was successful.

We have already contacted CloudBerry Lab, and we will remove this workaround from our software as soon as they release an update that fixes their protocol violation issue.

For now, if you need to use Syncplify.me Server! together with CloudBerry Backup, you are advised to download the latest version of our server from our web site.

CloudBerry Backup and Syncplify.me Server! Free (SFTP)

Some users reported the inability to perform backups from CloudBerry Backup to Syncplify.me Server! Free Edition.

Therefore we have analyzed the situation, and this is what we have discovered:

  • By default CloudBerry Backup tries to use 5 (five) concurrent connections to your SFTP server
  • The free edition of Syncplify.me Server! is limited to 3 (three) concurrent connections, and drops/cuts the 2 connections that exceed such limit

Since the number of concurrent connection cannot be changed in Syncplify.me Server! Free (hey, after all, it’s a forever-free product for personal use only) then our recommendation is to set CloudBerry to perform 3 concurrent connections instead of 5. Continue reading

Cisco UCM: backup to SFTP server

When you install Syncplify.me Server!, the installer deploys a very secure (PCI compliant) configuration. Such strong configuration, though, is not compatible with Cisco UCM backups, as Cisco UCM has a very outdated support for the SFTP protocol.

Setting all the protocol options and tweaks by hand, to properly support Cisco UCM, may be painful, as there are so many! But Syncplify.me Server! makes it easy by providing a handy drop-down list of ready-made configuration scenarios, including one that is ideal as a Cisco UCM backup target. Continue reading