Automated Backup

The following pertains to Yarkon Server only. Yarkon Cloud is constantly backed up by Yarkon to ensure all your data are always safe.

Use the database Scheduled Backups feature to automate backups of the database file to an S3 folder of your choice:

  • To ensure the security of the backups, Yarkon requires a dedicated IAM role to be created for this purpose.
  • Use any of the predefined schedules, or create your own using a standard cron expression.

An example role policy, in this case allowing Yarkon to backup to the S3 bucket yarkon-qa-backup:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "AllowRoleToUpdateDocumentsInBackupBucket",
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "s3:PutObjectAcl",
                "s3:ListMultipartUploadParts",
                "s3:AbortMultipartUpload"
            ],
            "Resource": [
                "arn:aws:s3:::yarkon-qa-backup/*"
            ]
        }
    ]
}
Database Scheduled Backups