Solved

Backup of AS400 w/o tape drive

Posted on 2004-08-27
3
715 Views
Last Modified: 2009-12-03
Hello,

I have a problem.  We have an As400 that needs to be backed up.  In the past we have only done this through the use of a tape drive.  However, the tape drive we have has failed and it turns out it was not under contract for repair.  Is there temporary solution to back up the AS400 without a tape drive (preferably FTP)?  I have tried to FTP for backup but I can only get the actual "data" to move over.  Maybe there is a way to make the backup destination(Windows 2000 Server) recognize the AS400 file structure?

Thanks!

Sorry if I am unclear im not the DB admin, just a programmer who is afraid of working without a net!
0
Comment
Question by:Navicerts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
Dave Ford earned 500 total points
ID: 11917361
Here's what I would do. First, identify which libraries you'd like to back up. Then, create an empty save-file. Then, save the librarys to that save-file. Lastly, FTP the save-file to your PC desktop and burn it to CD.

e.g.
Let's assume I want to back up a library called CGIDemo

First, create the empty save-file:
CRTSAVF FILE(MYLIB/DELETEME)

Then, save the library to that save-file:
SAVLIB LIB(CGIDEMO) DEV(*SAVF) SAVF(MYLIB/DELETEME) SAVACT(*SYSDFN)

Lastly, FTP the save-file to your PC desktop:
C:\>ftp myAS400
Connected to myAS400.mydomain.com.
220-QTCP at MYAS400.ETHERLAN.
220 Connection will close if idle more than 5 minutes.
User (myas400.mydomain.com:(none)): myUserName
331 Enter password.
Password:
230 MYUSERNAME logged on.
ftp> bin
200 Representation type is binary IMAGE.
ftp> get mylib/deleteme c:\deleteme.savf
200 PORT subcommand request successful.
150 Retrieving member DELETEME in file DELETEME in library MYLIB.
250 File transfer completed successfully.
ftp: 515328 bytes received in 0.50Seconds 1030.66Kbytes/sec.
ftp> bye
221 QUIT subcommand received.

Burn c:\deleteme.savf to a CD, and (voila!) it's backed up.

Good luck!
Dave
0
 
LVL 7

Author Comment

by:Navicerts
ID: 11930091
Dave,
0
 
LVL 7

Author Comment

by:Navicerts
ID: 11930111
Dave,

Thank You,

Unfortunatly, i won't be able to test this as soon as I wanted to last week.  The good news...  Turns out i just needed to replace the fan in the tape drive now i have a working tape drive again.  But it seems very logical, why didn't I think of that!  I'll give it a shot later (I'm sure it will work fine).

Thanks Again!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question