rsync: mkdir "/home/backup" failed: Permission denied (13)
Hi,
I am trying to backup some drives mounted under /mnt to a personal backup server. I keep getting this error: Code:
koen@Koen-Desktop:~$ rsync -vrlzHPh --exclude='*Private' -e ssh /mnt/ koen@192.168.0.190:/home/backup On the server: Code:
koen@koen-server:~$ ls -lh /home/koen/ |
In your command you're using "/home/backup" but when you do file listings to show permissions you show "/home/koen/backup/". One of those paths are wrong.
Also check the permissions to /mnt on the client and be sure that koen has read permissions to whatever it is you're trying to sync. Perhaps what you want is... Code:
koen@Koen-Desktop:~$ rsync -vrlzHPh --exclude='*Private' -e ssh /mnt/ koen@192.168.0.190:backup |
Quote:
For anybody who made the same mistake: i used this command: Code:
rsync -vrlzHPh --delete --exclude='*Private' -e ssh /mnt/ koen@192.168.0.190:/home/koen/backup |
All times are GMT -5. The time now is 07:43 AM. |