Restoring distributed files in UV

52 views
Skip to first unread message

Brian Speirs

unread,
Feb 14, 2017, 2:20:44 AM2/14/17
to Pick and MultiValue Databases
We have a number of single user UV installations. I usually populate these with the data from the latest backup from the main UV server. That backup uses uvbackup to generate the image, and we load the single user system using uvrestore.

I noted today that the data in &PARTFILES& is not transferred to the new system, leaving the distributed files in a "half-defined" state. We can still use the distributed files OK, but if say I want to use REBUILD.DF , then that tells me it can't find the required information in &PARTFILES&.

Does anyone else have experience in restoring distributed files to a new system? How do you go about restoring (and maybe updating) the &PARTFILES& entries.

Given that the path names between the main server and the new installation were identical, I just used the AccuTerm file transfer to copy the entries across - but is there a better way?

Cheers,

Brian Speirs

Wols Lists

unread,
Feb 14, 2017, 4:45:24 AM2/14/17
to mvd...@googlegroups.com
On 14/02/17 07:20, Brian Speirs wrote:
> We have a number of single user UV installations. I usually populate
> these with the data from the latest backup from the main UV server. That
> backup uses uvbackup to generate the image, and we load the single user
> system using uvrestore.
>
> I noted today that the data in &PARTFILES& is not transferred to the new
> system, leaving the distributed files in a "half-defined" state. We can
> still use the distributed files OK, but if say I want to use REBUILD.DF
> , then that tells me it can't find the required information in &PARTFILES&.
>
> Does anyone else have experience in restoring distributed files to a new
> system? How do you go about restoring (and maybe updating) the
> &PARTFILES& entries.

Look up the syntax of DEFINE.DF.

I *think* you can recreate everything by using DEFINE.DF with just the
new distributed name and all the partfiles - it will recover everything
else it needs from the partfiles.

I've never played much with this so I'm not sure, but that's how I
remember it ...

Cheers,
Wol

Brian Speirs

unread,
Feb 14, 2017, 2:40:36 PM2/14/17
to Pick and MultiValue Databases
Well, DEFINE.DF lets you add and remove part files, change part numbers and partitioning algorithms. *Maybe* if I re-add the part(s), then it will just re-create the &PARTFILES& entry.

REBUILD.DF looks the most promising from the documentation, but as I noted earlier, it doesn't do anything if the &PARTFILES& entries are not present.

I shall play around a bit more the next time that I need to build another installation.

Thanks,

Brian
Reply all
Reply to author
Forward
0 new messages