LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-03-2008, 07:19 PM   #1
Froman2686
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Rep: Reputation: 0
Backing up from Vista to Ubuntu Server


Here's what I have: one desktop that I use regularly with windows vista on it and 3 hard drives full of my game mods and photoshop work. I also have a small sony desktop running ubuntu server that I use to test web design/development work.

What I'd like to do is, set up my linux machine to host backup of the critical files on my vista machine: kind of like making the sony my version of apple's "time capsule."

Trouble is, I don't know where to begin. I have a Samba share setup so I can easily transfer files when developing, but I'd like to develop a more automated solution. I don't know if I would have this software on my windows machine, or on my linux machine. I'm not even sure where to look.

Does a solution for this exist?
 
Old 12-03-2008, 08:18 PM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
well you can share out your hard disk on your vista box

then set up a cron job to mount your Vista hard disk and then execute a file copy from the mount to somewhere on your Ubuntu box.

something like this

mkdir /mnt/SOMEFOLDER

then in a cron file

mount -t cifs //SERVER/SHARE -o username=XXXX,password=XXXXX /mnt/SOMEFOLDER
cp /mnt/SOMEFOLDER/*mp3 /home/user/music
cp /mnt/SOMEFOLDER/*jpg /home/user/picutres

you get the idea...
 
Old 12-03-2008, 09:39 PM   #3
Froman2686
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I thought about cron, but is there a way I could make the job first compare to see which files have changed? We're talking plenty of gigs of data...I don't want to overwrite that every day at 2am...lol.
 
Old 12-03-2008, 10:31 PM   #4
sleddog
Member
 
Registered: Jan 2002
Location: Labrador, Canada
Distribution: CentOS, Debian
Posts: 182

Rep: Reputation: 35
On the Windows machine you could use fsync in a batch file. Either call it manually or schedule it for automatic backups.
 
  


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
How can I remove vista from a ubuntu / vista dual boot! TheOneSYM Linux - Newbie 10 04-01-2010 01:21 PM
dual boot vista and ubuntu, lost after changes to vista monkeybritt Ubuntu 5 12-04-2008 02:16 PM
Vista and ubuntu duel boot how to links for ubuntu inspiron_Droid Ubuntu 1 04-16-2008 01:53 PM
Burning and backing up DVD's on Ubuntu.. LadyGrelka Linux - General 5 12-25-2006 03:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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