I would like to backup my system with rsync. Befrore writing a complete script I wanted to understand how rsync works and if everything works all right.
I tried to backup my home dir to my external hdd. Therefore I used this command:
rsync -avz --del --force --progress --exclude-from=/home/fixje/backup-script/exceptions /home/fixje/ /mnt/exhdd/linux_fixje/home
As result many files where copied correctly and even the exceptions worked!
But then I got an error
building file list ...
507 files to consider
6 100% 0.00kB/s 0:00:00 (1, 0.4% of 507)
41 100% 20.02kB/s 0:00:00 (2, 1.4% of 507)
rsync: mkstemp "/mnt/exhdd/linux_fixje/home/.?.Zrtftp" failed: Invalid argument(22)
sent 10565 bytes received 70 bytes 21270.00 bytes/sec
total size is 192509874 speedup is 18101.54
rsync error: some files could not be transferred (code 23) at main.c(789)
I have really no idea!
Thanks for your replies!!