虛擬主機自動備份

最近把家中網站搬到TotalChoice Hosting,這間的費用真是便宜,一年不到一千五,在PCZONE有人談論到自動備份,在TotalChoice Hosting Family Forums有看到用PHP寫的備份Script,這樣就可以不用每次登入Cpanel去執行備份了。
不過這篇自動備份並沒有透過SSL去wget,所以要改成
wget https://$cpuser:$cppass@www.$domain:2083/getbackup/backup-$domain-$T.tar.gz -O $store_dir/backup-$domain-$T.tar.gz -o $store_dir/backup-$domain-$T.log
這樣會更安全些。
下載虛擬主機自動備份script檔案
2005-11-16 補充:新版的wget要加額外的參數 --no-check-certificate 變成
wget https://$cpuser:$cppass@www.$domain:2083/getbackup/backup-$domain-$T.tar.gz
--no-check-certificate -O $store_dir/backup-$domain-$T.tar.gz -o $store_dir/backup-$domain-$T.log

February 2012

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      

Archives

Powered by Movable Type 4.34-en

About this Entry

This page contains a single entry by philipz published on March 28, 2005 12:42 AM.

手機部落格=吃角子老虎 was the previous entry in this blog.

Skype Voice Messaging is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.