Operating System - OpenVMS
1828692 Members
2356 Online
109984 Solutions
New Discussion

Re: Incremental backup script

 
SOLVED
Go to solution
geir_2
Super Advisor

Incremental backup script

Hi,

I need some advise. I have made a DCL-script, that will be restarted every morning at
5 o'clock (from a batch-job).

On monday the script will take full image backup of disk1, disk2 and disk3. The save-set name will include the date. The script will also control the tape label.

On tuesday and the next days, until sunday, the script should take incremental backup of the same disks. But this time it should only include new and modified files. The name of the savesets will contain the actual date. eg. Sys-07-nov.bck. I also want to backup the file to the same tape, as previous.

First part of the script seems to be ok (full image backup). The next day I want to backup new and modified files, and put it into a new saveset. The saveset should normaly contain few files. So the problems is:

I want to backup only new and modified files, in the same script and copy the file to a new saveset on the tape if possible.

The tape will looks simular to:

Image backup
Sys-7-nov-2005.bck
Use-7-nov-2005.bck
Dat-7-nov-2005.bck

Incremental Backup
Sys-8-nov-2005.bck
Use-8-nov-2005.bck
Dat-8-nov-2005.bck

Is it possible to do it???

Geir
7 REPLIES 7
Mike Reznak
Trusted Contributor

Re: Incremental backup script

Hi,

we discussed it in your thread few weeks ago.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=962034

It didn't help?

Mike
...and I think to myself, what a wonderful world ;o)
Jan van den Ende
Honored Contributor

Re: Incremental backup script

Geir,

could you describe in what way the second part is not satisfactory?

- the saveset specs
- the file selection-
- selecting the correct days
- building the savesetname
- ????
- anything else?

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
geir_2
Super Advisor

Re: Incremental backup script

Hi,

Yes, we did. But the question is.

Is it necessary to drop the image qualifier, if I want to take incremntal backp, since the qualifier process the entire volume??

Thanks
Joseph Huber_1
Honored Contributor
Solution

Re: Incremental backup script

Yes of course, /IMAGE is for the full backup,
and it always processes the whole disk, regardles of file selection qualifiers.
http://www.mpp.mpg.de/~huber
geir_2
Super Advisor

Re: Incremental backup script

Thanks

Mike Reznak
Trusted Contributor

Re: Incremental backup script

Yes, don't use it for incremental backup.

$ help backup /image also says...

In save and copy operations, you cannot use input file-selection
qualifiers with the /IMAGE command qualifier because BACKUP saves
or copies all files on the input disk volumes.

Mike
...and I think to myself, what a wonderful world ;o)
Joseph Huber_1
Honored Contributor

Re: Incremental backup script

Just a caveat:
> you cannot use input file-selection
> ... with /IMAGE

Unfortunately the DCL command syntax does not disallow file-selection qualifiers like /SINCE together with /IMAGE; it just silently ignores it !
I had the impression, Geir thought something like
Backup/image disk:/since=backup ...
for the incremental backup. It silently would work, but the result would be a full disk backup.
http://www.mpp.mpg.de/~huber