× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ok, this is what I did in the end.

Scenario:

Did a complete restore from SYS A to SYS B
Started conversion to 7.5 on SYS B
Kept on working on SYS A

The question was how to synchronize A to B for the changes that happened in the mean time.

The solution I used was the following:

* Do a DSPOBJD of all objects in an outfile.
* Find all the objects that changed after date X
* Collected all the libraries that needed to be synced
* Used SAVRSTCHG for each library to sync the changes (with print output)
* Transferred the printed output of all jobs to a file
* Used some regex scanning for issues
* Fixed the issues that arose

* For the IFS I used SAVRST for the directories that we change. E.g. /home

In the end, it could all be handled by the object connect function and some elbow grease:

https://www.ibm.com/docs/en/i/7.4?topic=system-objectconnect-function

Cheers, Wim

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Gavin Inman
Sent: Wednesday, June 28, 2023 1:46 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: getting the changed objects to a cloud partition

WARNING: This is an external mail. Don't reply, open attachments, or click links if it looks suspicious.


Yes, that would work, however, the image catalog object is not compressed.

To save FTP time, after you save the objects to the Virtual Tape, save the virtual tape file to a standard *SAVF with compression Medium. We have found Medium is the best bang for the time spent compressing and we have seen as good as 70% compression rates.

Example - if you have a virtual catalog as created below:

|CRTIMGCLG IMGCLG(MYCATALOG) DIR('/MYCATALOGDIRECTORY') CRTDIR(*YES)
ADDVRTVOL(1) PREFIX(ABC) IMGSIZ(100000) TEXT(catalog-description) TYPE(*TAP)|


CRTSAVF QGPL/MYCATALOG TEXT('MY COMPRESSED SAVE')

SAV DEV('/QSYS.LIB/QGPL.LIB/MYCATALOG.FILE')
OBJ('/MYCATALOGDIRECTORY/ABC01') DTACPR(*MEDIUM)

(FTP QGPL/MYCATALOG to the new system)
(Un-compress)

RST ('QSYS.LIB/QGPL.LIB/MYCATALOG.FILE) OBJ('/MYCATALOGDIRECTORY/ABC01')

Gavin.

On 6/16/2023 1:35 PM, Wim Jongman via MIDRANGE-L wrote:

Hi,

Two weeks ago, we did a complete system save and restore on our new cloud partition. The thing is configure and now I want to get the changed objects there.

Since I have no tape device there, I was thinking of creating a virtual tape as described herehttps://www.ibm.com/docs/en/i/7.3?topic=media-virtual-tape

Then do a savchgobj *allusr to that tape, get the image catalog to the other machine, and restore the objects.

Is this the correct workflow?

Cheers, Wim


--
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.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2024 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.