henri
2009-Jul-01 00:14 UTC
how to keep user/group information when rsyncing to windows for restoring back to
I am guessing that you would like to use rsync to create a bootable backup. It may also be worth while spending some time looking at CloneZilla or even dd? Dd is a really great tool. You know a copy of the device is bit for bit. You can then use rsync to make incremental copies of these directories which regularly change. In this situation you can restore the machine and then rsync any changes to the system, reboot and you should be up and running. If the system can be down for a while then there are more options, it should be possible to configure the machine to boot from the network each night perform the backup and then start up again. Then you would have a nightly backup which can be easily restored back onto the system. I have not setup any scripting with CloneZillia. However, I guess this is possible. I would be interested to know if anyone has a setup like this or just what people think. The advantage with this approach is that you will have a fully bootable image taken from the machine each night. The disadvantage is that the system may be down for a while depending upon how much data is on the system. >> >> > I want to backup the who linux system to a windows system. The >> backup will >> > not be used in windows and will only be used to restore to linux >> system >> > later. >> > >> > So I want to know is it possible to use rsync to keep the user/ group >> and >> > other permission information in windows file system so I can restore >> these >> > information when restoring from windows to Linux? >> >> Perhaps --fake-super will help. See the manpage for details. >> >> >> Paul >> -- >> Please use reply-all for most replies to avoid omitting the mailing >> list. >> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync >> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Wei, Xiaohai
2009-Jul-02 04:32 UTC
how to keep user/group information when rsyncing to windows for restoring back to
Thanks for your reply. my problem is that if I use rsync to backup linux files to windows system, the user/group information will lost. how to keep these information when restoring to Linux? thanks You can then use rsync to make incremental copies of these directories which regularly change. In this situation you can restore the machine and then rsync any changes to the system, reboot and you should be up and running. On Wed, Jul 1, 2009 at 7:49 AM, henri <henri@stmargarets.school.nz> wrote:> > I am guessing that you would like to use rsync to create a bootable > backup. It may also be worth while spending some time looking at > CloneZilla or even dd? > > Dd is a really great tool. You know a copy of the device is bit for bit. > > You can then use rsync to make incremental copies of these directories > which regularly change. > > In this situation you can restore the machine and then rsync any changes > to the system, reboot and you should be up and running. > > If the system can be down for a while then there are more options, it > should be possible to configure the machine to boot from the network > each night perform the backup and then start up again. Then you would > have a nightly backup which can be easily restored back onto the system. > > I have not setup any scripting with CloneZillia. However, I guess this > is possible. I would be interested to know if anyone has a setup like > this or just what people think. > > The advantage with this approach is that you will have a fully bootable > image taken from the machine each night. The disadvantage is that the > system may be down for a while depending upon how much data is on the > system. > > > >> > >> > I want to backup the who linux system to a windows system. The > >> backup will > >> > not be used in windows and will only be used to restore to linux > >> system > >> > later. > >> > > >> > So I want to know is it possible to use rsync to keep the user/group > >> and > >> > other permission information in windows file system so I can restore > >> these > >> > information when restoring from windows to Linux? > >> > >> Perhaps --fake-super will help. See the manpage for details. > >> > >> > >> Paul > >> -- > >> Please use reply-all for most replies to avoid omitting the mailing > >> list. > >> To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > >> Before posting, read: > http://www.catb.org/~esr/faqs/smart-questions.html<http://www.catb.org/%7Eesr/faqs/smart-questions.html> > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html<http://www.catb.org/%7Eesr/faqs/smart-questions.html> >-- Best wishes to you. Yours sincerely Xiaohai Wei wistoch@ustc.edu -------------- next part -------------- HTML attachment scrubbed and removed