943,931 Members | Top Members by Rank

  • Networking Discussion Thread
  • Unsolved
  • Views: 7759
  • Networking RSS
Feb 27th, 2005
0

Syncing data between desktop and laptop

Expand Post »
Ok guys I have a situation that im hoping someone can help me with. I just bought a laptop and want to be able to sync data between my computers. I am willing to take any suggestions on this. Here is how my personal home network is setup. I have two desktops, one is my main computer and the other is a server running win2k3 that isn’t setup for anything (but am willing to use it for anything). Right now I have a script that runs at 3am that backup my main computer to my server.

So what I want is to have my data on my laptop sync up, get all my files in My Documents, with my desktop when I log into it. Then be able to take my laptop to Starbucks or some place to do work and have all my files. Then when I get back home log into my laptop have my changed documents sync up. I hope that’s not confusing.

So im not sure if I need to use software for this or if setting my server for something, like a domain, will work. I thought about setting up my own domain w/o roaming profiles and redirecting My Documents. But I don’t think I will be able to get to my files on my laptop when im away from my home. Am I wrong here?

If anyone can help I would greatly appreciate it. Thanks

~Jay~
Similar Threads
cb2
Reputation Points: 10
Solved Threads: 0
Newbie Poster
cb2 is offline Offline
12 posts
since Feb 2005
Feb 27th, 2005
0

Re: Syncing data between desktop and laptop

I did something like this myself, I setup a two line script to map a drive on my laptop to a share on the desktop using NET USE then I XCOPY32 to update files between them.
Reputation Points: 13
Solved Threads: 3
Junior Poster
w1r3sp33d is offline Offline
186 posts
since Dec 2004
Feb 27th, 2005
0

Re: Syncing data between desktop and laptop

Quote originally posted by w1r3sp33d ...
I did something like this myself, I setup a two line script to map a drive on my laptop to a share on the desktop using NET USE then I XCOPY32 to update files between them.
That could work. My buddy brought up an idea that he thinks will work. He thinks that if you redirect My Documents and then turn on the "Offline files option it will keep a cashed version on the laptop. Then when you get back and have changed a file and log into you network it will sync and keep the newest edition of the file. Is he right?
cb2
Reputation Points: 10
Solved Threads: 0
Newbie Poster
cb2 is offline Offline
12 posts
since Feb 2005
Feb 28th, 2005
0

Re: Syncing data between desktop and laptop

Quote originally posted by cb2 ...
That could work. My buddy brought up an idea that he thinks will work. He thinks that if you redirect My Documents and then turn on the "Offline files option it will keep a cashed version on the laptop. Then when you get back and have changed a file and log into you network it will sync and keep the newest edition of the file. Is he right?

So i tired the whole Offline files thing and it dosent work so well. I get an error saying that it cant find the share. It looks like its trying to sync up before my wireless card can get an address. I dont know what elese to try. Anyone else have any ideas?
cb2
Reputation Points: 10
Solved Threads: 0
Newbie Poster
cb2 is offline Offline
12 posts
since Feb 2005
Feb 28th, 2005
0

Re: Syncing data between desktop and laptop

http://www.daniweb.com/techtalkforum...et+script.html

Here TKS has posted the setup procedure and a snippet for a batch file to do the mapping.

Once you get the share setup and the drive mapping via batch file you can add an xcopy line like this "xcopy c:\DATA\*.* z: /E /C /D" This copies all updated versions of files in my c:\DATA drive to the root of the network drive "z" while skipping files that are already identical.

You can read up on xcopy and xcopy32 and what command switches will do what, very powerful utility. If you come up with something snappy, please post it back here so people searching later can find it.
Reputation Points: 13
Solved Threads: 3
Junior Poster
w1r3sp33d is offline Offline
186 posts
since Dec 2004
Mar 1st, 2005
0

Re: Syncing data between desktop and laptop

Quote originally posted by w1r3sp33d ...
http://www.daniweb.com/techtalkforum...et+script.html

Here TKS has posted the setup procedure and a snippet for a batch file to do the mapping.

Once you get the share setup and the drive mapping via batch file you can add an xcopy line like this "xcopy c:\DATA\*.* z: /E /C /D" This copies all updated versions of files in my c:\DATA drive to the root of the network drive "z" while skipping files that are already identical.

You can read up on xcopy and xcopy32 and what command switches will do what, very powerful utility. If you come up with something snappy, please post it back here so people searching later can find it.

Ok so that batch file will compaire the two folders and find the newest version or it will copy a file to the server if it isnt there right? Now will it go backwards, so if i edit something on my desktop and then i sync up with my laptop will it copy the file i created or edited on my desktop to my laptop? Is it two-way thats what im trying to say.
cb2
Reputation Points: 10
Solved Threads: 0
Newbie Poster
cb2 is offline Offline
12 posts
since Feb 2005
Mar 1st, 2005
0

Re: Syncing data between desktop and laptop

The easy fix is this:
-map drive
-copy c: z: if needed
-copy z: c: if needed

The problem is if you modify doc1.doc on your laptop, then you modify the copy of doc1.doc on your desktop, xcopy will write the laptop copy over the desktop copy because it is first in the list. I hope this illustrates the problem you are looking at.

I suggest you research the command switches available to see if it can be done. Here is one interesting link google produced to get you started: http://www.ekho.com/Training_Videos/XCOPY_NOTES.pdf
Reputation Points: 13
Solved Threads: 3
Junior Poster
w1r3sp33d is offline Offline
186 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Networking Forum Timeline: Belkin client software screws Windows wireless
Next Thread in Networking Forum Timeline: difference between tcp and sctp?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC