Backup and renaming old file that became directory
Yan Morin
yan.morin at savoirfairelinux.com
Wed Jul 12 13:20:05 GMT 2006
/mnt/backup/foo/home/bar <-- file
/mnt/backup/foo/old/home/bar <-- directory
rsync: keep_backup failed: "/mnt/backup/foo/home/bar" ->
"/mnt/backup/foo/old/home/bar": Is a directory (21)
rsync: opendir "/mnt/backup/foo/home/bar" failed: Not a directory (20)
rsync: keep_backup failed: "/mnt/backup/foo/home/bar" ->
"/mnt/backup/foo/old/home/bar": Is a directory (21)
rsync: keep_backup failed: "/mnt/backup/foo/home/bar" ->
"/mnt/backup/foo/old/home/bar": Is a directory (21)
rsync error: some files could not be transferred (code 23) at main.c(791)
In the original error, the file/directory, aka 'bar' was beginning by a
dot, it was '.nedit'
Matt McCutchen wrote:
> I tried your scenario on rsync 2.6.8. Rsync successfully overwrite
> the destination directory with the source file and didn't change the
> backup dir. How exactly is rsync failing for you? Error message?
>
> Matt
>
--
Yan Morin
yan.morin at savoirfairelinux.com
http://www.sflphone.org/
http://www.savoirfairelinux.com/
More information about the rsync
mailing list