Lftp-mirror

A Docker container that uses LFTP to mirror a remote SFTP directory to a local folder, copying, removing, and preserving file permissions.

  • Cloud
  • Downloaders
  • Tools & Utilities
A Docker container that uses LFTP to mirror a remote SFTP directory to a local folder, copying, removing, and preserving file permissions.

Platform availability

Available on 1 of 9 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

60/100 Good

Maintained
72last commit 19 days ago
Popular
621,307 GitHub stars
Easy to install
351 install platform, install notes, Docker image
Light to run
No data

Based on 3 of 4 factors.

Availability: platform listings confirmed today

No GitHub repository data collected yet.

Resources & Compatibility

ARM (e.g. Raspberry Pi) is not supported.

Checked today - source: Docker Hub image tags and published docs

First-install notes

  • SFTP mirroring Configure a remote SFTP location and local folder; the container runs LFTP to mirror files and handle permissions. source

Fetched today - each note links to its source

Alternatives (7)

  • AeroFTP - A modern, open-source file manager and client for FTP, SFTP, WebDAV, and S3, featuring an AI assistant, cloud sync, and military-grade encr…
  • FileZilla - FileZilla is a cross-platform FTP, SFTP, and FTPS client for transferring and managing files on remote servers.
  • Wget - Wget is a command-line utility for non-interactive downloading of files, directories, and entire websites over HTTP, HTTPS, and FTP.
  • aria2 - Aria2 is a lightweight, multi-protocol, multi-source, cross-platform command-line download utility that retrieves files over HTTP/HTTPS, FT…
  • cURL - cURL is a versatile tool used to send and receive information between your computer and a server via the internet.
  • lftp - LFTP is a versatile tool for moving files between your computer and a remote server.
  • termscp - A feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/Kube/S3/WebDAV.

Checked today - source: AlternativeTo

Common questions

How can I mirror a large remote directory in parallel?

Use `mirror --scan-all-first --parallel=100` followed by the directory. The lftp man page notes that `use-pget` will use pget to transfer every single file.

Why does lftp mirror re-download files that have not changed?

This can happen because LFTP caches directory listings and remote listings can lag behind filesystem changes. Run `cache flush`, or set `set cache:enable no` in `$HOME/.lftprc`.

Can lftp mirror use FTPS or HTTPS?

Yes. lftp can mirror files and directories using the FTPS or HTTPS protocol.

Can lftp mirror be used to keep a Linux system in sync with an FTP-only cloud backup?

Yes. The LFTP MIRROR option can keep a local Linux account in sync with a backup on a cloud web server when FTP is the available access.

Answers sourced from github.com, mcandre.gitbooks.io, www.cyberciti.biz, www.reddit.com

Community

Collected today - public community threads