Assets Backup & Restore
Advanced edition
Backup & Restore exports your selected JSM Assets schemas to your own Atlassian instance storage or optionally to Amazon S3 bucket on a schedule, and restores object types back into Assets from any of those snapshots — into the existing schema or into a fresh sandbox schema.
Your data is written straight to your bucket. OnLink keeps only small progress/history records; it never stores your asset data itself.
Edition: This feature is available on the Advanced edition of OnLink. On the Standard edition the page shows an upgrade notice.
1. Create a backup job
Go to OnLink → Backup & Restore → New backup job.
Setting | What it does |
|---|---|
Schema tree | The schemas and object types to export. Checking a type also checks its children. Each checked type becomes its own file containing only objects of exactly that type. |
Export schema definitions | Writes one JSON per schema (object types + attributes). Required if you want to restore into a new schema. |
AWS S3 connection | The credentials/region to use. |
S3 bucket | Accepts |
Prefix | Optional key prefix, e.g. |
Frequency | Daily at HH:00 UTC, every 12 hours, or weekly on a chosen day at HH:00 UTC. Schedules are checked hourly. |
Test connection writes an empty
.onlink-backup-testobject under the prefix and lists the folder, reporting write and list access separately.Run now starts a backup immediately. (A run is skipped if the previous one is still in progress.)
You can create several jobs side by side, each with its own bucket, prefix, selection, and schedule.
2. Restore
Go to Backup & Restore → Restore from backup. A single restore can cover one, several, or all object types in a snapshot, across schemas.
Step 1 — Choose backup. Pick a backup job to prefill the bucket (or enter connection/bucket/prefix manually), load the snapshots, choose one, then tick the object types. A schema checkbox ticks all its types; Select all takes the whole snapshot. Types whose backup failed can't be ticked.
Step 2 — Options (applied to every ticked type):
Option | Behaviour |
|---|---|
Into the existing schema | Objects are matched against the live object types; attribute names must match the backup. |
Into a new schema (sandbox) | Creates a schema from the backed-up definition (ticked types + their parent types, which Assets requires) and restores into it. Nothing live is touched. One new schema per backed-up schema, named |
Create missing only | Never modifies an existing object. |
Create + overwrite existing | Updates existing objects to backed-up values. A safety export of every ticked type is written to |
Match by | Object key, a unique attribute, or the label. A type lacking the chosen attribute is flagged in the preview (all its rows would be created). |
Step 3 — Preview (dry run). One row per object type showing what will be created, updated, skipped, and how many references can't be resolved. The dry run has a ~6 MB budget for the whole selection; types beyond it show ? and report real counts in history once the restore runs.
How references restore: Object types restore one after another in manifest order. References resolve in two passes — links to objects that already exist are set immediately; the rest are linked once every object of every ticked type exists (so a Division → Department reference resolves even when both are restored together). References to objects outside the restore are counted as unresolved in history and Job Logs — never dropped silently.
3. Using your AWS S3 (Optional)
You need three things:
a) An AWS S3 connection
On the Connections page, add an AWS S3 connection (or an Anysource connection using AWS Signature V4 auth). It stores the IAM access key, secret, and region used to reach your bucket.
b) IAM permissions on the bucket
Grant the IAM user the minimum permissions for what you need:
Feature | Required S3 permissions |
|---|---|
Backup only |
|
Backup + Restore |
|
Restore needs s3:GetObject/s3:ListBucket to read snapshots, and s3:PutObject to write a safety export before any overwrite.
Example IAM policy (backup + restore) — replace YOUR_BUCKET and YOUR_PREFIX:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": ["s3:PutObject", "s3:GetObject"],
"Resource": "arn:aws:s3:::YOUR_BUCKET/YOUR_PREFIX/*"
},
{
"Effect": "Allow",
"Action": ["s3:ListBucket"],
"Resource": "arn:aws:s3:::YOUR_BUCKET",
"Condition": { "StringLike": { "s3:prefix": ["YOUR_PREFIX/*"] } }
}
]
}
The connection Test reports
Successwith a warning if the key can only upload — backups will work but restore will not.
c) A retention rule
OnLink never deletes anything from your bucket. Set an S3 lifecycle rule if you want old snapshots expired automatically.
4. Monitoring & troubleshooting
Run history on each job shows files, object counts, status, and any failed object types. History records who started each run (by display name) and opens a details panel with every setting and per-type outcome.
Job Logs — every run, failure, and restore is logged there (import ID
1002).If a run can't finish one object type, it retries three times, then marks the run partial; other object types are unaffected.
5. FAQ / limits
Does OnLink store my asset data? No — data goes straight to your bucket. Only small progress/history records live in OnLink.
Does it delete old backups? No. Use an S3 lifecycle rule.
What isn't backed up? Attachments, inbound references, and status history.
Can I restore a backup taken on a different site? Yes — restore reads the manifest, which is portable.
Is the snapshot point-in-time consistent? Approximately — see Consistency.
Standard edition? The page shows an upgrade notice; Backup & Restore requires the Advanced edition.