LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-23-2007, 02:04 AM   #1
mukundmurari
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 192.168.1.11 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 192.168.1.11 only. Then we mount that directory automatically on 192.168.1.11 (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.

PLZ HELP !

Thankx

MAX
 
Old 10-23-2007, 05:58 AM   #2
coolpal
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
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
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.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 AM.

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