stephenbrooks.orgThe ArchiveLocal Backup

Local Backup

A backup utility that synchronises files to directly-connected (or mounted) disk drives.  For example, a USB drive, another hard disk or a NAS.  Unchanged files are not copied, but all changes are applied.  Unfortunately I don't have a good algorithm for moved files: if a large folder gets moved or renamed, it is deleted and re-transferred.

The source and destination folders are specified in config.txt, for example:

Local address: C:\
Destination: E:\backup
Max size: 0
Local address: C:\
Destination: F:\backup
Max size: 0

This backs up the whole C: drive to two other folders, with no limit on file size (0 means no limit, otherwise the limit is in bytes).  Any number of local addresses and destinations can be added, provided they are repeated blocks of these three lines.

Additional options can be added at the top of the config.txt file.  Exclude folders: provides a comma-separated list of local folders to be excluded from the synchronisation.  Exclude substrings: will exclude files based on containing one or more substrings, and Exclude extensions: will exclude files with certain extensions.

It is also possible to run lbackup from the commandline with two arguments that override the local and destination folders in config.txt, with the following syntax:

lbackup source_folder destination_folder

- - - [Download] - - -

lbackup Utility (.7z file, 19KB; zip file, 22KB).
Use 7-Zip to open .7z files, WinZip files (less compression) provided for compatibility.

Decompress all files to a directory and run the EXE file.

- - - [Screenshots] - - -

: contact : - - -
E-mail: sbstrudel characterstephenbrooks.orgTwitter: stephenjbrooksMastodon: strudel charactersjbstrudel RSS feed24.95millionaccesses