LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-06-2005, 06:20 PM   #1
yuchen99
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
How to backup files?


Hi,
Our lab uses both Windows and Linux. It has been requested that we backup files on the network server.

The windows PCs here were setup with the network server while the Linux computer was not. I was told that it is possible to generate a similar database structure in Linux as in Windows so as to backup the files.

Please give us some ideas on how to do this.
Thank you very much.
Sincerely,
Yu
 
Old 04-06-2005, 11:37 PM   #2
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
Hi.

Do you just want to backup certain files to a network share? If so, it is easy to do so. You would just need to mount the network share and copy the files from your Linux box to the network server.

For example... as root....

mount -o username=yu //192.168.0.1/share /mnt/network

enter your password,

and then copy the files you wish to backup to the /mnt/network folder.

In that example above you would need to change the IP to your network server, and also the username to a valid one.

If this works how you want it to, you can create a cronjob to perform this automatically for you whenever you like.

good luck.

Craig
 
Old 04-07-2005, 01:17 AM   #3
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
yeah, what kind of backup do you mean?
 
Old 04-07-2005, 05:10 AM   #4
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
howzit

to answer your quetion is a little difficult becuase it all depends on how your system has been configured. Is your server used to hold user information if so where? Is your server running specific services if so what? U see all this will decide what to backup.

Another quetion will be if u have a tape drive on the server or not. If so then u may use cpio/dump to backup. The other cmds u may look at are tar.

Before u start sit down and see what your server is used for e.g application, file server, etc. Then from that conclusion move to the next phase which is backup the data.

Or when in doubt backup / but that might be very time consuming and unecessary

cheers
 
Old 04-07-2005, 10:55 PM   #5
yuchen99
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for the info.
I used "cd .." a couple of times to get as back as I could and tried to mount the network drive.
But still got message " only root can do that".

Is there another way to get to the root?
Thank you.
Yu

[QUOTE]Originally posted by TheRealDeal
[B]Hi.

Do you just want to backup certain files to a network share? If so, it is easy to do so. You would just need to mount the network share and copy the files from your Linux box to the network server.

For example... as root....

mount -o username=yu //192.168.0.1/share /mnt/network
............
 
Old 04-07-2005, 11:05 PM   #6
yuchen99
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Our windows PCs use Novell networking; and the network server was mapped as the X:/ drive.
We would copy files from the C:/ to X:/ to backup.

That server was just used for extra memory.


[QUOTE]Originally posted by aqoliveira
[B]howzit

to answer your quetion is a little difficult becuase it all depends on how your system has been configured. Is your server used to hold user information if so where? Is your server running specific services if so what? U see all this will decide what to backup.
 
Old 04-23-2005, 09:36 PM   #7
nextekcarl
Member
 
Registered: Oct 2003
Location: Portland
Distribution: Gentoo
Posts: 73

Rep: Reputation: 15
Quote:
Thank you for the info.
I used "cd .." a couple of times to get as back as I could and tried to mount the network drive.
But still got message " only root can do that".

Is there another way to get to the root?
Thank you.
Yu
In this case when you get the message that "only root can do that" it means the superuser account (called called the "root" account) not the location in the file system called root (usually referred to as "/", without the quotes) I am guessing here, and maybe someone will correct me, but I guess that / gets it's name from being the beginning of the whole file system, and the root account gets its name from being the beginning of the all the user accounts.

You can mount at any location becuase everything goes under root, in one way or another, no matter how it gets there.

Last edited by nextekcarl; 04-23-2005 at 09:38 PM.
 
  


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
backup files davidleroux1 Mandriva 0 12-01-2004 06:32 PM
help with backup files vince_2x Linux - General 1 09-21-2004 09:11 PM
Need to know how to mount Second HD to backup files RIOMX Linux - Hardware 2 12-23-2003 02:38 PM
backup files before reinstall HELP! ludeKing Linux - Newbie 5 08-15-2003 07:23 AM
Your way: Backup - what files, how often, on CD-(RW)? JZL240I-U Linux - General 8 07-24-2003 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:24 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