Archive | September, 2009

Solusi Backup Linux [2]

7 Sep

B. Mengenal rdiff-backup

A remote incremental backup of all your files could be as easy as “rdiff-backup / host.net::/target-dir”

‘rdiff-backup backs up one directory to another, possibly over a network. The target directory ends up a copy of the source directory, but extra reverse diffs are stored in a special subdirectory of that target directory, so you can still recover files lost some time ago. The idea is to combine the best features of a mirror and an incremental backup. rdiff-backup also preserves subdirectories, hard links, dev files, permissions, uid/gid ownership, modification times, extended attributes, acls, and resource forks. Also, rdiff-backup can operate in a bandwidth efficient manner over a pipe, like rsync. Thus you can use rdiff-backup and ssh to securely back a hard drive up to a remote location, and only the differences will be transmitted. Finally, rdiff-backup is easy to use and settings have sensical defaults.’

mulai menggunakan
1. download [saya menggunakan centos 4.7]
ftp://fr.rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/rdiff-backup-1.2.8-1.el4.rf.i386.rpm
(more…)

Solusi Backup Linux [1]

7 Sep

A. Awal Mula
Dulu saya melakukan backup di linux menggunakan tar, dimana saya buatkan script seperti berikut :
=============================================================
script backup tar
=============================================================
# .bash_profile
cd /backup
b_name=`date +%w`
if [ "$b_name" = 1 -o "$b_name" = 4 ]
then
tar cvzf /backup/ac/01snkm_acumum.tgz /s03/ac/umum -X no_file > logac_umum.txt
elif [ "$b_name" = 2 -o "$b_name" = 5 ]
then
tar cvzf /backup/ac/02sljm_acumum.tgz /s03/ac/umum -X no_file > logac_umum.txt
elif [ "$b_name" = 3 -o "$b_name" = 6 ]
then
tar cvzf /backup/ac/03rbst_acumum.tgz /s03/ac/umum -X no_file > logac_umum.txt
elif [ "$b_name" = 0 ]
then
tar cvzf /backup/ac/04mg_acumum.tgz /s03/ac/umum -X no_file > logac_umum.txt
fi
(more…)

Follow

Get every new post delivered to your Inbox.