CallMeTechie
DE Login
Home Products Blog About Contact

Copying & Mirroring Files

🐳 Docker & Transfer · Updated 5 days ago

Copying & Mirroring Files

Both transfer commands (scope file_transfer) use the endpoint syntax <server>:<path> for the remote side.

/copy — copy once

/copy ./compose.yml homeserver:/srv/app/

Uses rsync, with an scp fallback. Writing into a protected path requires --confirm=<server>.

/sync — mirror

A dry run by default — only --apply transfers:

/sync /srv/app homeserver:/backup/app            # preview
/sync /srv/app homeserver:/backup/app --apply    # execute

--delete removes surplus destination files and additionally requires --confirm-delete=<server>.

Cookie Settings

We use cookies to improve your experience. Essential cookies are always active.

Privacy Policy
ESC
↑↓ navigate open esc close