Cameronsplaze/AWS-ContainerManager

[Feature] Create Download Script for Making Backups Locally

开放

#143 创建于 2025年9月21日

 (0 条评论) (0 个反应) (0 位负责人)Python (0 个派生)auto 404
enhancementgood first issue

仓库指标

星标
 (2 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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-<ContainerId>-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. You could Restore a recovery point TO efs, but then why not just download what's already on the Efs/Ec2 mount that's already setup?

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

贡献者指南