From aeafd9461f17acb006d725bc1b4231e160a46545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20GUEZO?= Date: Wed, 4 Dec 2024 18:21:24 +0100 Subject: [PATCH] add cleanup/purge documentation --- aws-backup/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/aws-backup/README.md b/aws-backup/README.md index 1b0b694..4b1a1dc 100644 --- a/aws-backup/README.md +++ b/aws-backup/README.md @@ -76,6 +76,18 @@ You can automate the backup process by adding the script to crontab: ```bash 0 12 * * * /path/to/aws-bak.sh ``` +4. **Cleanup and Purge**: +If you need to remove all installed files or clean up AWS-related configurations, the script provides two options: +- Clean Up AWS: To remove AWS configurations and related artifacts (e.g., credentials, CLI configuration), use the following command: + + ```bash + ./aws-bak.sh clean aws + ``` +- Purge the Program: This option deletes all program-related files (e.g., script, logs, backup files), but it does not clean up AWS configurations: + + ```bash + ./aws-bak.sh clean + ``` ## How It Works