chore: Replace production paths with generic examples

Sanitized all production-specific paths:
- /u01/dba/restore_tmp → /mnt/storage/restore_tmp
- /u01/dba/dumps/ → /mnt/backups/

Changed in:
- cmd/restore.go: Help text and flag description
- internal/restore/safety.go: Error message tip
- README.md: All documentation examples
- bin/*: Rebuilt all platform binaries

This ensures no production environment paths are exposed in public code/docs.
This commit is contained in:
2025-11-28 13:27:12 +00:00
parent 1568384284
commit cfa51c4b37
3 changed files with 6 additions and 6 deletions

View File

@@ -264,7 +264,7 @@ func (s *Safety) CheckDiskSpaceAt(archivePath string, checkDir string, multiplie
" Available: %s\\n"+
" Archive: %s\\n"+
" Check location: %s\\n\\n"+
"Tip: Use --workdir to specify extraction directory with more space (e.g., --workdir /u01/dba/restore_tmp)",
"Tip: Use --workdir to specify extraction directory with more space (e.g., --workdir /mnt/storage/restore_tmp)",
usagePercent,
FormatBytes(requiredSpace),
FormatBytes(availableSpace),