Add hidden option to restore dumped ITFlow Database during Setup

This commit is contained in:
johnnyq
2025-05-07 14:32:51 -04:00
parent b943c9cd89
commit 241ec50802
3 changed files with 123 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ require_once "includes/inc_all_admin.php";
<div class="card-body" style="text-align: center;">
<div class="alert alert-secondary">If you are unable to back up the entire VM, you'll need to back up the files & database individually. There is no built-in restore. See the <a href="https://docs.itflow.org/backups" target="_blank">docs here</a>.</div>
<a class="btn btn-primary btn-lg p-3" href="post.php?download_database&csrf_token=<?php echo $_SESSION['csrf_token'] ?>"><i class="fas fa-fw fa-4x fa-download"></i><br><br>Download database</a>
<a class="btn btn-primary btn-lg p-3" href="post.php?download_uploads&csrf_token=<?php echo $_SESSION['csrf_token'] ?>"><i class="fas fa-fw fa-4x fa-download"></i><br><br>Download Uploads</a>
</div>
</div>