Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to access samba from windows 7 and if i copy any data from server to win7 machine it automatic replicate (take the backup) the data to another machine.

Please suggest me how can i do it.


share|improve this question

I have done something similar on my Windows 7 partition, using Samba (on my Ubuntu Server) and Ubuntu One as a quick and easy backup/replication solution.

First install Samba (if you don't already have it) on your Ubuntu machine.

sudo apt-get install samba smbfs

Next, you'll have to configure Samba and set up a share. Here is an answer I posted that details how to do that: Share Ext4 Partition Over Network

Once configured, you should be able to connect to your Samba share from Windows 7 by opening a file explorer window and typing the following into the address bar:


Obviously, replace the with the (internal) IP address of your Ubuntu machine. Also replace myShareName with the name of the share you have configured in Samba.

Now that Samba is configured and reachable, download and install the Ubuntu One Windows client. If you don't have an Ubuntu One account, you can create one during the installation process or by following this link: Ubuntu One - Create Account. Once the client is installed and has connected to the Ubuntu One cloud, open it and you should see something similar to this:

enter image description here

Note that you can see the file explorer for my Samba share in the background.

By default, Ubuntu One will create a sync'd directory in the following location on your windows drive (represented here as "x:"). Unless your Windows installation is configured otherwise, it will probably be "c:".

x:\Users\%username%\Ubuntu One

Now, anything you copy down from your Ubuntu server (via your Samba share) to your Ubuntu One directory will be replicated to the Ubuntu One cloud. If you wish, you can also configure the Ubuntu One client to sync additional directories. This data will be replicated to all machines running an Ubuntu One client that are connected to your account.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.