1834353 Members
1899 Online
110066 Solutions
New Discussion

backup problems

 
SOLVED
Go to solution
Abdul Ali_1
Occasional Advisor

backup problems

The full backup of my server is failing as it now needs a second tape loading, how do i make it ask me to load the tape?

backup is ran by cron, I can see it asking for the tape in the log.

# crontab -l
37 12 * * 5 (cd /var/adm/fbackupfiles;
./backup.script > backup.log.Fri 2>&1)

# more backup.script
fbackup -0uvf /dev/rmt/0m -g graphs/graph.full -I indexes/index.full.`date`


# tail /var/adm/fbackupfiles/backup.log.Fri
fbackup(3003): normal EOT
fbackup(3310): enter '^[yY]' when volume 2 is ready on /dev/rmt/0m,
or '^[nN]' to discontinue:
fbackup(3004): writer aborting
fbackup(1002): Backup did not complete : Reader or Writer process exit

4 REPLIES 4
Stefan Schulz
Honored Contributor
Solution

Re: backup problems

Think the problem is, that you start this job as a cronjob. There is no console where this message could be displayd.

Also you send all output (stdout and stderr)to the logfile.

Think you have to start the job with a consolewindow where it can display messages and request keybord input.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
James R. Ferguson
Acclaimed Contributor

Re: backup problems

Hi:

'fbackup' has a feature called the 'chgvol' script. It's optional, and you have to set things up yourself. Attached is a document from the Technical Knowledge Base (#KBRC00001392) which describes the procedure for SAM-based backups. It should be easy to adopt for your needs.

Regards!

...JRF...
George_Dodds
Honored Contributor

Re: backup problems

Here is another thread on this issue

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0fdcd211e18ad5118ff10090279cd0f9,00.html

James I cannot open the attached file as this would be handy to know, the normal site search wont find the doc.

George_Dodds
Honored Contributor

Re: backup problems

It's ok James, just me being daft :)