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

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

         :: massage jeddah home service (آخر رد :رودى طه)       :: اخصائية مساج جدة 0547623402 (آخر رد :رودى طه)       :: افضل انواع ستاند ملابس,ارخص اسعار ستاند ملابس (آخر رد :بوابة الصين العربية)       :: شراء معدات مطاعم مستعملة بالطائف (آخر رد :aboshady)       :: شراء مكيفات مستعملة بالطائف (آخر رد :aboshady)       :: شراء اجهزة كهربائية مستعملة بالطائف (آخر رد :aboshady)       :: شراء سكراب بالطائف (آخر رد :aboshady)       :: شراء الاثاث المستعمل بالطائف (آخر رد :aboshady)       :: شراء الاثاث المستعمل بمكة (آخر رد :aboshady)       :: شراء مكيفات مستعملة بمكة (آخر رد :aboshady)      

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

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 متاحة



الساعة الآن 08:15 AM


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

RSS RSS 2.0 XML MAP HTML