LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-18-2006, 05:06 AM   #1
seraphic
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Rep: Reputation: 0
how to setup a linux server for backing up hdd from network


I want to setup a linux server to backup 4 hdd from a network. 3 hdd are NTFS and 1 FAT32. Server's hdd is 500 Gb. I want to make 3 partition: 1. linux 2. Ntfs with storage from network 3. backup partition of second partition made by linux every half-hour. Is that possible?
If that is possible, what distro I can use?

Last edited by seraphic; 07-18-2006 at 05:11 AM.
 
Old 07-18-2006, 06:35 AM   #2
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
Your biggest challenge will be the NTFS partition that you want on the Linux server. You will want to be sure you read up on NTFS support in the Linux kernel. This is a good starting place: http://www.linux-ntfs.org/

Other than that, you shouldn't have any problem. Install Samba so that the Windows servers on the network can access the Linux backup server natively. Use rsync to backup the partition. Most any distro will work for you, with the above caveat about NTFS support in the kernel for Red Hat and Fedora systems (and, by extension, CentOS, I would assume).
 
Old 07-18-2006, 06:57 AM   #3
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,881

Rep: Reputation: Disabled
There is absolutely no reason why one should use NTFS on the Linux server. Actually, it does not make any sense at all.
 
Old 07-18-2006, 07:12 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Yes, as already mentioned, there is no reason to put a NTFS partition on a linux server. You can backup over a network from any computer to another without any regard to the filesystem on the machine itself. You can backup NTFS to a linux server using ext3, reiserfs, xfs or anything, the NTFS box doesn't need to be able to read the linux box, and the linux box doesn't need to be able to read NTFS.

There is a great piece of software that can do all of this for you, and you can set it to run whenever you want. The name of it is backuppc, and it is available here: http://backuppc.sourceforge.net/

You can use any distro for it, but I suggest Debian, as you don't need to actually compile the software. All you'd need on a debian system is to do
Code:
apt-get update
apt-get install backuppc
You will have to edit the config file, to tell it the correct windows workgroup or domain, but it backs everything up to a webpage, so you can download a very recent backup. It is also possible that other distrobutions have backuppc as a package, where you can just tell the package manager to install it.

If you do install backuppc, you will have to configure it, there is no "just works" option. You'll have to tell it when to backup, what to backup, what storage method, if the hosts that you backup have static addresses or get their addresses through DHCP, etc.

Peace,
JimBass
 
Old 07-21-2006, 06:26 AM   #5
seraphic
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thx for your posts.

The ideea for NTFS partition is to be accessed from network because it will have ALL data stored in. So, i think is more easy to access it from Win based systems. If i'm wrong please corect me. Thx again for your sugestions, they are helpfull.
 
Old 07-21-2006, 06:41 AM   #6
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Quote:
Originally Posted by seraphic
Thx for your posts.

The ideea for NTFS partition is to be accessed from network because it will have ALL data stored in. So, i think is more easy to access it from Win based systems. If i'm wrong please corect me. Thx again for your sugestions, they are helpfull.
So this backed up data will still need to be accessed? you can still have it as whatever file system you want and just mount it via samba so that windows clients can see the shares.
 
Old 07-21-2006, 06:52 AM   #7
seraphic
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Original Poster
Rep: Reputation: 0
the backup data i will try to make it,somehow, like an image for NTFS made by linux, and stored on the backup partition,so, if i need it, just restore the image on NTFS and use it.
 
Old 07-21-2006, 07:47 AM   #8
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
It seems that you're not understanding. It doesn't matter what the filesystem is, it can be shared to the Windows/NTFS machines without a problem. The only time the filesystem would matter would be if you were going to physically take the drive out of the server, and physically install it on a box with Windows. Everyday you use the web, you may be looking at pages that are stored on ext3, NTFS, JFS, XFS, and any number of others. You don't need to be able to read the filesystem to read the data, as long as it is shared through a common interface, ie http, ftp, samba, etc.

We are steering you away from NTFS on a linux box because the ability to read to NTFS has existed for years, but the ability to write to it is barely supported, and doesn't look to be resolved soon. You have no need for NTFS in any case on a fileserver, just share the data through samba or backuppc, and all the windows boxes will be able to see it and copy/restore from it without a problem.

Peace,
JimBass
 
  


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
Home Network Setup Help Linux Server running Windoze XP clients + ADSL router BeaverusIV Linux - Networking 10 04-22-2005 04:07 PM
Backing up to external HDD? dgermann Linux - Newbie 10 08-30-2004 11:10 AM
copying/backing up between 2 linux pc's across network. Guerin Linux - Newbie 5 05-04-2004 06:47 AM
Backing up solaris files on linux server phahn Linux - Newbie 5 10-05-2003 07:09 AM
Backing up Linux to a remote server! DigiCrime Linux - General 5 12-10-2002 03:41 AM


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