[zfs-discuss] Incremental snapshot cannot be received "cannot restore to XXXXX: destination already exists"

Phil Harman phil.harman at gmail.com
Sat Dec 9 07:13:51 EST 2017


Your initial receive created backup_usb_2tb_1/audio at usb_backup. You need to rename that too before the incremental receive will work.

> On 9 Dec 2017, at 11:38, explosive via zfs-discuss <zfs-discuss at list.zfsonlinux.org> wrote:
> 
> Hi,
> 
> I have a zfs pool (named "marvin") on my home server. I want to send individual snapshots of various volumes from marvin to a USB external drive that I have created as a pool ("backup_usb_2tb_1").
> 
> I have create snapshots and sent them to the usb drive as so:
> 
> zfs snapshot marvin/audio at usb_backup
> zfs send marvin/audio at usb_backup | zfs receive -dF backup_usb_2tb_1
> 
> which has created the snapshot on the backup pool as (backup_usb_2tb_1/audio at usb_backup)
> 
> I have then renamed the snapshot on my main pool:
> 
> zfs rename marvin/audio at usb_backup marvin/audio at usb_backup_old
> 
> and tried to send the incremental changes:
> 
> zfs send -i marvin/audio at usb_backup_old marvin/audio at usb_backup | zfs receive -Fd backup_usb_2tb_1
> 
> but I get this error message: "cannot restore to backup_usb_2tb_1/audio at usb_backup: destination already exists"
> 
> I have also tried without "-F" on zfs recv but I get the same message.
> Any ideas what I am doing wrong?
> 
> Thanks,
> Tom
> 
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at list.zfsonlinux.org
> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss


More information about the zfs-discuss mailing list