跳轉到內容
View in the app

A better way to browse. Learn more.

PHP論壇人

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

每日備份、只保留3天內的備份檔、手動做異地備份、自動異地備份

精選回覆

發表於

前面的步驟,使用 backup.sh 腳本自動做每日備份

每天早上3點執行備份 (或SSH敲crontab -e指定每天備份的時間)

分別為 Db 資料庫備份檔 與 Web 網站備份檔

備份檔存放目錄 /var/www/backup/

只保留3天內的備份檔,超過3天將自動刪除 (或開啟 backup.sh 搜尋 3day 來增加天數)

backup.png

需要自己手動將備份檔移動到異地,做手動的異地備份

或網上尋找 Google Drive 同步腳本、OneDrive 同步腳本,來自動做異地備份

建立帳號或登入後發表意見

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.