You have syntax slightly the wrong way round. It should be
rsync -ravz --partial /mnt/WDElements/Users/Edward/ /mnt/backup/Users/Edward
The trailing / on the source parameter means copy the contents of the
directory, rather the the actual directory.
Mike.
On 20/12/2021 16:39, Chunkywizard wrote:
> Hi Paul,
>
> thanks for the reply, I'd never spotted that page and it worked well
> rync is now installed. Now I just need to work out my syntax!
>
> tc@piCoreOffice:/mnt$ rsync -ravz --partial /mnt/WDElements/Users/Edward
> /mnt/backup/Users/Edward/
> sending incremental file list
> rsync: mkdir "/mnt/backup/Users/Edward" failed: No such file or
> directory (2)
> rsync error: error in file IO (code 11) at main.c(657) [Receiver=3.1.2]
>
> seems it is failing due to due having the folder on the backup harddrive
> (which is blank) but I thought rsync copied the directory and the files
> (I'm using
> https://www.howtogeek.com/427480/how...-linux-system/ as a
> source)
>
> Paul
>
>
>
> *Squeezebox:* Boom x2 (Kitchen and Living Room), Radio x4 (Kids, Play
> Room and Bedroom), PiCorePlayer (Office)
> *Server:* 8.0 for PCP
> *Plugins:* Spotty | Dynamic Playlists | SQL Playlist | Music and Artist
> Information | TrackStat
> *Remote:* iPhone6/iPad Air running 'iPeng'
> (http://penguinlovesmusic.de/2008/11/...-on-app-store/)
> *Music: *'Last.fm' (http://www.last.fm/user/chunkywizard)
> ------------------------------------------------------------------------
> Chunkywizard's Profile:http://forums.slimdevices.com/member.php?userid=25868
> View this thread:http://forums.slimdevices.com/showthread.php?t=115604
>
>
rsync -ravz --partial /mnt/WDElements/Users/Edward/ /mnt/backup/Users/Edward
The trailing / on the source parameter means copy the contents of the
directory, rather the the actual directory.
Mike.
On 20/12/2021 16:39, Chunkywizard wrote:
> Hi Paul,
>
> thanks for the reply, I'd never spotted that page and it worked well
> rync is now installed. Now I just need to work out my syntax!
>
> tc@piCoreOffice:/mnt$ rsync -ravz --partial /mnt/WDElements/Users/Edward
> /mnt/backup/Users/Edward/
> sending incremental file list
> rsync: mkdir "/mnt/backup/Users/Edward" failed: No such file or
> directory (2)
> rsync error: error in file IO (code 11) at main.c(657) [Receiver=3.1.2]
>
> seems it is failing due to due having the folder on the backup harddrive
> (which is blank) but I thought rsync copied the directory and the files
> (I'm using
> https://www.howtogeek.com/427480/how...-linux-system/ as a
> source)
>
> Paul
>
>
>
> *Squeezebox:* Boom x2 (Kitchen and Living Room), Radio x4 (Kids, Play
> Room and Bedroom), PiCorePlayer (Office)
> *Server:* 8.0 for PCP
> *Plugins:* Spotty | Dynamic Playlists | SQL Playlist | Music and Artist
> Information | TrackStat
> *Remote:* iPhone6/iPad Air running 'iPeng'
> (http://penguinlovesmusic.de/2008/11/...-on-app-store/)
> *Music: *'Last.fm' (http://www.last.fm/user/chunkywizard)
> ------------------------------------------------------------------------
> Chunkywizard's Profile:http://forums.slimdevices.com/member.php?userid=25868
> View this thread:http://forums.slimdevices.com/showthread.php?t=115604
>
>