LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   storing attributes and own settings in a file (whoole partition) ??? (http://www.linuxquestions.org/questions/linux-newbie-8/storing-attributes-and-own-settings-in-a-file-whoole-partition-686967/)

cameleon666 11-28-2008 08:50 PM

storing attributes and own settings in a file (whoole partition) ???
 
Is it possible to print all files, directories - (best whoole partition) - attributes and own settings in to the file?

I just want to make backup, last time i did by mistake
find . -type f -exec chmod 644 {} \; main dir :[

MS3FGX 11-28-2008 09:30 PM

It sounds like you want to make a backup image of your system?

You could simply use tar to create an archive of the entire OS, but that is a bit inelegant to backup the entire system. You would be better off booting into a live CD and using a tool like Partimage to create a compressed system image that can be written back in the future if necessary. It is important to make the image from a live environment because you want to make sure no files are changed while you make the backup image.

cameleon666 11-28-2008 09:45 PM

i didnt mention that this is webserver
well as you can tell webservers enviroment are changing after some time, if i make backup of my entire partition theen after month restore i will have old data, so in this case i just want to print attribs/owning so i can restore only this.

But anyway, since there been talking about image method, can i ask you better to tar entire system or use that image?. If for example something went down for good and quickly need to restore everything - and all stuff has to work wich method is better?

If as you say Image, - can you write down some newb walkthru?
I have recovery console i think it will be ok to do with it?

thx
regards camel


All times are GMT -5. The time now is 07:23 PM.