wwws
(shuai)
March 24, 2022, 7:20am
1
1、container in one node(node1)
2、zfs send -i snap1 snap2 | ssh node2 zfs recv ***
3、zfs set mountpoint=/var/lib/lxd/storage_pool/zfspool/**** zfspool/****(node2)
4、shutdown the node1
5、lxd import *** --force(node2)
lxc storage list
Previous data also exist
how to clean up? thank you for your reply
tomp
(Thomas Parrott)
March 24, 2022, 9:13am
2
Any particular reason you’re not using lxc export <instance> <file>
and then lxc import <file>
?
wwws
(shuai)
March 24, 2022, 10:07am
3
thank you for your reply.I m trying the node down to restore the way, Restore without mirroring
tomp
(Thomas Parrott)
March 24, 2022, 10:10am
4
lxd import
has been replaced with an interactive lxd recover
command in more recent versions of LXD so it is advisable not to depend on lxd import
for workflows for future proofing reasons.
wwws
(shuai)
March 24, 2022, 10:35am
5
ok,thank you .What the updates of the new version?