Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-01-2002, 05:49 PM   #1
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
How to back up or Mirror a directory

Hello all,

I have set up a email server running on redhat 7.2 and now need to get the backups in order for it. I have a drive that is on a nt server mounted under /mnt/backup on my redhat server and that is where I want to put the backups, will storing my backups on the ntfs drive on windows mess up any permisssions on the data? it will never be accessed by windows the only way it will be accessed it through the mount point in linux.

For my second question, is there a command or way to mirror a directory to that mount point? What I am wanting is to be able to mirror the whole /home directory and keep the permissions that way if the server ever went down I would have a perfect copy of all user data.

And now for my last question, how can I backup all users and groups on my system, and if I ever need to how do I restore them after doing a rebuild. I have grown up on windows and am looking for the linux equivelent for rdisk if it exists.

Thank you for any help you might be able to give. Hopefully this can save me hours of work.
Old 09-02-2002, 02:44 AM   #2
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
1) Yes, the permissions will be messed up, Windows has no conception of UNIX file permissions. It will break horribly

2) You can use rsync to mirror directories efficiently. What you should actually do, of course, is have /home on some kind of RAID set and back this up to DLT.


Just as a general point, any kind of "backup" system that does not involve ejectable or removable media is _not_ a backup system.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get back quickly to directory with long path name learnfast Linux - Newbie 1 05-20-2005 06:26 AM
/dev/cdrom directory is suddenly gone, how can I get it back? learnfast Linux - Newbie 7 03-14-2005 01:39 PM
Directory permissions changing back? elderain Linux - Newbie 0 03-08-2004 07:02 PM
Home directory permissions reverting back Parksy Linux - General 3 02-04-2004 09:21 PM
Help creating a directory back up shell script WarriorWarren Linux - General 6 04-06-2003 10:56 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration