Skip to main content
Hi Folks, newbie here.

I have a UV account that I've backed up using uvbackup.  I want to restore that account under a different account name.  I'm not seeing any options on the uvrestore utility to do that.  I definitely don't want to overwrite the existing production account with what I backed up previously, just set up a duplicate (although outdated) test  account.  Does anyone have any pointers to restore, say, the ACCT as TEST_ACCT using the backup file I created as shown below?

Backed up using:   D:\\U2\\UV\\bin\\uvbackup.exe -f -v -nodrive -walk D:\\dbms\\DATA1\\ACCT > D:\\UVBACKUP\\UVBACKUP_ACCT.UBK


------------------------------
Mark Baker
Select* Associates Inc
Timonium MD US
------------------------------
Hi Folks, newbie here.

I have a UV account that I've backed up using uvbackup.  I want to restore that account under a different account name.  I'm not seeing any options on the uvrestore utility to do that.  I definitely don't want to overwrite the existing production account with what I backed up previously, just set up a duplicate (although outdated) test  account.  Does anyone have any pointers to restore, say, the ACCT as TEST_ACCT using the backup file I created as shown below?

Backed up using:   D:\\U2\\UV\\bin\\uvbackup.exe -f -v -nodrive -walk D:\\dbms\\DATA1\\ACCT > D:\\UVBACKUP\\UVBACKUP_ACCT.UBK


------------------------------
Mark Baker
Select* Associates Inc
Timonium MD US
------------------------------
hi mike,

uvbackup/uvrestore do not work with 'account' but with path.
to restore to another 'account' use -F and set a new path like this : 

1/ use uvrestore -i file.uvb 
note the 'path' of the account 
2/ use uvrestore -F /origpath/=/newpath/ file.uvb
sample : uvrestore -v -F /ibm/universe/myaccount/=/data/uvdb/mynewaccount/ /tmp/file.uvb

I hope this help

------------------------------
manu fernandes
------------------------------
Hi Folks, newbie here.

I have a UV account that I've backed up using uvbackup.  I want to restore that account under a different account name.  I'm not seeing any options on the uvrestore utility to do that.  I definitely don't want to overwrite the existing production account with what I backed up previously, just set up a duplicate (although outdated) test  account.  Does anyone have any pointers to restore, say, the ACCT as TEST_ACCT using the backup file I created as shown below?

Backed up using:   D:\\U2\\UV\\bin\\uvbackup.exe -f -v -nodrive -walk D:\\dbms\\DATA1\\ACCT > D:\\UVBACKUP\\UVBACKUP_ACCT.UBK


------------------------------
Mark Baker
Select* Associates Inc
Timonium MD US
------------------------------
Another option is to backup the account with a relative path as opposed to an absolute path. Then you could perform the restore in a different folder without overwriting the original account.

c:\\U2>cd c:\\u2\\accounts

c:\\U2\\accounts>uvbackup -f -v -walk TESTACCT > testacct.uvb

Backup Date : Thu Sep 29 14:05:32 2022
Reel Number : 1
Image Type : Full Backup (ver10 NT)
Block Size : 8192 bytes
NLS on : False
Label :

Current device(s): stdout
Backing up TESTACCT
Backing up TESTACCT/&SAVEDLISTS&
Backing up TESTACCT/&SAVEDLISTS&/&&S.ROCKET1%Bnmorris.2
Backing up TESTACCT/AE_COMS
.
.
.
c:\\U2\\accounts>cd ..\\test_accounts

c:\\U2\\test_accounts>uvrestore -v ..\\accounts\\testacct.uvb

Backup Date : Thu Sep 29 14:05:32 2022
Reel Number : 1
Image Type : Full Backup (ver10 NT)
Block Size : 8192 bytes
NLS on : False
FastWrite On : True
Label :

Current device(s): ..\\accounts\\testacct.uvb
Restoring TESTACCT (14:05:32)
Restoring TESTACCT/&SAVEDLISTS& (14:05:32)
Restoring TESTACCT/&SAVEDLISTS&/&&S.ROCKET1%Bnmorris.2 (14:05:32)

------------------------------
Neil Morris
Universe Advanced Technical Support
Rocket Software
------------------------------
Hi Folks, newbie here.

I have a UV account that I've backed up using uvbackup.  I want to restore that account under a different account name.  I'm not seeing any options on the uvrestore utility to do that.  I definitely don't want to overwrite the existing production account with what I backed up previously, just set up a duplicate (although outdated) test  account.  Does anyone have any pointers to restore, say, the ACCT as TEST_ACCT using the backup file I created as shown below?

Backed up using:   D:\\U2\\UV\\bin\\uvbackup.exe -f -v -nodrive -walk D:\\dbms\\DATA1\\ACCT > D:\\UVBACKUP\\UVBACKUP_ACCT.UBK


------------------------------
Mark Baker
Select* Associates Inc
Timonium MD US
------------------------------
Thank you Manu & Neil.  I did overlook the -F option, but opted to go with relative path that I can restore where I choose and copy it wherever need be then.  I appreciate your quick responses.  I was able to test everything and works great!

------------------------------
Mark Baker
Select* Associates Inc
Timonium MD US
------------------------------