Re: Send/Receive Use Case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Le samedi 27 juin 2015 10:04:28 Vincent Olivier a écrit :
> 
> There are 4 things I’m not sure about re:send/receive.
> 
> 1) Is it possible to first copy things on a file system using rsync and then
> use send-receive ?

NO. You need to start with a BTRFS snapshot send/receive to be able to 
continue with differential send/receives.

> And to subsequently mix rsync and send-receive ?

NOPE.

> 2) Is possible to “send" a snapshot diff to disk and then “receive" it from
> the said disk into a remote filesystem ?

YES.

> 3) How are “conflicts” handled by send-receive if at all ?

No way. Incremental send/receive are possible only if you have the exact 
(binary) (read-only) "parent" snapshot on both filesystems. There cannot be 
"conflicts" and incremental send/receive is not possible in any other 
situation.

> 4) If a file is created, modified and then deleted in-between two snapshots
> is it ignored by send/receive or does send/receive "re-enacts” the journal
> exactly ?

If anything is created/modified/deleted, the medatata being COW, will differ. 
Incremental send/receive, being the "binary diff" between filesystem states, 
will reflect this difference.

Kind regards.

-- 
Swâmi Petaramesh <swami@xxxxxxxxxxxxxx> http://petaramesh.org PGP 9076E32E

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux