October 1, 20196 yr Hi Guys, I am currently using an rsync script on my UNRAID server to copy some files off it to another server on my network. Whilst running the script, I am receiving this error for one of the shares I am trying to copy across: rsync: mkdir "/mnt/disks/UNRAID_Backups/Rysnc/ftp" failed: No such file or directory (2) rsync error: error in file IO (code 11) at main.c(664) [Receiver=3.1.3] The ftp folder has been created on the destination, so I am quite confused on why it is giving this error that the directory does not exist? Other shares have copied across sucessfully, I am just getting this error on the 'ftp' share. For reference, this is the whole rsync script that I am running: #!/bin/bash rsync -avzh --delete --log-file=/mnt/disks/UNRAID_Backups/Rsync-logs/Miscellaneous_log.`date '+%d_%m_%Y__%H_%M_%S'`.log /mnt/user/Miscellaneous/ /mnt/disks/UNRAID_Backups/Rsync/Miscellaneous rsync -avzh --delete --log-file=/mnt/disks/UNRAID_Backups/Rsync-logs/ftp_log.`date '+%d_%m_%Y__%H_%M_%S'`.log /mnt/user/ftp /mnt/disks/UNRAID_Backups/Rysnc/ftp if [ $? -eq 0 ] then /usr/local/emhttp/webGui/scripts/notify -s "`hostname` to BKNAS Rsync Backup complete" -d "Sync completed. `date`" else /usr/local/emhttp/webGui/scripts/notify -s "`hostname` to BKNAS Rsync Backup FAILED" -i "alert" -d "Sync failed. `date`" fi Any help would be appreciated. Cheers!
Archived
This topic is now archived and is closed to further replies.