nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Creating the perl Backup script for hard disk to hard disk backup

This is a discussion on Creating the perl Backup script for hard disk to hard disk backup within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hi, In my system there are TWO HDD , I've installed Cent OS 5 i want to create and schedule ...


Go Back   nixCraft Linux Forum > Linux Distribution > CentOS / RHEL / Fedora

Linux answers from nixCraft.


CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-05-2008, 03:42 PM
Junior Member
User
 
Join Date: May 2008
OS: FEDORA
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vmr.gouda is on a distinguished road
Angry Creating the perl Backup script for hard disk to hard disk backup

Hi,

In my system there are TWO HDD , I've installed Cent OS 5 i want to create and schedule a Backup process . /home/bak in this i've stored data now i want to same copy in other drive also it should sync every 1 hour ,
I want to write a perl script for this . after that I can Add a crontab
I want perl script for that....pleaseeeeeeeeeee

vmr gouda
Reply With Quote
  #2 (permalink)  
Old 14-05-2008, 10:53 PM
agn agn is offline
Member
User
 
Join Date: Feb 2008
OS: OpenBSD/FreeBSD/Debian/Fedora/RHEL
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
agn is on a distinguished road
Default

Why don't you use rsync ?
Reply With Quote
  #3 (permalink)  
Old 15-05-2008, 01:08 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

+1 for rsync.

Here is link to sample rsync link
How To Use rsync Command To Backup Directory Under Linux
How to use rsync for transferring files under Linux or UNIX
Remote Server Rsync Backup Replication Shell Script
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Script per informazione di hard disk RamPD Shell scripting 0 07-04-2008 07:22 PM
Clone Sata Hard disk drive lacloai Linux software 1 24-11-2007 10:51 AM
hard disk backup zafar466 Linux software 1 29-06-2007 01:47 AM
SATA Hard Disk not detected rajuk Linux software 4 24-10-2005 01:57 PM


All times are GMT +5.5. The time now is 06:48 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38