iSCSIターゲットの保存済構成のリストア
iSCSIターゲットの保存済構成をリストアするには、targetcli対話型シェルを起動し、次のコマンドを実行します。
sudo targetcli
targetcli shell version 2.1.58 Copyright 2011-2013 by Datera, Inc and others. For help on commands, type 'help'. /> restoreconfig /etc/target/saveconfig.json
/etc/target/saveconfig.jsonファイルには、最後に保存された構成が格納されます。
もう1つの方法として、次のコマンドを実行して、保存済構成を前のバージョンからリストアします。
/> restoreconfig /etc/target/backup/saveconfig-20180516-18:53:29.json