Operating System - HP-UX
1821643 Members
3241 Online
109633 Solutions
New Discussion юеВ

fbackup: Masters on DLT, incrementals on DDS3

 
SOLVED
Go to solution
Ian M
Advisor

fbackup: Masters on DLT, incrementals on DDS3

It seems like a it would be a simple change in the SAM built cron job that calls fbackup to make Masters on the DLT8000 (rmt/3m), and increms on the DDS3 (rmt/2m) we have installed.

The cron job looks like this (I only activate the FULL backup on the day I run it):

# 30 01 * * 3 /usr/sam/lbin/br_backup DLT FULL Y /dev/rmt/3m /etc/sam/br/graph030512 root Y 1 N > /var/sam/SAM_br_msgs 2>&1

30 01 * * 1-5 /usr/sam/lbin/br_backup DLT PART Y /dev/rmt/3m /etc/sam/br/graph030512 root Y 1 N > /var/sam/SAM_br_msgs 2>&1

For the incremental backup, can I simply change the device type DLT to DAT and device file /dev/rmt/3m to /dev/rmt/2m?

Is it really that simple? I can't seem to confirm this in the man pages or other forum messages.
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: fbackup: Masters on DLT, incrementals on DDS3

I believe all you need to change is the /dev/rmt/3m device.

It would be a good idea to actually test this though.

Just cut and paste of of cron into a command line and see what happens.

ioscan shows both devices, no conflicts right?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
S.K. Chan
Honored Contributor
Solution

Re: fbackup: Masters on DLT, incrementals on DDS3

The only way to find out is to test it (like Steven said). In the past I have been using fbackup command to do like what you did.
=>Full (level 0)
# fbackup -f /dev/rmt/0m 0 -u -g
=>Incremental (level 5)
# fbackup -f /dev/rmt/1m 5 -u -g
The "-u" updates /usr/adm/fbackupfiles/dates so that all of the sessions are tracked. I favor this over using sam's script.
Sunil Sharma_1
Honored Contributor

Re: fbackup: Masters on DLT, incrementals on DDS3

yes you only required to change device file nothing else.
*** Dream as if you'll live forever. Live as if you'll die today ***
Radhakrishnan Venkatara
Trusted Contributor

Re: fbackup: Masters on DLT, incrementals on DDS3

i just run

# crontab -l > /tmp/cron
edit the file and changed only deivce file it will work without any problems.
I my self done it many times.

then again run

crontab /tmp/cron



radhakrishnan
Negative thinking is a highest form of Intelligence
Darren Prior
Honored Contributor

Re: fbackup: Masters on DLT, incrementals on DDS3

Hi,

I'd say that it shouldn't be a problem to change the device type, and the device file. fbackup stores info on the backup levels based on the graph file, NOT the device file.

The reason that you can't confirm this in the man page is that br_backup doesn't have a man page - it is only supported for use through SAM (and is documented at the top of the script.) If you wanted to get more out of fbackup it's generally better to write your own script around fbackup instead of using br_backup.

regards,

Darren
Calm down. It's only ones and zeros...
Ian M
Advisor

Re: fbackup: Masters on DLT, incrementals on DDS3

Thank you for the responses.

Hmm. I've tried to assign points to the replies, and even been flashed the "Thanks for assigning points" message, but the points do not show up when I review the question.

Do assigned points not show up for the orignal poster of a question? Or are they not being assigned properly?
Darren Prior
Honored Contributor

Re: fbackup: Masters on DLT, incrementals on DDS3

Hi Ian,

No, there aren't any points on this question, and yes the author should be able to see them!

I believe there may be issues related to the type of browser you're using, or maybe the forums were having a problem when you tried. Please add a post to the following thread which is monitored by the people who look after the forum( hopefully the link will be in one piece): http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8b075ec05a7ad711abdc0090277a778c,00.html

regards,

Darren.
Calm down. It's only ones and zeros...