Create SWAP on Linux EC2

Create SWAP on Linux EC2

linux

Read More

Create Ubuntu on Amazon EC2

Create Ubuntu on Amazon EC2

ubuntu

Read More

VPN site-to-site between Vyatta and Cisco ASA

VPN site-to-site between Vyatta and Cisco ASA

vyatta 6.5

Read More

Increase swap on Ubuntu 12

Increase swap on Ubuntu 12

ubuntu

Exam...

Read More

Install Confluence on Centos

Install Confluence on Centos

CentOS

Read More

Best way to backup Postgresql database

Best way to backup Postgresql database 

Step 1:  Create script to backup database

cat /opt/backup_postgresql.sh
#!/bin/sh
export PGPASSWORD=xxxxxxxx
/opt/PostgreSQL/9.0/bin/pg_dump database1 -U user > /tmp/Backup/database1_db_$(date +%Y-%m-%d) 

Step 2: Create crontab to run automatically everyday.

00 00 * * *  /opt/backup_postgresql.sh

That’s all. Thanks for using ithelpblog.com.

Read More

Install JIRA on Centos

Install JIRA on Centos

CentOS

Step...

Read More

How to upgrade Confluence to new version

How to upgrade Confluence to new version

Step 1: Backup Confluence database and Data

http://ithelpblog.com/?p=572

Read More

How to backup Confluence and Confluence database

How to backup Confluence and Confluence database

Step 1:  Create script to backup database and Confluence data.

cat /opt/backupconfluence.sh
#!/bin/sh
export PGPASSWORD=xxxxxxxx
/opt/PostgreSQL/9.0/bin/pg_dump confluence -U confuser > /tmp/Backup/confluence_db_$(date +%Y-%m-%d) 
tar -cvf /tmp/Backup/confluence-data_$(date +%Y-%m-%d).tar /var/confluence-home/attachments/ /var/confluence-home/confluence.cfg.xml /var/confluence-home/index/ /var/confluence-home/config/ 

Step 2: Create crontab to run automatically everyday. (working days)

00 00 * * 1-5 /opt/backupconfluence.sh

That’s all. Thanks for using ithelpblog.com.

 

Read More

How to backup JIRA and JIRA database

How to backup JIRA and JIRA database

Step 1: Create script for backup.

cat /opt/backupjiradb.sh

#!/bin/sh
export PGPASSWORD=xxxxxxxxx
/opt/PostgreSQL/9.0/bin/pg_dump jira -U jirauser > /tmp/Backup/jira_db_$(date +%Y-%m-%d) 
tar -cvf /tmp/Backup/jira-data_$(date +%Y-%m-%d).tar /opt/jira/data/ 

Step 2: Create cronjob for that script to run everyday.

crontab -l

00 00 * * 1-5 /opt/backupjiradb.sh

That’s all. Thanks for using ithelpblog.com.

Read More