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/*
Could you give us some more information please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!
Help us plant more trees
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.