Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2007-03-27
4
Medium Priority
?
1,530 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A hard and fast method for reducing Active Directory Administrators members.
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

704 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