meettoy2004/idm-backup — reverse-engineered prompt
Reverse engineered prompt
I want a simple Linux backup script for an IDM or IPA server that I can run by hand or from cron. The main job is to create backups regularly, save them in a predictable folder with clear names and timestamps, and automatically clean up older backups so I am not filling the disk forever.
Please make it easy to understand and tweak, since I am not a heavy shell user. I would like basic settings near the top for things like backup location and how many days or copies to keep. Add clear console output so I can tell what happened, and make it fail safely if something goes wrong. If there is already a system backup command for IPA, use that instead of reinventing anything.
A short README would help too, just enough to explain how to run it, what it deletes, and how to schedule it. If you need to, look up the current IPA backup command syntax online.
Want more depth? Deep Reverse