Synchronize and back up data with FreeFileSync
Configuration
Because FreeFileSync is a powerful tool, it has a fairly large set of options to configure. You can set up the general parameters for the tool in the Extras | Options dialog, which you open via the menubar at the top of the screen. You will find all the configuration options that need to be made independently of synchronization tasks here (Figure 2).
In this dialog, you define, for example, how long logfiles remain in storage, where the software stores them, and whether the application should output audible signals when actions are performed. You can also customize existing context menus in this dialog.
In contrast to these settings, which are generally loaded when the software is called, you will find three further configuration dialogs in the Actions menu. The Compare Settings, Filter Settings, and Synchronize Settings entries let you create profiles that the program loads as a function of the file, directory, and action.
In the first tab, Comparison, use the Comparison Settings dialog to define the criteria that FreeFileSync applies to compare files. You have the choice here between date and size, file content, and file size. In addition, you can specify whether the program should follow symbolic links to locate identical files. The Filter tab (the funnel icon located top center in the dialog) opens an area where you enter the directories to be included and excluded in a list. You can also filter the data here based on file sizes.
The right tab Synchronization offers different ways to synchronize data. This is also where you can define individual criteria for synchronization. Basically, the options depend on whether an object already exists in one of the active directories and how the software should proceed if different versions of a file exist in the source and target directories.
If FreeFileSync detects unresolvable conflicts in object pairs during synchronization, the dialog also offers a configuration option for this. In addition, you can specify in this tab what happens to deleted and overwritten data. You can choose between deleting the data permanently or moving the data to the recycle bin so that you can restore if needed.
Dry Run
After finishing the configuration, start comparing the directory contents. To do this, press the Browse button below the Compare and Synchronize buttons in the program window, respectively, and select the desired directories in the file manager. The application automatically adopts menu hierarchies recursively.
If you want to compare multiple folder pairs with the same compare and sync settings in a single operation, press the small plus button on the left below the large Compare button. The software now adds another input line for a folder pair.
To additionally include cloud storage or a central server on the intranet in the data synchronization, press the button with the cloud icon to the right of Browse. The program now opens an overlapping configuration window that lets you either include your Google Drive online storage in the synchronization or talk to a server via FTP/SFTP. In both cases, the respective target can be configured in a few steps in this dialog so that FreeFileSync accesses the directories available there.
After selecting the directories, press the large Compare button. The software now compares the folders, displaying the files it finds on the left and right in the two large window segments at the bottom. The green arrows with the plus symbols pointing in different directions between the two folder displays show you which files the software is backing up if you compare from left to right and vice versa. The arrow colors show the transfer direction: Arrows in green mean the file is being transferred from left to right, while a blue arrow refers to the opposite transfer direction (Figure 3).
Synchronizing
Depending on the profile you created, you can then synchronize the two directories by selecting Synchronize. If necessary, you can modify the existing profile settings before the sync by pressing the small triangle button to the right of the Synchronize button and selecting the desired configuration dialog from the context menu.
In addition, the software lets you customize the sync for each listed file, if needed. There are three alternatives to choose from: Either copy the file (which is usually suggested) in the respective direction specified, delete the file, or ignore it.
In addition, some details of the intended sync are displayed in a small statistics area bottom right in the program window. The stats provide information on the number of files the software copies or updates in each direction and quantify the number of planned deletions as well as the transfer volume. If syncing involves massive copying processes, you can see in advance how much disk space you will need. You can adjust the configuration later by clicking on the funnel icon top center. This opens the filter dialog, where you can include or exclude directories or certain file formats from the sync.
After completing the settings, start the process by pressing the big Synchronize button. FreeFileSync now synchronizes the data based on the defaults and displays the action's progress in an overlapping window. It tells you, almost in real time, the number of files that are still to be synchronized.
Note that in the case of slower removable media that communicate with the computer via USB 2.0, writes may still be taking place even if the software is already indicating a full sync. This is why you need to wait before unmounting the removable disk to make sure that the synchronization is complete, and – if the system is still working with the disk – wait for it to be released.
« Previous 1 2 3 4 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.