Table of Contents

Ubiquiti UniFi CloudKey Backup

QNAP

CloudKey

SYSTEM$ ssh ADMINUSER@IPORNAMEOFCLOUDKEY
CK# ssh-keygen
CK# ssh-copy-id NEWUSER@IPORNAMEOFQNAP
CK# ssh NEWUSER@IPORNAMEOFQNAP
QNAP$ pwd
QNAP$ exit
CK# apt update
CK# apt -y install rsync
CK# rsync -r --delete /data/autobackup/ NEWUSER@IPORNAMEOFQNAP:/share/homes/NEWUSER/autobackup/
CK# crontab -e

AWS S3 / HBS

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "s3:GetObjectAcl",
                "s3:GetObject",
                "s3:ListBucket",
                "s3:DeleteObject",
                "s3:GetBucketAcl",
                "s3:GetBucketLocation",
                "s3:PutObjectAcl"
            ],
            "Resource": [
                "arn:aws:s3:::S3BUCKETNAME",
                "arn:aws:s3:::S3BUCKETNAME/*"
            ]
        },
        {
            "Effect": "Allow",
            "Action": "s3:ListAllMyBuckets",
            "Resource": "*"
        }
    ]
}