milutin@nasbackup.com
2006-Jul-11 05:15 UTC
Linux backup to Windows hard drive and restore using rsync?
Hi, I want to backup my Linux system to remote Windows hard drive. Rsync can?t create softlink and preserve the EXT3 permission on the windows NTFS. My question is, in case of disaster I want to restore the whole / /var /usr partitions. Will the following restore steps will end in viable Linux. 1) Install the same Linux OS from scratch on new clean partitions. 2) Rsync to restore the data form Windows so that is will overwrite the original files with out (if possible?) change the file permission and owner info. This will not break the existing OS symbolic links because there are not on the Windows backup. I'm aware that the services run levels /etc/rc#.d/ will not be restore properly because those symbolic link will not be backup in the 1st place. Any other drawback? Regards, Milutin Voinivich NasBackup http://www.NasBackup.com/
Matt McCutchen
2006-Jul-12 00:02 UTC
Linux backup to Windows hard drive and restore using rsync?
On 7/11/06, milutin@nasbackup.com <milutin@nasbackup.com> wrote:> Will the following restore steps will end in viable Linux. > > 1) Install the same Linux OS from scratch on new clean partitions. > 2) Rsync to restore the data form Windows so that is will overwrite the > original files with out (if possible?) change the file permission and > owner info.I wouldn't count on it. Files that rsync creates (because they were on the backup but not the reinstalled system) will get permissions according to the receiver's umask (022 by default), and that will be wrong for enough files to cause trouble. You should use another backup system that will save all of the Linux metadata, such as tar or rdiff-backup. Matt