I’m trying to create a monthly snapshot of a Confluence page using automation.
Here’s what I’ve tried so far:
The goal:
{{now.format("yyyy-MM-dd")}} {{page.title}} Backup
I’m struggling to put this workflow together with the available automation options.
Has anyone implemented something similar or have suggestions on how to achieve this?
Thank you
Welcome to the community.
@Aron Gombas _Midori_ is valid.
But I think you could use the API for this.
First you would need to make a copy of the page via the API endpoint, api-wiki-rest-api-content-id-copy-post
Then based on the API call api-wiki-rest-api-content-archive-post archive the created page
What you described is called "baselining", basically taking periodical snapshots of your content and making the snapshots viewable, comparable, etc.
There are multiple third party apps that implement this for one or more content, and with extended feature set. You may want to check those, if the automation rule based approach is too limited for your use case.
See: https://marketplace.atlassian.com/search?query=baseline&product=confluence&hosting=cloud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian,
What is the outcome that you are trying to achieve?
Are you doing this to have a restore point? So you have a moment in time version? Or something else entirely?
Confluence has auto versioning, so if you need something from a specific moment in time you can always go back to a previous version and see the state of that document from a month earlier.
You can view version history from the top right
Once you are in version history you can see dates of versions, restore, delete or compare against another version.
If you need a monthly snapshot for some other reason start with why you need it and can make other suggestions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.