One other thought:

The backups on VIOS and HMC happen without any disruption to the
environment.
You can run these backups whenever you wish.

Some customers run them just before they leave the office for the day, that
way the new backups are included in the IBM i backup that runs that night.

--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects


On Tue, Nov 30, 2021 at 11:05 AM Rob Berendt <rob@xxxxxxxxx> wrote:

Thank you. That's good.
Might want to change hoe to home though...

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
http://www.dekko.com


-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jim
Oberholtzer
Sent: Tuesday, November 30, 2021 11:01 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: HMC and VIOS backups

CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know
the content is safe.


I don't recall a post recently about how to back up VIOS. The HMC is easy,
follow the prompts, but I highly suggest you use an NFS or other share to
keep the saves somewhere you can get to them in the event they are needed.
To back up VIOS, it's stupid easy once you get past all the documentation
that has been written by experts in AIX/VIOS for experienced folks in
AIX/VIOS. (They completely ignore those of us that might not have a strong
UNIX background)

I always use the IBM i NFS server for this, putting the backups on IBM i
then moving them to another server in the event they are needed. This is
also the technique I use when doing a VIOS upgrade from V2 to V3 (ie
2.2.6.61 to 3.1.2.10 using the VIOS command viosupgrade)

So in easy steps:
Create the NFS shares on IBM i (substitute directory names to suit your
whims....)
IBM i :

- MKDIR /ibmi/vios/backup
- CHGAUT OBJ('/ibmi') USER(*PUBLIC) DTAAUT(*RWX) SUBTREE(*ALL)
- CHGNFSEXP OPTIONS('-I -O RW=') DIR('/ibmi/vios/backup')
- ENDNFSSVR *ALL (may not be needed, and check to see if any other
shares are being used)
- STRNFSSVR *ALL (only if the end was done, or if it's not started in
the first place)

VIOS:

- Sign on as PADMIN
- oem_setup_env (starts root authority)
- mkdir /home/padmin/backup
- exit (get out of root)
- mount "yourNFSaddress":/ibmi/vios/backup /home/padmin/backup
- Backup VIOS Configurations( where # is the vios number and 211130 is
today's date, 31310 is the VRM of VIOS)
- viosbr -backup -file
/hoe/padmin/backup/vios#_211130_31310_config_bkup
- backupios -nomedialib -file
/home/padmin/backup/vios#_211130_31310_mksysb -mksysb

There you have it. Simple. You can if you set up SSH between the VIOS and
IBM i write a simple script to run it from the job scheduler. Same with
the HMC, there are HMC commands to do the backups as well.
Move the backups off to any place you can get to them in the event of
complete disaster. I move my customers' backups to Agile equipment as a
secondary location.

If you need help in getting the VIOS upgraded from V2 to V3, give me a
shout and I'll send you some suggested techniques. Unless you're fairly
good at the VIOS command line I do suggest getting paid assistance to do
the upgrade. There are a couple of nasty landmines you can step on during
that process. Good news, is if you did the backup as suggested above, it's
easy to put back.

--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.