FG

rsync Permission denied backing up a remote directory to my local machine

Fresh3 days ago
Mar 15, 202691003 views
Confidence Score0%
0%

Problem

I'm getting the error mentioned in the title. I found this similar question: Run rsync with root permission on remote machine. That doesn't answer my question. I'm the admin on the remote server and I want to use to back up files to my local box. Here's my rsync command: It mostly works. Login is v…

Error Output

$ rsync -avz me@myserver.com:/var/www/ /backups/Sites/MySite/

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: rsync Permission denied backing up a remote directory to my local machine

Low Risk

You cannot back up a file which you cannot read otherwise, so the permissions will have to be either changed or overriden by root. Your options in more detail: Override the permissions by rsync'ing as directly. ( ...or by configuring sudo on the ser…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment