Created
June 25, 2021 10:51
-
-
Save cam8001/1141620b6ccc075b010acc8ff16b898f to your computer and use it in GitHub Desktop.
SSM Run Command Document for syncing a folder to s3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unifi autobackup location:
/var/lib/unifi/backup/autobackup/