Solved

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

Posted on 2007-03-27
4
1,497 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
ID: 18836742
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
ID: 18836766
Thanks, I will take a look at all of this!
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

829 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