Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to perform backup for the Linux box

Posted on 2004-04-26
2
Medium Priority
?
200 Views
Last Modified: 2013-12-15
Hi,

I have a Linux 9.0 box. I'd like to perform the backup for some directory of the box. I have an external hard drive that is recognized by the Linux Red Hat . This external hard drive is connected with the Linux box via a USB 2.0 port. I was able to mount the external hard drive and access it, writing to it manually.

Now, I'd like to periodically backup some directory of the Linux box to the external hard drive. For example, make backup once every 12 hours. I heard that we need to write some unix shell script to make it work automatically, i.e. every 12 hours, the box automatically write the data of the specified dirs to the external hard drive.

If you know how which steps need to be done, including how to write the unix shell cript, to make the linux box automatically perform the backup, please give some help,

Thanks,

Rfr1tz
0
Comment
Question by:rfr1tz
  • 2
2 Comments
 
LVL 12

Accepted Solution

by:
paullamhkg earned 1500 total points
ID: 10926653
this one may be a good one for you http://www.tldp.org/LDP/sag/html/backups.html which also talking abt the multilevel backup
0
 
LVL 12

Assisted Solution

by:paullamhkg
paullamhkg earned 1500 total points
ID: 10926672
here is script for your reference http://www.xs4all.nl/~voorburg/backup.html
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month11 days, 4 hours left to enroll

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question