Copying files for backing up my plugin
Asked by zodiac7:

Hi,

We have a confluence plugin which we want to take a backup of.

The plugin (a confluence theme) has been developed in-house using the Atlassian SDK and Java and running on confluence version 5.5.2 on premise.

Can you please tell us:

1. What is the procedure for taking a backup of this plugin
2. which directory(s) the plugin is copied
3. What files we need to copy to be able to "revert" back to this version of the plugin
4. What is the procedure for going back to this version of the plugin

Thanks,

Deepak.

```
Contents of /var/atlassian/application-data/confluence/confluence.cfg.xml&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;confluence-configuration&gt;  &lt;setupStep&gt;complete&lt;/setupStep&gt;  &lt;setupType&gt;custom&lt;/setupType&gt;  &lt;buildNumber&gt;5510&lt;/buildNumber&gt;  &lt;properties&gt;    &lt;property name="admin.ui.allow.daily.backup.custom.location"&gt;false&lt;/property&gt;    &lt;property name="admin.ui.allow.manual.backup.download"&gt;false&lt;/property&gt;    &lt;property name="admin.ui.allow.site.support.email"&gt;false&lt;/property&gt;    &lt;property name="attachments.dir"&gt;${confluenceHome}/attachments&lt;/property&gt;    &lt;property name="confluence.license.hash"&gt;removed&lt;/property&gt;    &lt;property name="confluence.license.message"&gt;removed&lt;/property&gt;    &lt;property name="confluence.setup.server.id"&gt;removed&lt;/property&gt;    &lt;property name="confluence.webapp.context.path"&gt;&lt;/property&gt;    &lt;property name="hibernate.c3p0.acquire_increment"&gt;1&lt;/property&gt;    &lt;property name="hibernate.c3p0.idle_test_period"&gt;100&lt;/property&gt;    &lt;property name="hibernate.c3p0.max_size"&gt;30&lt;/property&gt;    &lt;property name="hibernate.c3p0.max_statements"&gt;0&lt;/property&gt;    &lt;property name="hibernate.c3p0.min_size"&gt;0&lt;/property&gt;    &lt;property name="hibernate.c3p0.timeout"&gt;30&lt;/property&gt;    &lt;property name="hibernate.connection.driver_class"&gt;com.mysql.jdbc.Driver&lt;/property&gt;    &lt;property name="hibernate.connection.isolation"&gt;2&lt;/property&gt;    &lt;property name="hibernate.connection.password"&gt;removed&lt;/property&gt;    &lt;property name="hibernate.connection.url"&gt;jdbc:mysql://localhost/wiki?useUnicode=true&amp;amp;characterEncoding=UTF8&amp;amp;sessionVariables=storage_engine%3DInnoDB&lt;/property&gt;    &lt;property name="hibernate.connection.username"&gt;removed&lt;/property&gt;    &lt;property name="hibernate.database.lower_non_ascii_supported"&gt;true&lt;/property&gt;    &lt;property name="hibernate.dialect"&gt;com.atlassian.hibernate.dialect.MySQLDialect&lt;/property&gt;    &lt;property name="hibernate.setup"&gt;true&lt;/property&gt;    &lt;property name="lucene.index.dir"&gt;${localHome}/index&lt;/property&gt;    &lt;property name="webwork.multipart.saveDir"&gt;${localHome}/temp&lt;/property&gt;  &lt;/properties&gt;&lt;/confluence-configuration&gt;
```


Answers:
author: Vasiliy Zverev
body: Perhaps this can help you: <https://confluence.atlassian.com/display/UPM/Downgrading+an+Add-on+to+an+Earlier+Version>


Tags: confluence-administration

confluence-app