LinuxQuestions.org
Help answer threads with 0 replies.
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 07-14-2008, 12:01 AM   #1
pnmanojshenoy
Member
 
Registered: Jun 2008
Location: Cochin, India
Distribution: Debian,Ubuntu
Posts: 38

Rep: Reputation: 0
Help with Scripting


Hi


I am new to scripting can anyone tell me how to make a script... to automate the backup of the system?
 
Old 07-14-2008, 12:20 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
That's not help, that's free system admin!

Where do you want to backup your files? A second HD? CD? Network drive?

There are plenty of utilities that will ease the job, but you have to help others understand what you have to work with.
 
Old 07-14-2008, 12:28 AM   #3
pnmanojshenoy
Member
 
Registered: Jun 2008
Location: Cochin, India
Distribution: Debian,Ubuntu
Posts: 38

Original Poster
Rep: Reputation: 0
network drive....
 
Old 07-14-2008, 12:39 AM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
If you want help, put some more energy into your efforts.

Certainly you could explain what type of network drive, how much space it has available, what type of OS the drive is attached to, etc.

You could explain what types of backups you want, what are you trying to protect, etc.
 
Old 07-14-2008, 12:50 AM   #5
pnmanojshenoy
Member
 
Registered: Jun 2008
Location: Cochin, India
Distribution: Debian,Ubuntu
Posts: 38

Original Poster
Rep: Reputation: 0
yeh...

I have two server which rum Trustix (Linux) i want to back up the /data from server 1 to server 2 in hdb2
 
Old 07-14-2008, 12:50 AM   #6
pnmanojshenoy
Member
 
Registered: Jun 2008
Location: Cochin, India
Distribution: Debian,Ubuntu
Posts: 38

Original Poster
Rep: Reputation: 0
I want to backup it every morning at 6 am...
 
Old 07-14-2008, 12:57 AM   #7
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
Search the forum here for backups - there are some recent threads that might help. I won't drag you towards success.
 
Old 07-14-2008, 01:08 AM   #8
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
The every morning at 6am would be a part of cron, or at least that is how I would do it. As far as the backup script, do you know how to mount network drives? I made a script recently to update my /home directory to a windows server using cifs. Speaking of CIFS, what kernel version are you running? And does the server you are backing up from have support for the filesystems that are being used on your 2nd server?

DragonM15
 
Old 07-14-2008, 01:46 AM   #9
smus
Member
 
Registered: Nov 2005
Location: Turkey
Distribution: Suse
Posts: 104

Rep: Reputation: 16
try to use rsync for backing up another linux or cifs file system for windows based backup.

regards,
 
Old 07-14-2008, 01:52 AM   #10
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
Quote:
Originally Posted by smus View Post
try to use rsync for backing up another linux or cifs file system for windows based backup.

regards,
Ill have to look into that one also, I have never used rsync. Thanks for the tip.

DragonM15
 
  


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
Help in scripting kkiwi8 Solaris / OpenSolaris 9 11-06-2007 08:37 PM
teaching shell scripting: cool scripting examples? fax8 Linux - General 1 04-20-2006 05:29 AM
Scripting CICA Programming 5 10-04-2005 05:54 AM
scripting help versaulis Linux - Software 8 11-22-2003 08:08 PM
HELP!! with scripting eggoz Linux - General 1 04-25-2003 08:52 PM


All times are GMT -5. The time now is 10:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration