Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there some way to exclude some content from export or print?

Scott Beeson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 16, 2022

We want to put some links in some of our confluence pages, but we don't want these to show up when exported to PDF or printed. Is this possible?

6 answers

1 accepted

0 votes
Answer accepted
Daniel Borcherding
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 13, 2012

Hello Gregory,

I would echo the sentiments of the other Atlassins.

I would add that you want to make sure that you don't try to jump directly from 2.10.2 all the way up to 4.2.x.

You need at very least to go though the 3.5.x to make sure your transition goes smoothly. My advice is to make sure that everything runs as expected in this version before upgrading again to 4.2.x.

As John mentioned, please do not hesitate to file a request for support on http://support.atlassian.com we are more than happy to help with any part of that process.

Gregory Joseph
August 13, 2012

Thanks for the input - see my comment above, I'll try to update the thread (with my mistakes and findings) once I'm done.

0 votes
Gregory Joseph
August 13, 2012

Thanks for the input everyone. I did a test run, indeed going via 3.5.17, and simply doing a mysqldump/restore. Now that I read the docs again, I have no idea why I thought this wouldn't work. I bumped into a few hurdles along the way, but I'll try to document them, here at the very least, once I do the upgrade of the production instance.

0 votes
AlysonA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 13, 2012

Hello Gregory,

Indeed exporting/importing an XML backup file "should" work fine, however as John stated, it is very memory-consuming (specially if you have a really large instance), in those cases we suggest using the production backup strategy as described in https://confluence.atlassian.com/display/DOC/Production+Backup+Strategy

Please let us know if that makes sense.

Gregory Joseph
August 13, 2012

Thanks for the input - see my comment above, I'll try to update the thread (with my mistakes and findings) once I'm done.

0 votes
Gregory Joseph
August 12, 2012

Hey Jamie, thanks. My understanding was that I'd need an xml-backup to do an upgrade. Must have misread something. See below...

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 12, 2012

I have never managed to do an XML backup, even with what I think is quite a small instance and Xmx 4Gb. An XML backup is not necessary though, a db backup plus home dir backup is sufficient to restore from if things go wrong.

0 votes
JohnA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 12, 2012

Hi Gregory,

The XML backup process for Confluence is VERY memory intensive because the backup is pronted to memory before being written to XML, so whilst there are certain things you can do to mitigate the impact, (such as not backing up the attachments), the only way to do this effectively is to go very aggressive with the memory allocation and let it run.

One option for you would be to dump the database, restore the instance on a new server and that way you could increase the memory allocation without impacting the other applications. Otherwise I would suggest that you increase the -Xmx to 4GB and let it run until it's completed. In terms of how much memory it will require, it's hard to say without knowing the size of your insatnce but 4GB and a couple of hours should be more than sufficient unless your instance is massive.

If that doesn't work then contact Support, including your logs, and we'll investigate the issue for you further.

All the best,
John

Gregory Joseph
August 12, 2012

Support tells me the same; I must have misread the documentation, where I thought doing an xml-backup, and restoring *that* when starting up a blank new instance was *the* way to do an upgrade.

*confused*

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events