Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-23-2007, 02:04 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 8

Rep: Reputation: 0
Unhappy Automated Backup Script

Hi All !

My senior has given me this assignment plz give me step by step Procedure. i am very new to linux. plz help !!

we set up one linux machine to have a directory specifically for the backup(this is our file server which needs to be backedup), we share that directory using NFS (chkconfig nfs on & vi /etc/exports) to make it accessible by only. Then we mount that directory automatically on (create /mnt/backup and add it to /etc/fstab). Now we can create a tar command that backups all files to new linux machine(for backup) as a .tgz file preserving permissions. Once you have the command working we can schedule it using cron. Please investigate how to do this by using Google, etc. and looking at the various files on the existing servers. Write a document showing what files need changing and what we should add. Do not change any of the files until you have finished the document and I have reviewed it.



Old 10-23-2007, 05:58 AM   #2
LQ Newbie
Registered: Aug 2005
Posts: 14

Rep: Reputation: 0
U better do this by writing a shell script which does the following
1. SSH to ur fileserver
2. SCP all ur file server files to ur backup machine
3. make a tar.gz of the copied files and give it a suitable name using date in the filename

I guess this will serve ur purpose
Old 10-23-2007, 07:18 AM   #3
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Originally Posted by mukundmurari View Post
My senior has given me this assignment plz give me step by step Procedure. i am very new to linux.
Your senior gave the assignment for you to learn from it probably *since* you are new to GNU/Linux. Instead you come here asking for hand-holding in a way that's IMNSHO close to being against the rules (homework). So basically if somebody posts a ten step list you will have learned nothing. Break down your task into components, understand the basics for each bit (and he even explicitly tells you you can find the examples on your other servers, FCOL!), then write the steps. If you are unsure about those steps *then* post those here for review. You'll learn nothing if you ask someone else to do your research for you.

Last edited by unSpawn; 10-23-2007 at 07:22 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
automated backup GameSky Linux - Software 23 06-18-2007 01:57 AM
Automated HD backup General Linux - Hardware 3 05-11-2006 08:39 PM
Automated Backup via FTP KePSuX Linux - Newbie 3 02-11-2004 08:25 AM
automated FTP backup josephswagner Linux - Software 2 06-06-2003 04:42 PM
automated network backup hinoiri Linux - Networking 1 12-03-2002 11:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration