WHM cPanel » WHM 2086

SSH'tan istediğin an temiz ve full yedek almak

http://forum.whmdestek.com/

Go Back   WHM/cPanel Support Platform » Türkçe » WHM cPanel » WHM 2086
 
Reklam Alın!
Günlük 5k tekil ve üzeri sitelerinize reklam!
Fixreklam
Extreme yoksa Sayyac var!
Ücretsiz İstatistik Servisi
Sayyac.com
Firma tanıtımı!
Firmanızın reklamını hemen yapın!
Reklamlar

Reply
 
LinkBack Thread Tools Display Modes
  #21  
Old 17.01.08, 02:36
Atari
 
Join Date: Jan 2008
Posts: 1
Rep Power: 0
alanaditescil is on a distinguished road
Quote:
for i in $(ls /var/cpanel/users); do /scripts/pkgacct $i /yedek;done
bunu cron'a nasıl ekleyebiliriz günlük yedeklemesi için ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #22  
Old 17.01.08, 04:26
Tahsin ALTAY's Avatar
SysAdmin
 
Join Date: May 2007
Posts: 458
Rep Power: 43
Tahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond repute
Onu crona eklemek kolay da bu kadar yazmak iş görmez bunu geliştirmek lazım. Var olanların üzerine yazar mı direk onu denemedim ben sinan sen denedin mi veya birisi denesin yazsın. Ben bu kodu geliştiriyorum bu sıralar ama vakit önemli amacım günlük ve haftalık olarak iki defa aldırmak bu kod ile + yedekleme başlamadan önce var olan klasöre farklı isim vermek(sistemi o anda kasmasın diye) daha sonra gün içerisinde ikinci bir cron ile ismini değiştirince fazlalık durumuna düşen yedekleri silmek. Eğer yedeklemeyi başlattığımızda otomatik olarak var olanların üzerine yazıyorsa zaten sorun yok ama bu sıralar aşırı yoğunum test etmek için vaktim olmadı...

Quote:
İstediğiniz Ayarlama:
sırayla aşağıdaki işlemleri yapın...
1- nano /usr/bin/yedekal
2- Açılan ekrana bir alt satırdaki kodları yazın
Quote:
#/usr/bin/!
for i in $(ls /var/cpanel/users); do /scripts/pkgacct $i /yedek;done
3- Ctrl + X ile çıkış talebinde bulunun sonra Y ile bunu onaylayın.
4- chmod 755 /usr/bin/yedekal
5- nano /etc/crontab
6- en alt satıra inin ve cron kaydını ekleyin. Hangi saat ve zamanlarda alacak siz karar verin ve ayarlayın ona göre cron satırını. Cron ile ilgili forumda yazı da var WHMDestek yazmıştı sanırım.

Güle güle kullanın....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #23  
Old 05.03.08, 18:34
Athlon
 
Join Date: Oct 2007
Posts: 101
Rep Power: 2
sweynn is on a distinguished road
Quote:
Originally Posted by axzel View Post
bu yedegi mv /home/yedekadi.tar.gz /home/username/public_html olarak sitenizin ana dizinine atıp sonrada
chmod 777 /home/username/public_html/yedekadi.tar.gz yapıp sitenizden direk indirebilirsiniz.




yukarda anlatıldıgı gibi mv komutunu kullanarak yapabilirsiniz aktarma işlemleri istediginiz dizine gonderirisiniz o komutla

yedek leri geri yüklemeye gelince whm ye giriyorsunuz ve Soldaki backup bolumunun altından Restore a Full Backup/cpmove file e tıklıyoruz sayfa acılınca üstte bir metin kutusu ve alttada yedeklerin hangi dizinde oldugunu goreceksiniz yukardaki metin kutusuna asagıdaki yedeklerden istediginizin username ini yazınız geri yükleme baslayacaktır

Not1 : "mv" komutu kes işlemini yapar siz yedekleri bulundugu dizinden tamamen kaldırmak istemiyorsanız kopyala "cp" komutunu kullanmalısınız. mv yerine direk cp yazarak kullanabilirsiniz

Not2: Backup Bölümünden Restore a Full Backup/cpmove file alanı kullanılarak geri yukleme yapılması durumunda yedek bulundugu dizinden silinecektir . Yani
" (/home) backup-12.4.2007_23-30-02_username.tar.gz " boyle bir yedek icin geri yükleme baslatılınca home dizinindeki backup-12.4.2007_23-30-02_username.tar.gz adlı yedek dosyası silinecektir..

peki ben yedeği alıyorum o kodla ama yedeğin isminin ne olduğu nasıl bilicem acaba
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #24  
Old 05.03.08, 21:12
Ni-Osman's Avatar
Linux HelpDesk
 
Join Date: Feb 2008
Location: Denizli
Posts: 259
Rep Power: 7012
Ni-Osman has a reputation beyond reputeNi-Osman has a reputation beyond reputeNi-Osman has a reputation beyond reputeNi-Osman has a reputation beyond reputeNi-Osman has a reputation beyond reputeNi-Osman has a reputation beyond reputeNi-Osman has a reputation beyond reputeNi-Osman has a reputation beyond reputeNi-Osman has a reputation beyond reputeNi-Osman has a reputation beyond reputeNi-Osman has a reputation beyond repute
Send a message via MSN to Ni-Osman Send a message via Yahoo to Ni-Osman Send a message via Skype™ to Ni-Osman
Quote:
Originally Posted by sweynn View Post
peki ben yedeği alıyorum o kodla ama yedeğin isminin ne olduğu nasıl bilicem acaba
Bu konu ile ilgili olarak bir konu açmışsın orada cevapladım sorunu.
__________________
Netinternet Telekom
Artık daha çok zamanınız var!


Üyelik ve Partnerlikler :cPanel INC. , Parallels , DirectAdmin , Netenberg , RIPE , Redhat , Microsoft(Bitmedi) ,GeoTurst
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #25  
Old 05.03.08, 21:48
Athlon
 
Join Date: Oct 2007
Posts: 101
Rep Power: 2
sweynn is on a distinguished road
tşk ederim oraya tekrar bir cevap yazdım
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #26  
Old 06.03.08, 11:50
sinangunay's Avatar
FULL DESTEK SUNUCULAR
 
Join Date: Jul 2007
Location: biLi biLi boP
Age: 27
Posts: 1,664
Rep Power: 1073
sinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond repute
Selamlar,

Evet sunucu taşırken her zaman bu komutla yedekleme yapıyorum. Böylece cpuwatch çalışmıyor, loadlar 2'i geçsede yedekleme devam ediyor..
__________________
-----------------------------------------------------------------------------------------
>> LÜTFEN ÜCRETSİZ DESTEK TALEP ETMEK İÇİN MSN ADRESLERİMİZİ EKLEMEYİNİZ. HER TÜRLÜ ÜCRETSİZ DESTEK İÇİN FORUMLARIMIZI KULLANINIZ. TEŞEKKÜRLER <<
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #27  
Old 16.03.08, 23:57
Celeron
 
Join Date: Oct 2007
Posts: 53
Rep Power: 2
seksenyedi is on a distinguished road
Teşekkür ederim bunu root a atıp whm den açabilir miyiz ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #28  
Old 17.03.08, 08:45
sinangunay's Avatar
FULL DESTEK SUNUCULAR
 
Join Date: Jul 2007
Location: biLi biLi boP
Age: 27
Posts: 1,664
Rep Power: 1073
sinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond repute
neyi?
__________________
-----------------------------------------------------------------------------------------
>> LÜTFEN ÜCRETSİZ DESTEK TALEP ETMEK İÇİN MSN ADRESLERİMİZİ EKLEMEYİNİZ. HER TÜRLÜ ÜCRETSİZ DESTEK İÇİN FORUMLARIMIZI KULLANINIZ. TEŞEKKÜRLER <<
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #29  
Old 17.03.08, 17:21
Celeron
 
Join Date: Oct 2007
Posts: 53
Rep Power: 2
seksenyedi is on a distinguished road
sinan bey bi sitemin yedegini bu sayede aldım da onu root a atıp whm de açabilir miyiz ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #30  
Old 17.03.08, 19:39
sinangunay's Avatar
FULL DESTEK SUNUCULAR
 
Join Date: Jul 2007
Location: biLi biLi boP
Age: 27
Posts: 1,664
Rep Power: 1073
sinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond repute
Evet tabii ki
__________________
-----------------------------------------------------------------------------------------
>> LÜTFEN ÜCRETSİZ DESTEK TALEP ETMEK İÇİN MSN ADRESLERİMİZİ EKLEMEYİNİZ. HER TÜRLÜ ÜCRETSİZ DESTEK İÇİN FORUMLARIMIZI KULLANINIZ. TEŞEKKÜRLER <<
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Sign up for PayPal and start accepting credit card payments instantly.

Navigasyon
Menü