forked from EideardVMR/unraid-easybackup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheasybackup.plg
More file actions
106 lines (102 loc) · 4.26 KB
/
easybackup.plg
File metadata and controls
106 lines (102 loc) · 4.26 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE PLUGIN [
<!ENTITY name "easybackup">
<!ENTITY author "Sascha Michel, GraphicHealer">
<!ENTITY version "DO_NOT_EDIT">
<!ENTITY md5 "DO_NOT_EDIT">
<!ENTITY launch "Settings/easybackup">
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
<!ENTITY github "DO_NOT_EDIT">
<!ENTITY pluginURL "https://github.com/&github;/releases/latest/download/&name;.plg">
]>
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" min="6.12.3" icon="file-text-o" support="https://github.com/&github;">
<SUPPORT>https://github.com/&github;</SUPPORT>
<CHANGES>
### 2024.10.15
**Full Changelog**: https://github.com/GraphicHealer/unraid-easybackup/compare/2024.09.24...2024.10.15
### 2024.09.24
**Full Changelog**: https://github.com/GraphicHealer/unraid-easybackup/compare/2024.09.03...2024.09.24
### 2024.09.03.01
- Fix: Update Workflow to Fix Broken TXZ Package
### 2024.09.03
- Add: Enabled and Set Up Github Actions to Automate Package Updates
- Fix: Update job.php to fix "Undefined array key" error
- Fix: Update easybackup0Dashboard.page to fix "Undefined array key" error
- Fix: Update Docker.class.php to fix FileInfo Error
- Fix: Modify 'scandirRecursive' to allow File-Type Mounts in Docker
### 2023.11.28
- Fix: no further attempt to create a backup of ignored VMs and containers.
### 2023.11.10
- Add: Add more ZIP compression which is up to 65% faster. This option must be activated in the settings. In later versions this will be the recommended option.
- Fix: The GUI now loads faster
### 2023.10.29
- Add: Snapshots and backups of started VMs can no longer be performed if no GuestAgent is installed or available.
- Add: Log file now contains all commands executed on the system and their return in debug mode
- Add: The log file will now be renamed after reaching the set maximum size. See more in the help text under Settings
- Add: Experimental function to create a flash backup
- Fix: Tasks that are aborted, for example, by shutting down the system or unexpected errors,
are now also released again in the GUI. An error message is output accordingly via the notifications.
A check for unexpected terminations only takes place when the GUI is opened or the cron job starts as scheduled.
- Fix: Text in warning boxes is now also readable in light designs
- Fix: GuestAgent is now reliably detected.
- Fix: The log file is now downloaded with the correct file name
### 2023.10.11b
- Fix: Create snapshot reports error although everything is correct
### 2023.10.11
- Fix: Snapshot failed without reason
- Add: Download Log Button in Settings Tab
- Add: Clear Log Button in Settings Tab
### 2023.10.10
- Fix: Warning "scandir([...]) Failed to open directory:[...]"
### 2023.09.18
- Fix: Uninstaller removes now all Files.
- Fix: Show Last Backup Timestamp
### 2023.09.12
- Fix installing Bugs for Beta release
### 2023.09.11
- Adding Dashboard Items
- Adding Cleanup old Backups
- Fixing some Bugs
### 2023.09.02
- Initial Release - BETA
</CHANGES>
<!-- The 'pre-install' script. -->
<!--
The 'source' file.
-->
<FILE Name="/boot/config/plugins/&name;/&name;-&version;.txz" Run="upgradepkg --install-new">
<URL>https://github.com/&github;/releases/latest/download/&name;-&version;.txz</URL>
<MD5>&md5;</MD5>
</FILE>
<!--
The 'post-install' script
-->
<FILE Run="/bin/bash">
<INLINE>
rm -f $(ls /boot/config/plugins/&name;/&name;*.txz 2>/dev/null | grep -v '&version;')
echo ""
echo "----------------------------------------------------"
echo " &name; has been installed."
echo " Copyright 2023, &author;"
echo " Version: &version;"
echo "----------------------------------------------------"
echo ""
</INLINE>
</FILE>
<!--
The 'remove' script.
-->
<FILE Run="/bin/bash" Method="remove">
<INLINE>
removepkg &name;-&version;
rm -rf /boot/config/plugins/&name;
rm -rf &plugdir;
echo ""
echo "-----------------------------------------------------------"
echo " &name; has been removed."
echo " Version: &version;"
echo "-----------------------------------------------------------"
echo ""
</INLINE>
</FILE>
</PLUGIN>