IBM i Global

 View Only

 Source Code Backup, Recovery, and Git Integration

Sireesh Kumar Yalla's profile image
Sireesh Kumar Yalla posted Fri October 31, 2025 03:20 AM
Hello IBM i Community,
I have a few important questions regarding source code management and disaster recovery on the AS400 (IBM i) system. I’d appreciate your insights and best practices.
1. Source Code Safety on AS400
All my source code currently resides on an AS400 machine. I’m concerned about the following scenario:
If the AS400 system crashes, becomes inaccessible, or suffers data loss, will I lose all my source code?
  • Is the source code stored in libraries or files that are recoverable?
  • What are the standard backup and recovery procedures for source code on AS400?
  • How long can source code be safely stored on AS400 without risk of corruption or loss?

2. Git Integration Outside AS400
To mitigate risks, I want to integrate my AS400 source code with Git, hosted outside the AS400 environment (e.g., GitHub or GitLab). My goal is to:
  • Maintain version control.
  • Enable collaboration.
  • Ensure code safety even if AS400 fails.
Is this possible? If yes, what is the recommended process to integrate AS400 source code with Git?
Could someone guide me through:
  • Setting up Git on IBM i or integrating with external Git repositories?
  • Best practices for syncing source code from QSYS or IFS to Git?
  • Any tools or scripts that simplify this process?

I’m looking forward to your expert advice and real-world experiences. Thank you!