1752717 Members
5741 Online
108789 Solutions
New Discussion юеВ

Backup files to tape

 
Henry_86
Occasional Contributor

Backup files to tape

Hello,

I need to backup the files in the directory SMSC_DATA12:[SMSC_FILES.TRAFFIC_LOG.ARCHIVE_2005] to tape $1$MKA200:
How can I do this?
How can I list the files to tape to be sure that they are backup.

Thank you
9 REPLIES 9
Ian Miller.
Honored Contributor

Re: Backup files to tape

$ BACKUP/VERIFY - SMSC_DATA12:[SMSC_FILES.TRAFFIC_LOG.ARCHIVE_2005] *.*-
$1$MKA200:SMSC2005.BCK/SAVE/REW/INIT/LABEL=SMSC2005-
/MEDIA=COMPACT/BLOCK=65000

This will backup the files and then read the tape and compare the files to make sure they are on there. It will initialize the tape overwriting what is there already. The qualifiers /MEDIA=COMPACT/BLOCK=65000 are optional but speedup the backup (usually).

See VMS manuals for more information. If you are unfamilar with VMS backup you may wish to use the BACKUP Manager GUI interface (requires DECwindows).

http://h71000.www7.hp.com/doc/82FINAL/6048/6048pro_018.html#bku_u
http://h71000.www7.hp.com/doc/82FINAL/aa-pv5mj-tk/00/01/110-con.html

____________________
Purely Personal Opinion
Antoniov.
Honored Contributor

Re: Backup files to tape

Ian posted same information I would give you but he's quicker than me.
I can just add "Welcome to VMS forum".

Henry,
just for notification, may you assign some points to Ian?
This is the right way to thank him.

Antonio Vigliotti
Antonio Maria Vigliotti
Volker Halle
Honored Contributor

Re: Backup files to tape

Ian,

2 slight corrections:

- you don't need to specify /INIT when writing to tape. /REWIND implicitly performs an /INIT

- the BACKUP manager GUI does NOT need DECwindows. Try RUN SYS$SYSTEM:BACKUP$MANAGER on any terminal.

Volker.
Henry_86
Occasional Contributor

Re: Backup files to tape

I tried to give your command but the result is :

BEP1->BACKUP/VERIFY -
_BEP1->SMSC_DATA12:[SMSC_FILES.TRAFFIC_LOG.ARCHIVE_2005]*.* -
_BEP1->$1$MKA200:SMSC2005.BCK/SAVE/REW/INIT/LABEL=SMSC2005-
_BEP1->/MEDIA=COMPACT/BLOCK=65000
%BACKUP-W-MOUNTERR, volume 1 on _$1$MKA200 was not mounted because
its label does not match the one requested
%BACKUP-I-OPERASSIST, operator assistance has been requested


dont' worry about points you all are will have when I solve this.

:-)
William Webb_2
Frequent Advisor

Re: Backup files to tape

add an /IGNORE=(LABEL) to the command.
Robert Gezelter
Honored Contributor

Re: Backup files to tape

Henry,

Are you a privileged user on your system?

The requirements to erase a volume label are different depending on whether you are privileged or non-privileged.

- Bob Gezelter, http://www.rlgsc.com
Henry_86
Occasional Contributor

Re: Backup files to tape

Yes I have all priviledges
Antoniov.
Honored Contributor

Re: Backup files to tape

Henry,
label of your tape must be equal to declare in BACKUP/LABEL=
Antonio Maria Vigliotti
Henry_86
Occasional Contributor

Re: Backup files to tape

closed