Solved

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

Posted on 2007-03-27
4
1,521 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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 company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

622 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