mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
backups: Validate backup manifests
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
1 parent
f1527bb7df
commit
623dbb4cbf
10 files changed
+77
-18
No files matched your search
@@ -15,7 +15,9 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
backup = {
|
||||
from plinth.backup import validate as validate_backup
|
||||
|
||||
backup = validate_backup({
|
||||
'config': {
|
||||
'directories': ['/etc/ez-ipupdate/'],
|
||||
'files': [],
|
||||
@@ -29,4 +31,4 @@ backup = {
|
||||
'files': [],
|
||||
},
|
||||
'services': []
|
||||
}
|
||||
})
|
||||
Reference in new issue
Block a user