Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SSM Run Command Document for syncing a folder to s3
---
schemaVersion: '2.2'
description: State Manager Bootstrap Example
parameters: {}
mainSteps:
- action: aws:runShellScript
name: backupUnifi
inputs:
runCommand:
- aws s3 --region ap-southeast-2 sync <your-folder> s3://<your-bucket>
@cam8001
Copy link
Author

cam8001 commented Jun 25, 2021

Unifi autobackup location: /var/lib/unifi/backup/autobackup/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment