DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
World desk5 min

How to Upload Stream Videos to a Linux VPS With rsync and Resume Transfers

Use rsync over SSH with a separate partial directory to upload videos to a Linux VPS and recover sensibly after an interruption.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use rsync over SSH with --partial-dir to upload a video to your Linux VPS. If the connection breaks, run the same command again: rsync can use the saved partial data to help continue the transfer. Keep that partial data in a staging directory, not where your streaming software or other readers expect finished videos.

What you need before transferring

  • rsync installed on both your local machine and the VPS.
  • SSH access to the VPS and the correct username and hostname.
  • A destination directory that exists or can be created and is writable by the account you use to connect. A dedicated media directory such as /srv/videos/ is clearer than an ambiguous home or system path.

For a remote-shell transfer, rsync uses a single-colon destination of the form user@host:path. SSH is a supported remote shell. The command below pushes a local file to the VPS.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Upload one video with a resumable partial directory

  1. Choose the local video and confirm the destination path. In the example, the local file is ./video.mp4 and the VPS destination directory is /srv/videos/.

  2. Run this on the computer that has the video, replacing the example username and hostname with your own:

    #1 Best Overall
    Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
    • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
    • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
    • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
    • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
    • The available storage capacity may vary.
    rsync -av --info=progress2 --partial-dir=.rsync-partial -e ssh -- ./video.mp4 [email protected]:/srv/videos/

    -a enables archive mode, -v makes rsync more descriptive, and --info=progress2 shows transfer progress. -e ssh selects SSH as the remote-shell transport. The -- separates options from the source path.

  3. If the transfer is interrupted, rerun the same command with the same source and destination. The partial data is kept separately in .rsync-partial; rsync can use it to speed a subsequent transfer where applicable.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
    Rank #2
    Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
    • Easily store and access 5TB of content on the go with the Seagate portable drive, a USB external hard Drive
    • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
    • To get set up, connect the portable hard drive to a computer for automatic recognition software required
    • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
    • The available storage capacity may vary.
  4. Wait for rsync to finish successfully before treating the destination file as ready for a streaming server or other reader.

Keep partial data separate from finished videos

A file in the partial directory is incomplete and may not play. Treat .rsync-partial as staging space, and keep it out of any directory your streaming software scans for ready-to-play media. A relative partial-directory path is alongside the destination files; rsync adds a filter rule that excludes that directory from transfers.

Rank #3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
  • Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

The staging directory must not be writable by other users. Rsync’s modern in-place reuse of a file from a partial directory requires rsync 3.2.0 or newer at both ends; with other version combinations, do not assume the partial data will be reused in that way.

Uploading a directory instead of one file

Rsync’s source and destination syntax supports multiple sources, but a recursive library upload needs care: a trailing slash on a directory source changes which directory contents are copied. Do not simply replace ./video.mp4 with a library path without checking the intended result. Try the command on a small sample first, confirm the resulting directory layout on the VPS, and only then expand to the full library.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
  • Easily store and access 4TB of content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Which rsync resume option should you use?

Approach Good fit Tradeoff
--partial-dir=.rsync-partial Ordinary finished video uploads that may be interrupted, especially when an incomplete file should stay away from its final filename. Requires a safe, private staging directory. Reuse behavior can depend on the rsync versions at both ends.
--append-verify A specialized case: the destination is known to be an exact prefix of a source file that is still growing, and you want existing contents checked as part of verification. It adds verification work and depends on the growing-file assumption. It is not a general resume switch for an arbitrary completed video.

Why not use --append for every interrupted video?

--append assumes the bytes already at the destination exactly match the beginning of the source. That can suit a file known to be growing, but an interrupted copy of an arbitrary finished video does not establish that condition. Do not choose append mode merely because an earlier transfer failed.

-P is a convenient shorthand for --partial --progress, but it does not specify a separate partial directory. The command above uses --partial-dir to keep incomplete data separate.

Best Value
Sale
UnionSine 500GB Ultra Slim Portable External Hard Drive HDD-USB 3.0 | for PC, Mac, Laptop, PS4, Xbox one, Xbox 360-(Black)
  • [Upgraded Version] - This external hard drive features a mirrored logo stripe combined with a striped anti-slip design, and the rounded corners of the casing make it easier to grip. The stripes also have a heat dissipation function, ensuring stable and fast data transfer.
  • 【Ultra-thin and quiet】 - The motherboard adopts JMicron 578 noise-free solution, giving you a quiet working environment. Lightweight and portable size designed to fit in your pocket for easy portability.
  • 【Ultra-Fast Data Transfers】 - Pairing this external hard drive with JMicron 578 solution USB 3.0 and USB 2.0 interfaces enables blazing-fast data transfer. It boasts theoretical read speeds of up to 125MB/s and write speeds of up to 103MB/s.
  • 【Plug and Play】 - With no software to install, just plug it in and the drive is ready to use.The hard disk chip is wrapped with an aluminum anti-interference layer to increase heat dissipation and protect data.
  • 【What You Get】 - 1 x Portable Hard Drive, 1 x USB 3.0 Cable, 1 x User Manual, Gift-type shell packaging ,Three-year manufacturer's warranty and free technical support services.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Verify the completed upload when needed

A successful rsync run is useful evidence that the copy completed. If you need an independent integrity check, generate a cryptographic checksum for the source and destination and compare them. The exact checksum command can vary by system; confirm the appropriate command for your local machine and VPS before relying on it.

Common problems and fixes

  • Permission denied at the destination: Check that you are connecting as the intended VPS account and that it can write to the destination directory. Choose a directory that account owns or is allowed to write.
  • SSH connection or host error: Confirm the username, hostname, SSH access, and network connection. The example hostname is illustrative; use the actual VPS hostname.
  • The remote path is not the one you intended: Check the destination path and inspect the resulting directory layout before transferring a larger library. For directory sources, test whether the trailing slash gives the layout you want.
  • The transfer stops and you are unsure what to do: Rerun the same command with unchanged source and destination paths. Keep the partial directory in place during recovery.
  • The partial directory is accessible to other users: Correct its permissions or choose a private staging location before using it. Do not put incomplete files in a location used by a streaming server.

Costs and transfer time

This workflow requires a Linux VPS and a network connection, but no particular VPS provider, configuration, bandwidth, transfer speed, or completion time is established here. Video compression with -z is not a default recommendation: any benefit depends on the material and connection, so consider it only after measuring your own transfer rather than assuming it will be faster.

Or let it run in the cloud

If your goal is a 24/7 YouTube stream from uploaded videos, rather than managing a VPS transfer and streaming setup, StreamNeo runs the loop in the cloud: upload a recording or build a playlist, add your YouTube stream key once, and go live. Your computer and home connection do not have to stay on; uploads stream as made up to 4K 60fps at one flat price per slot, with no re-encode or quality tiers. StreamNeo can automatically recover if YouTube drops the stream. The first day is free with no card, one free day per account. Monthly is $9.99 per month.

Quick Recap

Bestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$129.99
Bestseller No. 2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$213.60
Bestseller No. 3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.80
Bestseller No. 4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$189.99

Start your free StreamNeo day.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.