Cameronsplaze / Cameronsplaze/AWS-ContainerManager

[Feature] Create Download Script for Making Backups Locally

Open
#143 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Python
Stars
2
Forks
0
Avg merge
1d 2h
Merged PRs (30d)
5

Description

### Is your feature request related to a problem? Please describe.

Save backups of games locally too.

### Describe the solution you'd like

Steps probably needed:

- Spin up instance
- Zip Dir's on EC2 together, download as `YYYY-MM-DD--backup.zip` or something. Read from `leaf_config[Volumes][i][EnableBackups]` if you zip it in.
- Ping server every `leaf_config[Watchdog][MinutesWithoutConnections] - 1` to keep alive. (Or maybe just once a minute).
- Verify hashes, delete file on EC2.
- **Don't** turn off EC2, someone might have connected while on. Just let the automation tear it down, and exit.

### Describe alternatives you've considered

Use AWS-Backup. The problem is there's no way to [download from AWS Backup directly](https://stackoverflow.com/questions/63056350/how-can-i-copy-aws-backup-vault-files-to-a-local-server). You could [Restore a recovery point](https://boto3.amazonaws.com/v1/documentation/api/1.35.9/reference/services/backup.html) TO efs, but then why not just download what's already on the Efs/Ec2 mount that's already setup?

### Acknowledgements

- [x] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by tracing the existing EC2/EFS lifecycle and the leaf_config Watchdog and Volumes settings; compare the AWS Backup and recovery-point references. Done means a local dated backup is downloaded, its hash is verified, the remote file is removed, and the instance is not explicitly turned off.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.