Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Misc > Backup on USB enclosure

Forgot Password?
 Misc   Any questions or Linux discussion that does not fit in any of the other technical areas.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 08-24-2006   #1 (permalink)
Linux Engineer
 
Join Date: Sep 2004
Posts: 1,309
Backup on USB enclosure

Hi folks,

FC5

I'm prepared using an USB enclosure as backup device for the data on /home/user

What I'm looking for is a tool/method whenever I save a file on /home/user a duplicate copy will be saved automatically on /mnt/point/of/usb_enclosure/home/user, similar to replication/mirroring. Please advise what tool shall I use? TIA

B.R.
satimis
satimis is offline  



Reply With Quote
Old 08-24-2006   #2 (permalink)
Trusted Penguin
 
Cabhan's Avatar
 
Join Date: Jan 2005
Location: Boston, MA, USA
Posts: 2,784
Well, I'm sure that there's some sort of tool that will do this for you, but I don't know what it is. However, in the absence of such a thing, I would recommend you look into rsync, and just sync the USB directory to the home drive using a cronjob every night.

It's not quite the same as what you're looking for, but it may be workable, depending on how how exactly you need it.
__________________
DISTRO=Ubuntu
Registered Linux User #388732
Cabhan is offline   Reply With Quote
Old 08-24-2006   #3 (permalink)
Just Joined!
 
Sam Liu's Avatar
 
Join Date: Aug 2006
Location: USA baby
Posts: 78
Send a message via AIM to Sam Liu Send a message via MSN to Sam Liu Send a message via Yahoo to Sam Liu Send a message via Skype™ to Sam Liu
Sam Liu is offline   Reply With Quote
Old 08-24-2006   #4 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,076
I'm just doing that very thing right now. However mine is strictly a backup, not a mirror. I am bzip-tarring the relevant directories now and later I will run a cron job to do differential backups based on the time of the last backup.
Check through the manpage for tar. The specific option is -m or -modification-time. This is the same method that is generally used for tape backups.
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 08-25-2006   #5 (permalink)
Linux Engineer
 
Join Date: Sep 2004
Posts: 1,309
Hi bigtomrodney,

Tks for your advice.

Quote:
However mine is strictly a backup, not a mirror. I am bzip-tarring the relevant directories now
I'm doing the same way as yours and burn the compressed tarball on DVD.

Quote:
and later I will run a cron job to do differential backups based on the time of the last backup.
I'm reluctant to run incremental backup because the old files won't be deleted and replaced with the new file,

Still such arrangement does not satisfy me in case of HD failure. Because there are sitll some files missing.

B.R.
satimis
satimis is offline   Reply With Quote
Old 08-25-2006   #6 (permalink)
Linux Engineer
 
Join Date: Sep 2004
Posts: 1,309
Hi Sam Liu,

Tks for your URL.

Visited its site and found following documents;

Documentation

Build Requirements
http://multisync.sourceforge.net/art...art&id=4&cat=1
Compiling
http://multisync.sourceforge.net/art...art&id=3&cat=1
Download multisync from sourceforge cvs
http://multisync.sourceforge.net/art...art&id=2&cat=1

Is there document relevent to my case. TIA

B.R.
sattimis
satimis is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:37 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1