rdiff-backup is tool for backup data :
in slackware do this following
http://rdiff-backup.nongnu.org/
download from slackbuild :
http://slackbuilds.org/repository/14.0/system/rdiff-backup/
rdiff-bacup need libsync and you can download from :
http://slackbuilds.org/repository/14.0/libraries/librsync/
librsync-0.9.7.tar.gz
librsync.tar.gz
tar -xzvf librsync.tar.gz
mv librsync-0.9.7.tar.gz librsync/
cd librsync
check your os with uname -a ( i486 or x86_64 )
edit librsync.SlackBuild use nano or another editor :
#ARCH=${ARCH:-i486} ---- > if you use i486
ARCH=${ARCH:-x86_64} ------> if you use x86_64
baru : ./librsync.SlackBuild
cd /tmp
installpkg librsync-0.9.7-x86_64-1_SBo.tgz
rdiff-backup.SlackBuild
rdiff-backup-1.2.8.tar.gz
tar -xzvf rdiff-backup-1.2.8.tar.gz
cd rdiff-backup-1.2.8
python setup.py install
backup folder to another forder :
rdiff-backup /opt/db/data /mnt/backup/data/
restore :
rdiff-backup -r 2012-11-29T21:42:43+07:00 192.168.168.70::/home/ttk/test/backupaja /home/ttk/test/backupres
for more example and detail see at :
http://rdiff-backup.nongnu.org/
Tidak ada komentar:
Posting Komentar