LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-24-2002, 02:41 AM   #1
robeb
Member
 
Registered: May 2002
Posts: 113

Rep: Reputation: 15
Backing up over a network


I have a linux box with a 80 gig drive mounted on my hda drive. I would like to backup the paritions on my hda along with some partitions on 2 windows boxes on my network. What are some possible solutions?

- Thank you
 
Old 05-24-2002, 09:01 AM   #2
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
I back up my win98 pc to a linux box
I mount the win box on the linux pc
then make tar archive ie
mount -t smbfs //windowspcname /mountpoint
cd /mountpoint
tar -cvlzpf /backups/tararchive.taz .

to restore backup I boot win98 pc from a linux cd I made up
say win98 was on first partition then
mount -t vfat /dev/hda1 /mnt
mount linux_server:/backups /backups
cd /mnt
tar -zxvpf /backups/tararchive.taz

Linux can do in a similar way using nfs mounts.
I havent tried this with winxp yet
I hope this puts you in the right direction
 
Old 05-24-2002, 10:10 AM   #3
myutopia
LQ Newbie
 
Registered: Aug 2001
Location: Manchester
Distribution: RedHat 9.0, FreeBSD
Posts: 25

Rep: Reputation: 15
Don't know how best to answer your question.
At the minute I am using AMANDA

It's free, very stable and reliable, is command line only, very customizable however not for the newbie. It can also be used to copy backups to CD/DVD.

There is also ARKEIA

There's not much I can tell you about it except that it's not free, it has both a CLI and a GUI, you can use it for free only for personal use and no more than 3 machines. I think.
However I've never used it so can't vouch for it's reliability.

You probably already know this, but whatever solution you go with you will need to bear in mind that it will be best to use tar. I don't want to start a DUMP `v` TAR holy war so I suggest ready a post made by someone by the name of Linus Torvalds <torvalds@transmeta.com>
I assume he knows what he's talking about.


As for AMANDA
Have a read of these
Using AMANDA for High Performance Backups
Frankenlinux

The first is about as indepth as you want to get when starting out the second will get you started and give you something to mess around with while you get familier and make a few valuable mistakes.

You haven't mentioned what sort of backup media.
I saw a DLT4000 (20Gb native 40Gb compressed) going on ebay for £40 (Although tapes are usually around £45 a pop)
On Scan I say a ditto tape drive going for £40 however tapes again are almost as expensive but it was also parallel not scsi.


There's no reason why you can't write some script to just periodically use tar, gzip and samba to create backups of your systems, I just like using amanda because it'll tell me if it's detected a problem before the backup commenses and if I want to extract a specific file for a specific date for a specific host I can without too much effort via it's CLI.

Basically I'm backing up 5 machines over the network with amanda. If my tape breaks then no big deal as the backups are stored on a holding disk then I just pop in a tape and flush it to tape. Also the other advantage of the holding disk is that your not waiting for the tape to be ready it simply gets it all off of the machines onto the disk and when they're there pops em onto tape.

But like I say this depends on what you want to backup and how sophisticated you want it, a couple of gigs a week from a couple of machines you may decide just to have a script do it (you can get 80-100Gb harddrives for £100+vat nowadays so lot's of storage out there)
 
Old 05-25-2002, 01:23 AM   #4
robeb
Member
 
Registered: May 2002
Posts: 113

Original Poster
Rep: Reputation: 15
Thanks for your replies myutopia & lazarus. I just have one more question. How to do you mount a windows partition from linux over the network? Essentially, what do you need to do for linux to be able to find the windows partition?

- Thanks again
 
Old 05-25-2002, 03:50 AM   #5
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
If your linux can't mount it with windows netbios name you can try mount with ip# of win, but check if packets from tcp 137-139 are not getting dropped somewhere in between.
I would not recomend using samba over internet (unless with ssl -only samba<->samba )
I would tar linux data and then use ftp to transfer to windows ( if you have some space left on your linux) otherwise you can just directly ftp

if it's lan you can put samba share of your root dir (/) and then copy data in windows and directly zip/rar/ace it (that way you'll be able to open them while your linux is down.
 
Old 05-27-2002, 02:30 AM   #6
robeb
Member
 
Registered: May 2002
Posts: 113

Original Poster
Rep: Reputation: 15
You mentioned mounting by IP address or netbios name? What is the correct syntax for that?
 
Old 05-27-2002, 06:23 AM   #7
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
instead of
mount -t smbfs //yourcomputername/yourshare /mnt/dir
put
mount -t smbfs //1.2.3.4/yourshare /mnt/dir
 
Old 05-27-2002, 05:19 PM   #8
robeb
Member
 
Registered: May 2002
Posts: 113

Original Poster
Rep: Reputation: 15
Thank you for your reply, Noerr. I managed to setup Samba and now I am able to mount to windows paritions over the network and back them up.

One thing to need to do before mounting paritions with smbfs is create a link to it in your $PATH form the /usr/sbin dir. I'm sure you know this, I was just posting that for anyone what happends to come across this post.
 
Old 05-27-2002, 05:32 PM   #9
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
yes you're right. I always set up my path to include all bin sbin dirs so I don't bother with paths later.
And besides that I'll always install programs with --prefix=/usr, to avoid linking into /usr/local/.. If you use rpm to install it would be installed in /usr/bin or /usr/sbin by default
regards
 
  


Reply



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
Backing up hard drive to a network computer Baix Linux - General 1 07-26-2005 02:41 PM
Backing up over a network usercsr Linux - Software 3 03-25-2004 11:08 PM
backing up hdds over the network mehesque Linux - Networking 1 01-09-2004 11:24 AM
backing up to network mannybabe Linux - Networking 1 08-06-2003 10:15 AM
Backing up over teh network? Robert_q27 Linux - General 3 04-17-2003 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:29 PM.

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