Solved

CSC (Offline Files) equivalent on Linux (Ubutnu - Debian) from a Windows server

Posted on 2007-03-27
4
1,478 Views
Last Modified: 2013-11-15
OK, so I've been using Offline Files on XP clients for ages.  I'm now starting to get some Linux clients on the network and need similar functionality with these.  I'm using Ubuntu which is a Debian based distro.  I've looked into iFolder, but I can't work out how to get the server component set up on a Windows machine.  I've also heard of rsync? but have no idea as to its functionality.
0
Comment
Question by:Stuart Oram
4 Comments
 
LVL 2

Accepted Solution

by:
TheKeyboardSlayer earned 500 total points
Comment Utility
rsync is really the way to go...especially since the command can be configured as a recurring job scheduled by cron (or Kcron in KDE...which is a nice front end for cron).

Check out the man page for rsync: https://monkey.linuxworld.com/cgi-bin/dwww/usr/share/man/man1/rsync.1.gz?type=man

After researching the page above, you might try using it with a few options to make a backup of one folder to another one like this:
rsync -arvuz /dev/hda1 /dev/sda1

Where the flags are:
a- archive
r- recursive
v- verbose
u- update
z- compress

That's a rather simple example for something that can be very complex.  The options I selected above are for physical drive to drive copy which might not be what you're looking for.

The command better suited for you might be:
rsync --delete-after -avH /[directory_name]/ /mnt/backup/[directory_name]

After the initial sync rsync only updates files that have changed making it fairly quick after the initial run. The delete-after switch ensures that files that are no longer present (deleted) are deleted from the archive which means the copy is an exact copy of the original. If you don't use the switch it will retain the files which are likely to be useless to you anyway.

There are some options and supplemental information as well you can look at:
RSnapshot:  A Perl based utility making rsync a bit easier:  http://rsnapshot.org/
Unison File Synchronizer:  Has a VERY detailed User Manual:  http://www.cis.upenn.edu/~bcpierce/unison/
Synchro: Makes rsync easier also:  http://www.linuxdevcenter.com/pub/a/linux/2001/11/01/rsync.html
LinuxJournal article on Unison (link above): http://www.linuxjournal.com/article/7712
JfileSync a java file synchronizer:  http://jfilesync.sourceforge.net/
Kcron how-to: http://linux-blog.org/index.php?/archives/112-Schedule-Tasks-in-Linux-with-Ease-Kcron.html


Hope this helps you out!
0
 
LVL 1

Author Comment

by:Stuart Oram
Comment Utility
Thanks, I will take a look at all of this!
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now