• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Code auto backup tất cả code và database trong Cpanel

zing4u.org

New Member
Mô tả: Code Backup tất cả Code & Database (với Cpanel X)
Nguyên lí hoạt động: Việc thực hiện Backup sẽ là hoàn toàn tự động với "Cron Jobs php", File Backup sẽ được chuyển tiếp giữa 2 máy chủ FTP
Bạn cần có 2 tài khoản ở 2 server riêng biệt (host1 & host2, VD: host1 trên server của vnit.mobi, host2 trên 1 server khác)

BƯỚC1:
Chỉnh sửa lại các thông số cho phù hợp Lưu lại Code đó với tên vnit_backup.php trên host1 (/public_html/vnit_backup.php)
Tiếp theo đăng nhập cPanel X ở menu chọn "Cron Jobs php" để tạo 1 lệnh auto chạy file vnit_backup.php để tiến hành Backup
Code:
  Common Settings: Twice a day (0 0,12 * * *)
  Command:  -q /home/CpUser/public_html/vnit_backup.php
Thay CpUser=user đăng nhập host1

Chú ý: việc Backup 2 lần 1 ngày sẽ làm cho host2 của bạn sẽ chứa nhiều file Backup trùng lặp chúng ta cần chuyển sang Bước2

BƯỚC2:
Chỉnh sửa lại các thông số cho phù hợp Lưu lại Code đó với tên vnit_delete_file.php trên host2 (/public_html/vnit_delete_file.php)
Tiếp theo đăng nhập cPanel X ở menu chọn "Cron Jobs php" để tạo 1 lệnh auto chạy file vnit_backup.php để tiến hành Backup
Code:
  Common Settings: Twice a day (0 0,12 * * *)
  Command:  -q /home/CpUser/public_html/vnit_delete_file.php
Thay CpUser=user đăng nhập host1

Thực hiện đúng các hành động trên là việc Backup bây giờ sẽ hoàn toàn tự động (cứ sau 12 giờ là có 1 tập tin chứa đầy đủ code & database của host1 được gửi đến host2)
Download Code auto backup tất cả code và database trong Cpanel 11

Nguồn: VNIT.MOBI
 
Last edited:
Link die rồi..
 
Fix link đi darklord
 

Facebook Comments

Similar threads
Thread starter Title Forum Replies Date
Admin Share code auto backup data Mã nguồn web 0
Admin Share code auto backup code và data chuẩn Mã nguồn wap 14
M Share code johncms khotaive.com auto wap/web Johncms 4
T xin code auto wap/wed php mong admin, mod giúp Thảo luận wap việt 2
Admin Share code auto like facebook 2014 viplike.pro Mã nguồn web 6
A Xin Code auto like fanpage fb Thảo luận wap việt 3
Admin Share code auto mod java cho johncms Johncms 0
P Share Code auto chèn bản quyền khi copy bài viết Javascript/ajax 0
Yeukodamnoi Share Share code auto like Facebook - Bấm vào đâu cũng like All Shared Scripts 3
Admin Share code chat room auto wap web jchat Mã nguồn web 2
Admin Share code auto like khoc.co v2 Mã nguồn web 4
Admin Share code index slide tặng người yêu kèm auto like fanpage facebook HTML & CSS 0
Admin Share code auto wap web ảnh cho xtgem Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
Yeukodamnoi [JohnCMS] Share code auto tag lấy từ kết quả hiển thị của Google Johncms 0
Admin Share code auto wap web show list forum Johncms 0
M Thảo luận Code auto reg host PHP 6
Admin Share code tự động like facebook - facebook onclick auto like script Mã nguồn web 0
Admin Share code auto backlink cho johncms Johncms 0
K Share code filelist auto gét ảnh đại diện đẹp All Shared Scripts 0
Yeukodamnoi Help Code auto chèn logo vào ảnh ở mỗi bài viết johncms PHP 2
Admin Share code auto backlink 2013 cực đẹp Mã nguồn web 0
V Share Code auto leech john cms All Shared Scripts 0
K Share Share code filelist auto gét ảnh đại diện v1 All Shared Scripts 1
Admin Share code auto hình ảnh wap/web xtgem Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
P Xin Code auto up file cho ***tgem Wap builder, wapego, xtgem, wen.ru, wapka, wap4 3
Admin Share code auto breadcrumb Javascript/ajax 1
Admin Share code mtblog auto wap web Mã nguồn wap 6
Admin Share code khủng auto update tin tức + hướng dẫn cài đặt chi tiết Mã nguồn web 1
Y Code MTBlog auto Wap/Web by Wapma! Blogger 4
N Help Code auto Wap/web All Shared Scripts 22
A Share Auto thể loại cho code filelist của jin9x All Shared Scripts 0
Yeukodamnoi Xin Code auto leech cho johncms Johncms 4
Yeukodamnoi Xin Code auto leech tin tức cho johncms Johncms 0
V Hỏi Ai có code auto leech mà nhập Johncms 3
L Xin Code 4rum john auto wapweb k bị lỗi style. Johncms 1
Admin Share code auto wap web cho php Mã nguồn wap 5
Admin Share code auto wap web full style cho johncms Johncms 0
K Hỏi Có code blog auto leech bài không? Mã nguồn wap 6
Admin Share code auto đóng dấu bản quyền ảnh cho wordpress Wordpress 0
Admin [Share] code auto wap/web xtgem bằng css HTML & CSS 1
Admin Share code scam nick team auto đổi pass giao diện mới Mã nguồn wap 7
Admin Share code update kqxs auto, không java script Wap builder, wapego, xtgem, wen.ru, wapka, wap4 5
Admin Share code auto upload xtgem v4 free Wap builder, wapego, xtgem, wen.ru, wapka, wap4 9
Admin Share code News.KenhMobi.Net - Auto cập nhật tin tức Mã nguồn web 2
Admin Share code mp3.kenhmobi.net auto clone nhạc zing Mã nguồn web 0
Admin Share code auto wap web cho PHP Mã nguồn wap 0
K [Help] ai biết code auto chèn head foot trên host vào giúp với HTML & CSS 4
Admin Share code auto phát hiện trình duyệt Mã nguồn wap 0
Admin Share code auto wap/web toàn trang cho xtgem chưa nâng cấp vinhbao3g.com Wap builder, wapego, xtgem, wen.ru, wapka, wap4 29
Admin Share code free auto backlink Mã nguồn wap 1

Similar threads

New posts New threads New resources

Back
Top