Backup: Confluence daily 2:00 in / data / atlassian / application-data / confluence / backups / next generation backup package, including documents, attachments, users
restore: smaller packets for directly upload Web interface, for packages of larger than 25M, to be uploaded to the server where the confluence cd / data / atlassian / application- data / confluence / restore, and then restore
Backup package introduced in two ways: UI interface to import / command line introduced
here mainly describe the operation of the command line introduced.
Server command-line plug-in installation
Upload and install the plug-in,> = 9.0 version
download: https://marketplace.atlassian.com/apps/10886/atlassian-command-line-interface-cli?hosting=cloud&tab=overview , GET IT now
obtain a license in the official website ( there 30d free version) and update
Client Installation
Official website to download the client> = 9.0 version
Download: https://bobswift.atlassian.net/wiki/spaces/ACLI/pages/16875586/Downloads
cd / usr / local
the unzip atlassian-cli-9.0.0-distribution.zip
cd Atlassian 9.0.0-the -cli
mv acli-server.properties acli.properties
cat acli.properties
# Example Server configuration - customize and rename this file to acli.properties
credentials = --user confluenceuser --password confluencepasswd #confluence管理员的用户名密码
myjira = jira -s https://jira.examplegear.com ${credentials}
myconfluence = confluence -s https://swiki-confluence.intsig.net ${credentials} #confluence的url
# This defines the default client for actions, choose the most likely used client
default = ${myconfluence} #修改此处
Import the backup command packet
./acli.sh --action restoreExport --file "backup-2019_07_30.zip" --debug --options noWait
After completion of introduction, the introduced successful authentication UI interface.