Guest lesmouffles Posted May 16, 2004 Report Share Posted May 16, 2004 Hello there, Could some kind soul tell me what simple tool, script,.... I can use to mirror files/directories between a work partition to a backup partition/disk on a small files server. Thanks a lot. Moved from Software by spinynorman Quote Link to comment Share on other sites More sharing options...
Qchem Posted May 16, 2004 Report Share Posted May 16, 2004 My first instinct would be to reach for rsync Quote Link to comment Share on other sites More sharing options...
linux_learner Posted May 16, 2004 Report Share Posted May 16, 2004 tar would also be a good command to use. Quote Link to comment Share on other sites More sharing options...
Guest lesmouffles Posted May 16, 2004 Report Share Posted May 16, 2004 Many thanks, Have tried Arkeia, but it's too complicated for my simple needs, and other products rely on tape, cd, .... I'll write a simple script. Thanks. Quote Link to comment Share on other sites More sharing options...
Gowator Posted May 17, 2004 Report Share Posted May 17, 2004 tar -C /old/dir -cvf - . | tar -C /new/dir -xvf - (Also see unix powertools book) (this preserves ownerships and permissions) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.