Operating System - OpenVMS
1752277 Members
4489 Online
108786 Solutions
New Discussion юеВ

Re: Backup .com to look at more than one disk

 
grwere
New Member

Backup .com to look at more than one disk

At the momment backup .COM only looks at dsk01. We would like it to look at both disk areas. BUT - we also donтАЩt know if any other db jobs look at all of the snp, rda files too. Getting the TDMDBF com file look at dsk01 AND dsk02 for it's rda & snp files is probably quickest.

Thamks in advance.
29 REPLIES 29
Shriniketan Bhagwat
Trusted Contributor

Re: Backup .com to look at more than one disk

Hi,

>>Backup .com to look at more than one disk
Do you mean to take BACKUP of files from multiple disks from the singe BACKUP command?

In this case you can do that by using /INPUT_FILES qualifier. Here you need to specify the files name (which you want to BACKUP) from multiple disks in a file and that file needs to be specified as the input specifier in the BACKUP command.

Regards,
Ketan
Steven Schweda
Honored Contributor

Re: Backup .com to look at more than one disk

> At the momment backup .COM only looks at
> dsk01. We would like it to look at both
> disk areas.

My psychic powers are too weak to tell me
what this system is, or what "dsk01" and
"dsk02" are, or what's in your "backup .COM".

> BUT - we also don't know [..]

And you think that someone here _does_ know?

> [...] the TDMDBF com file [...]

Yet another mystery.
Shriniketan Bhagwat
Trusted Contributor

Re: Backup .com to look at more than one disk

Hi,

Yes, as Steven said, you query is not so clear. Please describe.
Below is the small example how you can backup the files from multiple disks.

$ dir VISHAK$DKA100:[000000]TEST.COM;1

Directory VISHAK$DKA100:[000000]

TEST.COM;1

Total of 1 file.
$ dir VISHAK$DKB200:[000000]WAIT.COM;1

Directory VISHAK$DKB200:[000000]

WAIT.COM;1

Total of 1 file.
$
$ type backup.com
VISHAK$DKA100:[000000]TEST.COM;1
VISHAK$DKB200:[000000]WAIT.COM;1
$
$
$backup/log backup.com/input_files temp.bck/save
%BACKUP-S-COPIED, copied VISHAK$DKA100:[000000]TEST.COM;1
%BACKUP-S-COPIED, copied VISHAK$DKB200:[000000]WAIT.COM;1
$
$
$backup/list temp.bck/save
Listing of save set(s)

Save set: TEMP.BCK
Written by: KETAN
UIC: [000200,000006]
Date: 29-JUN-2010 20:14:41.12
Command: BACKUP/LOG BACKUP.COM/INPUT_FILES TEMP.BCK/SAVE
Operating system: hp OpenVMS I64 version V8.3
BACKUP version: V8.3
CPU ID register: 80000000
Node name: _VISHAK::
Written on: _VISHAK$DKA100:
Block size: 32256
Group size: 10
Buffer count: 403

[000000]TEST.COM;1 1 22-APR-2008 11:57
[000000]WAIT.COM;1 1 19-JUN-2010 03:36

Total of 2 files, 2 blocks
End of save set

$
$

Regards,
Ketan
Shriniketan Bhagwat
Trusted Contributor

Re: Backup .com to look at more than one disk

Hi,

Welcome to ITRC. Please provide more explanation when asking the questions, So that you can get better answers. :-)


Regards,
Ketan
grwere
New Member

Re: Backup .com to look at more than one disk

Thanks for the advise, I will get more info as it becomes available. But will give the suggestions already listed a try for now.

Thanks again
Joseph Huber_1
Honored Contributor

Re: Backup .com to look at more than one disk

If You try it and detect the used VMS/backup version is too old (before 7.3-2 or 8.3 whenever the /INPUT qualifier was introduced),
depending on the length of the list, logical names and logical name lists can be used to achieve the desired result.

Example:
define todo disk1:[dir1...],disk2:[dir2...]
backup todo output.bck/save

But be aware if there are the same directory names on different disks: on restore they can't be directed to different disks, they will be mixed into the same disk;[dir...]: which may be wanted or not.
http://www.mpp.mpg.de/~huber
P Muralidhar Kini
Honored Contributor

Re: Backup .com to look at more than one disk

Hi,

Welcome to the ITRC Forum.

For more information on OpenVMS Backup, refer
http://h30266.www3.hp.com/odl/vax/opsys/vmsos73/vmsos73/6017/6017pro_044.html
- Formulating a BACKUP strategy
- Setting process quotas for efficient backups
- Using disks and tapes
- Listing the contents of a BACKUP save set
- Backing up user disks and volume shadow sets
- Restoring user disks and volume shadow sets
- Backing up and restoring the system disk
- Ensuring data integrity Section
- Troubleshooting Section

This talks about how you go about using the OpenVMS BACKUP.

Hope this helps.

Also, as you are new to the forum,
Refer the following link which says how you can thank the forum -
http://forums13.itrc.hp.com/service/forums/helptips.do?#28

Regards,
Murali
Let There Be Rock - AC/DC
P Muralidhar Kini
Honored Contributor

Re: Backup .com to look at more than one disk

Hi,

Some more documents -

* HP OpenVMS System ManagementUtilities Reference Manual: A├в L
http://h71000.www7.hp.com/doc/83final/6048/ovms_83_sysman_util1.pdf
-> Section - "7 Backup Utility"

* The OpenVMS Frequently Asked Questions (FAQ)
http://h71000.www7.hp.com/faq/vmsfaq_011.html

Regards,
Murali
Let There Be Rock - AC/DC
Shriniketan Bhagwat
Trusted Contributor

Re: Backup .com to look at more than one disk

Hi,

Files with .RDA and .SNP types are basically RDB files. You can use RMU to backup such files. Refer the below link on RMU reference manual.

http://www.openvms.ru/rdb$doc/oraclerdb/rmurm7/rmu_ref_pro_rmucommands.html


Regards,
Ketan