Rsync Error Code 23

Rsync Error Code 23

I am trying to back up a server into a flashdrive with rsync:

rsync -rv --delete /home/computername/filename /dev/disk/by-label/Flashdrivename

It fails, with:

sending incremental file list
rsync: delete_file: unlink(Flashdrivename) failed: Permission denied (13)
could not make way for new regular file: filename

sent 53 bytes received 138 bytes 382.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]

if someone knows what's the problem i would be very grateful if you told me.

7
James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.