إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية

         :: ولي العهد في المنام (آخر رد :نوران نور)       :: تفسير الأحلام حول النار في المنزل (آخر رد :نوران نور)       :: قهوجي وصبابين قهوه ارقام قهوجيات في جدة 0552137702 (آخر رد :ksa ads)       :: تفسير حلم الرضاعة للمتزوجة لابن سيرين (آخر رد :نوران نور)       :: أبواب الألمنيوم الخارجية في مصر من الوسولوشن حلّ مثالي للأناقة والأمان (آخر رد :احمد عبدالخالق 15)       :: المواد العطرية من الأراضي (آخر رد :اسماعيل رضا)       :: تفسير حلم اكل البيض المسلوق (آخر رد :نوران نور)       :: الدفن في المنام (آخر رد :نوران نور)       :: مزايا تخزين الاثاث بالخبر (آخر رد :رودى طه)       :: ارخص شركة تخزين اثاث بالقطيف (آخر رد :رودى طه)      

إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 02-01-2010, 04:40 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,612
عدد الـنقاط :3341
 تقييم المستوى : 2139

Using a few of the very well written posts here I have a script that shuts down the entire site and backs up the database very well. I am having a bit of difficulty getting the filesystem however. My intent was to use something like this:

Code:

DATE=`date +%Y-%m-%d`
cd /home/username/
tar -cvzf Backup-$DATE.tgz *
Which does in fact backup the file system from the root on my shared server account down, with a few expected errors. The problem is the file and directory rights. Any directory or file given rights of 777 restore with rights of 755. All other combination of rights appear to restore correctly. There are some folders/files - especially above the web doc root - that have and need rights of 777. I am sure I could just add chmod commands to the script, but would prefer to avoid that as upgrades and add on products would mean I need to update the script more than I would like. To restore I am simply using:

Code:
tar -xvzf filename.tgz
The restore is obviously not scripted.

What am I missing?
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 04:54 PM


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML