Extension Name: Backup Fetch
Author: [hidden]
Extension Description:
Backup Fetch - Fetch the newest server backup every day from a directory outside the board, keep a local copy, send it to SFTP, FTP(S), WebDAV, S3 or rsync and download it from the ACP
[hidden] [hidden]
[hidden]
- Removing old uploads now keeps the newest N different files instead of the newest N log rows, so sending the same backup twice (Fetch now) no longer leaves fewer files than the number set.
[hidden]
- The rsync destination can remove old backups too: the new "Archives to keep there" setting (0 = never remove, the default for existing settings) keeps the newest files that Backup Fetch synchronised itself and deletes the older ones at the destination, only when the newest backup is a single file. Other files in the destination folder are never touched, and sub folders are left alone.
[hidden]
- Lock, temporary and partial files (`.lock`, `.tmp`, `.temp`, `.part`, `.partial`, `.crdownload`, `.filepart`), empty files and files that changed in the last 30 seconds are no longer taken as the newest backup. Before, the `job.lock` file that the Backup extension touches during a backup could be picked instead of the backup ZIP.
[hidden]
- First release.
- Fetches the newest server backup every day from a folder outside the board and keeps a local copy (a ZIP of the newest backup folder, or a copy of the newest backup file), with download and delete in the ACP.
- External destinations, as many as you like, each with a connection test: SFTP, FTP and FTPS, WebDAV, S3 and compatible (large archives in parts) and rsync over SSH or to an rsync daemon.
- Retention per destination; only archives Backup Fetch uploaded itself are removed.
- A run log with the result per destination and a server check.
- Founder-only: other administrators with the permission cannot open it.
- Private tool for your own server: the rsync destination uses `proc_open()`.
Screenshots:
[hidden]
Overview with the source folder, newest server backup, schedule, last check and the Run now button
[hidden]
The local copies that are kept, ready to download or delete
[hidden]
Run history showing what was sent to each destination, including a failed upload
[hidden]
Diagnostics for PHP user, open_basedir, ZipArchive, curl, proc_open and rsync
[hidden]
Confirmation before a local copy is deleted
[hidden]
Setup in four steps with a preview of the backups in the source folder
[hidden]
Local folder, number of copies to keep and compression
[hidden]
SFTP destination
[hidden]
FTP and FTPS destination
[hidden]
WebDAV destination for Nextcloud and similar
[hidden]
S3 destination with endpoint, bucket and prefix
[hidden]
rsync destination over SSH or to an rsync daemon
[hidden]
Daily schedule and the cron line to run it
[hidden]
The folder browser to pick the source folder
Extension Download:
[hidden]
Installation:
Author: [hidden]
Extension Description:
Backup Fetch - Fetch the newest server backup every day from a directory outside the board, keep a local copy, send it to SFTP, FTP(S), WebDAV, S3 or rsync and download it from the ACP
[hidden] [hidden]
[hidden]
- Removing old uploads now keeps the newest N different files instead of the newest N log rows, so sending the same backup twice (Fetch now) no longer leaves fewer files than the number set.
[hidden]
- The rsync destination can remove old backups too: the new "Archives to keep there" setting (0 = never remove, the default for existing settings) keeps the newest files that Backup Fetch synchronised itself and deletes the older ones at the destination, only when the newest backup is a single file. Other files in the destination folder are never touched, and sub folders are left alone.
[hidden]
- Lock, temporary and partial files (`.lock`, `.tmp`, `.temp`, `.part`, `.partial`, `.crdownload`, `.filepart`), empty files and files that changed in the last 30 seconds are no longer taken as the newest backup. Before, the `job.lock` file that the Backup extension touches during a backup could be picked instead of the backup ZIP.
[hidden]
- First release.
- Fetches the newest server backup every day from a folder outside the board and keeps a local copy (a ZIP of the newest backup folder, or a copy of the newest backup file), with download and delete in the ACP.
- External destinations, as many as you like, each with a connection test: SFTP, FTP and FTPS, WebDAV, S3 and compatible (large archives in parts) and rsync over SSH or to an rsync daemon.
- Retention per destination; only archives Backup Fetch uploaded itself are removed.
- A run log with the result per destination and a server check.
- Founder-only: other administrators with the permission cannot open it.
- Private tool for your own server: the rsync destination uses `proc_open()`.
Screenshots:
[hidden]
Overview with the source folder, newest server backup, schedule, last check and the Run now button
[hidden]
The local copies that are kept, ready to download or delete
[hidden]
Run history showing what was sent to each destination, including a failed upload
[hidden]
Diagnostics for PHP user, open_basedir, ZipArchive, curl, proc_open and rsync
[hidden]
Confirmation before a local copy is deleted
[hidden]
Setup in four steps with a preview of the backups in the source folder
[hidden]
Local folder, number of copies to keep and compression
[hidden]
SFTP destination
[hidden]
FTP and FTPS destination
[hidden]
WebDAV destination for Nextcloud and similar
[hidden]
S3 destination with endpoint, bucket and prefix
[hidden]
rsync destination over SSH or to an rsync daemon
[hidden]
Daily schedule and the cron line to run it
[hidden]
The folder browser to pick the source folder
Extension Download:
[hidden]
Installation:
- Download the latest release.
- Unzip the downloaded release, and change the name of the folder to `backupfetch`.
- In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
- Copy the `backupfetch` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
(your forum root)/ext/dmzx/backupfetch/composer.json - Navigate in the ACP to `Customise -> Manage extensions`
- Look for `Backup Fetch` under the Disabled Extensions list, and click its `Enable` link.
