<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.rosemarknetworks.com/wiki/index.php?action=history&amp;feed=atom&amp;title=ZFS_Remote_Sync</id>
	<title>ZFS Remote Sync - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.rosemarknetworks.com/wiki/index.php?action=history&amp;feed=atom&amp;title=ZFS_Remote_Sync"/>
	<link rel="alternate" type="text/html" href="https://www.rosemarknetworks.com/wiki/index.php?title=ZFS_Remote_Sync&amp;action=history"/>
	<updated>2026-05-12T22:58:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://www.rosemarknetworks.com/wiki/index.php?title=ZFS_Remote_Sync&amp;diff=115&amp;oldid=prev</id>
		<title>Maeve: Created page with &quot;It is possible to &#039;&#039;&#039;sync one zpool&#039;s contents to another&#039;&#039;&#039; via &#039;&#039;zfs send&#039;&#039; and &#039;&#039;zfs recv.&#039;&#039;   First, create a snapshot of the data you want to send. To copy an entire zpool, create a snapshot with the following command:  zpool snapshot -r [zpool_to_snapshot]@[snapshot_name] You can also snapshot a specific subvol.   zpool snapshot [zpool_to_snapshot/with_sub_vol]@[snapshot_name]  We&#039;ll be sending the data from this snapshot over to another host using zfs send and zfs...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.rosemarknetworks.com/wiki/index.php?title=ZFS_Remote_Sync&amp;diff=115&amp;oldid=prev"/>
		<updated>2024-11-25T20:51:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;It is possible to &amp;#039;&amp;#039;&amp;#039;sync one zpool&amp;#039;s contents to another&amp;#039;&amp;#039;&amp;#039; via &amp;#039;&amp;#039;zfs send&amp;#039;&amp;#039; and &amp;#039;&amp;#039;zfs recv.&amp;#039;&amp;#039;   First, create a snapshot of the data you want to send. To copy an entire zpool, create a snapshot with the following command:  zpool snapshot -r [zpool_to_snapshot]@[snapshot_name] You can also snapshot a specific subvol.   zpool snapshot [zpool_to_snapshot/with_sub_vol]@[snapshot_name]  We&amp;#039;ll be sending the data from this snapshot over to another host using zfs send and zfs...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;It is possible to &amp;#039;&amp;#039;&amp;#039;sync one zpool&amp;#039;s contents to another&amp;#039;&amp;#039;&amp;#039; via &amp;#039;&amp;#039;zfs send&amp;#039;&amp;#039; and &amp;#039;&amp;#039;zfs recv.&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
First, create a snapshot of the data you want to send. To copy an entire zpool, create a snapshot with the following command:&lt;br /&gt;
 zpool snapshot -r [zpool_to_snapshot]@[snapshot_name]&lt;br /&gt;
You can also snapshot a specific subvol. &lt;br /&gt;
 zpool snapshot [zpool_to_snapshot/with_sub_vol]@[snapshot_name] &lt;br /&gt;
We&amp;#039;ll be sending the data from this snapshot over to another host using zfs send and zfs recv. We&amp;#039;ll want to run this command in a screen session in case our terminal disconnects. We pipe the output of zfs send into an ssh connection running zfs recv.&lt;br /&gt;
&lt;br /&gt;
We run zfs send with -R to send all content under the specified snapshot. We run zfs recv with the flags -F (expand and replace) -d (discard target name and replace with source) -u (do not mount on destination). The pool must exist on the destination. Essentially, we&amp;#039;re not cloning the ZFS configuration, we&amp;#039;re funneling information on a higher level between them, in the same sense that one might SCP or rsync data. We recommend using zpool set autoexpand=on [pool_name]&lt;br /&gt;
 zfs send -R [zpool_to_clone]@[snapshot_name] | ssh [destination_IP] zfs recv -Fdu [destination_pool]&lt;br /&gt;
This will take quite some time. It may take multiple days, depending on the size of your dataset.&lt;/div&gt;</summary>
		<author><name>Maeve</name></author>
	</entry>
</feed>