LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-24-2003, 10:35 AM   #1
rsc
LQ Newbie
 
Registered: Mar 2002
Posts: 12

Rep: Reputation: 0
Linux to Linux backup through the web


Hi,

I am interested in doing automatic incremental backups of files on my linux boxes. The idea is to do this over the web (offsite) in some secure manner between 2 RH7.2 systems. I have looked but have not found anything on the subject that is not commercial (lots of commercial options though..). Maybe a vpn? Any suggestions greatly appreciated.

Saludos.
 
Old 02-24-2003, 11:05 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I would definetly use VPN because you don't want your backups going across the internet unencrypted. I would also suggest using CIPE for your VPN. Its easier to configure then other VPNs and its very secure. Once you have CIPE setup you can ping the other machine as if it was on your LAN. Then to backup to the other machine I would use the dump command. Something like:

dump 0uBf 500000 hollywood:/dev/nrf0 /dev/hda7

This would do a backup of /dev/hda7 onto the tape drive(/dev/nrf0),or whatever, on the machine hollywood. Man dump for more info.
 
Old 02-24-2003, 11:33 AM   #3
m0rl0ck
Member
 
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
Unison over ssh works well:

http://www.cis.upenn.edu/~bcpierce/unison/

It can also check for changes so that you dont have to back up a whole dir to ensure one file is safe
 
Old 02-24-2003, 01:02 PM   #4
rsc
LQ Newbie
 
Registered: Mar 2002
Posts: 12

Original Poster
Rep: Reputation: 0
Thank you both for your quick response. I have already set up a vpn using cipe and the Unison link sounds promising. If I may:

Running a vpn between the linuxes, could I "link" both private networks? I mean, if I have a windows machine behind each Linux could I see the other machine on my network neighbourhood? Again, I have set up the vpn and can ping from one linux to the other but dont know how to proceed.

Saludos.
 
Old 02-24-2003, 04:41 PM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I guess, and don't quote me on this, you could put another nic card in the linux machines acting as the CIPE servers. Cipe servers are basically encrypted routers so you could just treat them like one and hook up the other boxes to the CIPE server.
 
Old 02-24-2003, 06:40 PM   #6
m0rl0ck
Member
 
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
Quote:
Running a vpn between the linuxes, could I "link" both private networks? I mean, if I have a windows machine behind each Linux could I see the other machine on my network neighbourhood? Again, I have set up the vpn and can ping from one linux to the other but dont know how to proceed.
Ive done this using the "remote announce" directive in samba. Just have the remote announce address on each machine set to the local cipe address of the other machine.

man smb.conf:

remote announce (G)
This option allows you to setup nmbd(8) to periodically announce
itself to arbitrary IP addresses with an arbitrary workgroup
name.

This is useful if you want your Samba server to appear in a
remote workgroup for which the normal browse propagation rules
don't work. The remote workgroup can be anywhere that you can
send IP packets to.
 
Old 03-01-2003, 12:08 PM   #7
rsc
LQ Newbie
 
Registered: Mar 2002
Posts: 12

Original Poster
Rep: Reputation: 0
Sorry I didnt respond earlier.
Unison is excellent for synchronizing files over the internet. I found it to be simple to use. However, I found rsync better suited for my needs...I only wanted to "mirror".

As for the 2d. question, remote announce is deffinitely the way to go. Tnx for your help. I honestly should have read the samba documentation as it very clearly explains it all in the chapter "Cross Subnet Browsing". Maybe this will help someone else....
 
  


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
DISCUSSION: Using Linux to backup and recover Windows and Linux systems shshjun LinuxAnswers Discussion 3 12-05-2009 10:42 PM
Web page download/backup Hexane Linux - Software 2 01-20-2005 01:40 AM
some web pages are not web opening in linux emailssent Linux - Networking 4 09-19-2004 07:28 AM
Linux Backup mallikar Linux - Newbie 1 06-07-2003 09:55 AM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 03:38 AM


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