Ubuntu Linux, ubuntu desktop, Linux operating system, ubuntu guide

RHEL5

open database /etc/postfix/sasl_passwd.db: No such file or directory

by on Feb.11, 2013, under RHEL5, Ubuntu

run the below command
#postmap /etc/postfix/sasl_passwd
It will create sasl_passwd.db file in /etc/postfix/ directory

Leave a Comment :, more...

How to take full and incremental backup every day using tar command

by on Feb.11, 2013, under RHEL5, Ubuntu

Backup directory /var
Mount point /data

Operating system – centos 6
Perform daily backup using the script and schedular using the cron tab.

save the below script
vim backup_script
———————————
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
cd /data # Moving to the /data directory
mkdir `date +%Y%m%d` #Create a directory on today date
cd `date +%Y%m%d`
tar –create \
–file=var.tar.gz \
–listed-incremental=/data/var.snar-1 \
/var
—————————–
Esc + wq!
#chmod +x backup_script
#crontab -e
10 00 * * * /root/backu_script #script will run on everyday night 12.10 AM.

Leave a Comment :, , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!