Skip to content

Commit 3d5de63

Browse files
author
joaosraposo
committed
Bump version to 1.0.7 and update readme with new features: comprehensive logging system and NextCloud connection test button.
1 parent ed6abdd commit 3d5de63

File tree

2 files changed

+47
-2
lines changed

2 files changed

+47
-2
lines changed

trunk/HDB.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Requires at least: 6.7
88
* Tested up to: 6.7.2
99
* Requires PHP: 7.3
10-
* Version: 1.0.6
10+
* Version: 1.0.7
1111
* Author: Hejbit, Joaosraposo
1212
* License: AGPLv3
1313
* License URI: https://www.gnu.org/licenses/agpl-3.0.html

trunk/readme.txt

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Contributors: joaosraposo, app.hejbit.com , metaprovide.org
44
Tested up to: 6.8
5-
Stable tag: 1.0.6
5+
Stable tag: 1.0.7
66
Requires PHP: 7.3
77
License: AGPLv3
88
License URI: https://www.gnu.org/licenses/agpl-3.0.html
@@ -20,6 +20,10 @@ This plugin is easy to install and configure, and it offers a complete backup so
2020

2121
WARNING: Automatic restoration of backups is not yet possible. It must be done manually by replacing the files on the hosting and restoring the database(DB).
2222

23+
**New in version 1.0.7:**
24+
- Comprehensive logging system accessible via HejBit Decentralised Backup > Logs submenu to monitor all backup operations
25+
- Test NextCloud Connection button to verify your setup before running backups
26+
2327
== Required Third-Party Services ==
2428

2529
* Nextcloud: A cloud storage platform.
@@ -98,6 +102,47 @@ Advanced options:
98102
- Set the number of backups to keep (up to 10)
99103
- Enable automatic update blocking: the core, plugins and themes being tagged to be updated automatically, will only be updated after a scheduled backup in order to prevent it from being polluted by a faulty plugin. Manual updates are still possible.
100104

105+
= Testing Your Connection =
106+
107+
Before running your first backup, fill in all the fields, click **Save Schedule**, and use the **Test NextCloud Connection** button next to the Remote Backup Folder field to verify:
108+
- Your NextCloud credentials and URL are correct
109+
- The connection to your NextCloud instance is established
110+
- Your specified folder is a valid HejBit folder
111+
112+
The test will show:
113+
- ✅ Connection established - if NextCloud connection is successful
114+
- ✅ Hejbit folder exists - if the folder is properly configured for HejBit
115+
- ❌ Connection failed: Could not connect to Nextcloud - if the URL or credentials are incorrect
116+
- ❌ Hejbit folder does NOT exist - if the Remote Backup Folder path is invalid, missing, or a regular folder.
117+
118+
= Monitoring Backups =
119+
120+
The plugin includes a comprehensive logging system accessible via **HejBit Decentralised Backup > Logs**:
121+
122+
**Log Features:**
123+
- Real-time backup progress tracking
124+
- Color-coded log levels: INFO (blue), SUCCESS (green), WARNING (yellow), ERROR (red)
125+
- Detailed status codes showing backup stages:
126+
* 0: Database export
127+
* 1: ZIP creation (file compression)
128+
* 2: ZIP merging
129+
* 3: Upload to NextCloud (chunk sending)
130+
* 4: Finalizing backup on NextCloud
131+
- Timestamp for each operation
132+
- Associated backup names for easy identification
133+
134+
**Log Management:**
135+
- Clean old logs by specifying retention period (default: 30 days)
136+
- Refresh button to update log display
137+
- Pagination for easy navigation through historical logs
138+
139+
This feature helps you:
140+
- Monitor backup progress in real-time
141+
- Quickly identify and troubleshoot any backup failures
142+
- Maintain a history of all backup operations
143+
- Ensure your backups are completing successfully
144+
145+
101146
= Process Duration =
102147

103148
Several steps are required, and each step depends on the maximum memory allocated by your hosting. As a result, the process may take a long time (e.g., a few hours for a 10GB site with 64MB of memory).

0 commit comments

Comments
 (0)