- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to resume an automated fbackup after EOT
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 12:10 AM
08-07-2001 12:10 AM
I use sam automated backup for a weekly full backup. Now it occurs that fbackup reaches EOT
see mail messages from last backup:
fbackup(1004): session begins on Sat Aug 4 02:10:01 2001
fbackup(3203): volume 1 has been used 0 time(s)
fbackup(3024): writing volume 1 to the output file /dev/rmt/0m
fbackup(3003): normal EOT
fbackup(3316): enter 'yes' when volume 2 is ready on /dev/rmt/0m,
or 'no' to discontinue:
fbackup(3004): writer aborting
fbackup(1002): Backup did not complete : Reader or Writer process exit
/var/sam/log/br_log reports:
Exit code = 2
Here my question:
How can I resume the backup process on monday morning after I changed the tape ?
I tried fbackup -R so far but did not succeed because I don't know how to obtain the required "restart file" for that option!
any ideas ?
thanks ahead
Klaus
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 02:40 AM
08-07-2001 02:40 AM
Re: how to resume an automated fbackup after EOT
Could it be that the Automated backup option in SAM does not allow user interaction where is would normally be necessary to repond to the 'yes' or 'no' prompt?
Hitting EOT in SAM Interactive Backup mode definitely prompts and waits for interaction. You could try starting your backup in interactive mode if possible and see if the same thing happens.
Regards
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 03:56 AM
08-07-2001 03:56 AM
Re: how to resume an automated fbackup after EOT
with standard config fbackup will exit in batch if the end of tape is reached.
You could modify the config so that the tape is ejected and a second tape is requested.
(see man fbackup - chgvol)
Or if you're lucky you could use a second tapedrive.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 02:19 AM
08-08-2001 02:19 AM
Re: how to resume an automated fbackup after EOT
I sure need more than one tape. Running fbackup manually allways promts me for the next tape. The problem is the unattended weekand backup.
Thank you Thierry for your hint to chgvol.
But what would be an appropreate command to write into /var/adm/fbackupfiles/chgvol ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 02:41 AM
08-08-2001 02:41 AM
Re: how to resume an automated fbackup after EOT
I've never done this myself, but I would suggest something like:
=================================
#!/bin/ksh
mt -t /dev/rmt/0m offl
REW=1
while [ $REW -ne 0 ] ; do
sleep 60
mt -t /dev/rmt/0m rew
REW=$?
done
exit 0
==============================
so that the 1st tape is ejected and the script will not exit until a 2nd tape is ready.
Rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 04:24 AM
08-08-2001 04:24 AM
Re: how to resume an automated fbackup after EOT
You may also want to issue a mail message at the start of the script to inform someone that the tape needs changing.
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 06:40 AM
08-08-2001 06:40 AM
Re: how to resume an automated fbackup after EOT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 06:50 AM
08-08-2001 06:50 AM
Re: how to resume an automated fbackup after EOT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 07:15 AM
08-08-2001 07:15 AM
Re: how to resume an automated fbackup after EOT
$ fbackup -R restart ...
which will restart an fbackup session from where it was previously interrupted.
You can find this from the man page of fbackup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2001 06:11 AM
08-13-2001 06:11 AM
Re: how to resume an automated fbackup after EOT
Your script is working! The tape was ejekted on monday morning. But the fbackup process was already trminated by error 2.
Hi Troy
I tried to find doc.id "KBRC0001392" within all knowledge trees but no doc was found !
Hi Jerry
Thanks for your idea. But see my first message on top. For option -R fbackup requires a "restart-file" ! Where do I get this file from, what should be in it ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2001 06:54 AM
08-13-2001 06:54 AM
Re: how to resume an automated fbackup after EOT
I uses
#fbackup -0vug /var/adm/fbckupfiles/graphs/dirs -f /dev/rmt/c0t1d0BEST
and it never dies on waiting.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2001 06:58 AM
08-13-2001 06:58 AM
Re: how to resume an automated fbackup after EOT
Try putting some debugging into your main backup script and the chkvol script to check it is looping correctly, and to see at what stage the fbackup fails.
Was the log still saying:
fbackup(3316): enter 'yes' when volume 2 is ready on /dev/rmt/0m,
or 'no' to discontinue:
fbackup(3004): writer aborting
fbackup(1002): Backup did not complete : Reader or Writer process exit
? Rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2001 07:05 AM