backup script

MIchael Ebbett December 13, 2016
 

2 answers

1 accepted

1 vote
Answer accepted
Jonas Andersson
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 Leaders.
December 13, 2016

A lot of details here... so assume linux, assume mysql-db, assume all deployed in /opt/

#!/bin/bash
DATE=`date +%Y-%m-%d`
mysqldump your_database -u your_mysql_user -p your_mysql_passwd /opt/backups/confluence.$DATE.sql
tar cvf /opt/backups/confluence.$DATE.tar /opt/atlassian/*
0 votes
Marcel Woschek
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 Leaders.
December 13, 2016

Could you give us some more information please?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events