Log inSign up

File transfer and archives guides

rsync, scp, sftp, archives, deduplicated backups and full-disk copies. 9 guides in this topic.

Copy and mirror files with rsync

Move folders between machines over SSH, resend only what changed, mirror with deletes after a dry run and schedule the job with a timer.

Copy files with scp

One command to push or pull a file or folder over SSH, with ports, keys, jump hosts and speed limits explained.

Transfer files with sftp

Browse remote folders, upload and download, resume broken transfers and script repeat jobs with the sftp client that comes with OpenSSH.

tar archives

Pack folders into one file, pick gzip, xz or zstd compression, list and extract safely, keep permissions and stream archives over SSH.

zip and unzip

Create zip files that open on any desktop, exclude clutter, unpack into the right folder, test archives and protect them with real encryption.

Deduplicated backups with BorgBackup

Encrypted, deduplicated and compressed backups to a second machine over SSH, with pruning, integrity checks, restores and a nightly timer.

Sync to remote storage with rclone

Connect your server to storage you already have (S3-compatible buckets, SFTP, WebDAV), copy or sync folders, encrypt them and run it on a timer.

Full-disk image copies of a server

Copy an entire running system at file level with rsync or Borg, with the right excludes, and bring it back on a freshly installed server.

Mount remote folders with SSHFS

Make a folder on your server appear as a local directory over SSH, keep the mount alive across drops and mount it automatically at boot.