Linux backup server in a vm

Discussion in 'Software' started by OversizeZantos, 13 Sep 2012.

  1. OversizeZantos

    OversizeZantos What's a Dremel?

    Joined:
    12 Sep 2011
    Posts:
    90
    Likes Received:
    0
    Hi all,

    My partner has a laptop running windows 7 hp 64bit, for her open university course. Im running the rig in my sig, and have installed vmware player to mess around with ubuntu 12.04 (and to play discworld 1 in win xp :) ), and want to set up a server that I will run whenever we're both connected to the network that will scan her documents folder nd copy the files to my server in the first instance, and scan and copy only changes from then on.

    Am a little over my head, so literally have no idea where to start.

    Any ideas?
     
  2. deathtaker27

    deathtaker27 #noob

    Joined:
    17 Apr 2010
    Posts:
    2,196
    Likes Received:
    155
    Have a look into robocopy, that is what we use in work to do something similar, if you need some help creating the batch file pm me and I will help if I can :)
     
    Last edited: 13 Sep 2012
    OversizeZantos likes this.
  3. bigc90210

    bigc90210 Teh C

    Joined:
    7 Oct 2003
    Posts:
    1,240
    Likes Received:
    58
    http://www.2brightsparks.com/download-syncbackse.html

    SyncBackSE is open source (and free) and lets you quickly and easily set up folder Syncronisation like this, maybe give it a go?

    Failing that, theres good old robocopy

    http://www.mydigitallife.info/robocopy-syntax-command-line-switches-and-examples/

    to create a robocopy bat file, open notepad, copy in the robocopy line from below, click file-> save as, call the file "somefilename.bat" and change the file type in the drop down from text file (.txt) to all files.

    a simple robocopy would be

    ROBOCOPY C:/SOURCE FOLDER/ D:/Destination Folder/ /s

    which basically means copy everything from source folder to destination folder, and the /s on the end means copy subfiles and folders (even empty folders).

    You could then do stuff like put this .bat file on a windows scheduled task to run on startup, or even add the game launcher .exe to the bottom of the robocopy, so you could use this as your main game shortcut (meaning when you launch the game it syncs the files, then launches the game via the .exe.

    Hope that helps.

    C
     
    OversizeZantos likes this.
  4. Zoon

    Zoon Hunting Wabbits since the 80s

    Joined:
    12 Mar 2001
    Posts:
    5,497
    Likes Received:
    630
    Microsoft SyncToy - http://www.microsoft.com/en-us/download/details.aspx?id=15155

    Its basically rsync, but for Windows, and without the server-client component.

    In terms of doing a scheduled backup, you just need some file space somewhere and either a scheduled task, or indeed just an icon on the desktop you double-click now and then.
     
    OversizeZantos likes this.
  5. scott_chegg

    scott_chegg Minimodder

    Joined:
    16 Feb 2010
    Posts:
    952
    Likes Received:
    83
    All of the above. You could look at DeltaCopy also. It's basically RSYNC for windows with a bit of a gui. I've got it setup on the wifes laptop and a scheduled task set to run on logoff. It syncs changes in her my docs and favourites to the NAS. Works fine.
     
    OversizeZantos likes this.
  6. GeorgeK

    GeorgeK Swinging the banhammer Super Moderator

    Joined:
    18 Sep 2010
    Posts:
    8,666
    Likes Received:
    504
    +1 for Syncback SE - I use it for backup more than synchronisation but it's been great for that. Once you've set up the rules it just runs itself based on your choices. Fantastic program considering it's free.
     
    OversizeZantos likes this.
  7. OversizeZantos

    OversizeZantos What's a Dremel?

    Joined:
    12 Sep 2011
    Posts:
    90
    Likes Received:
    0
    Hey all, thanks for the replys. A healthy +rep all round.

    Decided with SyncbackSE and it works like a charm.

    Now to hop across to hardware with my other problems that have just developed
     

Share This Page