Skip to content

Instantly share code, notes, and snippets.

@skygunner
Created November 18, 2016 13:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skygunner/a8ef75022e2370b0d8786ad362cc746a to your computer and use it in GitHub Desktop.
Save skygunner/a8ef75022e2370b0d8786ad362cc746a to your computer and use it in GitHub Desktop.
backup and restore napp-it and comstar iSCSI settings/configrations
Basically,
- install OmniOS (via CD or USB Stick) and setup network manually
http://napp-it.org/downloads/omnios_en.html
Then install napp-it (at console as root)
- wget -O - www.napp-it.org/nappit | perl
Connect napp-it via browser, check if current BE is default or reboot
- http://ip:81
- set root pw
- import your pool
ZFS, ACL and share settings are restored with the pool
- import your Comstar Logical units, re-create Targets, Target Groups, Views etc
If you want to keep napp-it jobs, groups, keys or Comstar settings from your current config:
- Backup Comstar settings to /var/web-gui/_log/
- Backup /var/web-gui/_log/* to your pool
- Restore /var/web-gui/_log/ on your new setup
- Restore Comstar settings
@averyfreeman
Copy link

napp-it on OmniOSCE fleek af. Be cool like me and donate to OmniOS devs here: https://omniosce.org/patron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment