You can use 'tar' utility to create backup archive:
        
        #tar -cf backup.tar /dir_to_backup

and bzip2 to compress this archive:
        
        #bzip2 -9 backup.tar

it will produce compressed archive backup.tar.bz2, that you can copy to 
another hard o write to CD-R using cdrecord, for example.

Note, if the backup.tar.bz2 is lager than CD-R can contain, you should to 
divide it to the parts, using 'split', for example.

        split -b 700m backup.tar.bz2

For more info read
        
        #man tar
        #man bzip2
        #man cdrecord
        #man split 

...and one more thing, if you care only about the Database you don't need to 
backup all hard drive, but only DATADIR directory. In MySQL it placed in

        #mysqladmin variables | grep datadir

On Monday 22 December 2003 09:39, Amir Spivak wrote:
> שלום לכולם,
> אני מחזיק שרת נתונים שרץ תחת Red Hat 7.3, אני רוצה לגבות אותו בצורה הכי
> פשוטה למקרה וההארד דיסק שלו יגווע יום אחד, השאלה שלי היא האם יש איזה שהוא
> כלי מסוים ופשוט! לעשות העתקה של דיסק שלם לתקליטורים או לדיסק אחר, אני מדבר
> על כלי דומה לנורטון גוסט. תודה,
> אמיר.

-- 
        -------------
        Slava Shklyar
        mailto:[EMAIL PROTECTED]
        22/12/03 10:39 GMT+0200


-----------------------------------------------
Faith is under the left nipple.
                -- Martin Luther
j'?.)מִ)nlֶ¢–)א.+-†?i??0ֲ¢~לh®ט÷{.nַ§u©??›r™כ,j­¢¢~לn?ֻ›±?גmטZ‰?±¢¸

Reply via email to