Solved

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

Posted on 2007-03-27
4
1,490 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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.
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
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 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 …

770 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