Mastercontainer updpate currently running. It will restart the mastercontainer soon which will make it unavailable for a moment. Please wait until thats done.<br /><br />
Restore or Backup currently running and container update available. Cannot start the containers until that's done.<br /><br />
{%else%}
{%ifwas_start_button_clicked==false%}
Clicking on the button below will download all docker containers and start them. This can take a lot of time depending on your internect connection. Since the overall size is a few GB, this will take around 5-10 min or more. So be aware and patient!<br><br>
<input class="button " type="submit" value="Start and update containers" onclick="return confirm('Start and update containers? You should consider creating a backup first.')" />
</form>
{%endif%}
{%endif%}
{%endif%}
{%ifis_mastercontainer_update_available==true%}
{%ifisBackupOrRestoreRunning==false%}
<h2>Mastercontainer update</h2>
A new mastercontainer is available. Please click on the button below to update it.<br><br>
<span class="status error"></span> Last {{borg_backup_mode}} failed! (<a href="/api/docker/logs?id=nextcloud-aio-borgbackup">Logs</a>)<br /><br />
{%elseifbackup_exit_code==0%}
{%ifborg_backup_mode=="backup"%}
<span class="status success"></span> Last {{borg_backup_mode}} succesful on {{last_backup_time}}! (<a href="/api/docker/logs?id=nextcloud-aio-borgbackup">Logs</a>)<br /><br />
{%else%}
<span class="status success"></span> Last {{borg_backup_mode}} succesful! (<a href="/api/docker/logs?id=nextcloud-aio-borgbackup">Logs</a>)<br /><br />
{%endif%}
{%endif%}
{%endif%}
{%ifisBackupContainerRunning==false%}
This is your encryption password for backups: {{borgbackup_password}} <br /><br/>
Please save it at a safe place since you won't be able to restore from backup if you loose this password! <br /><br/>
Backed up will get all important data of your Nextcloud AIO instance like the database, your files and configuration files of the mastercontainer and else. <br /><br/>
The backup itself will use a tool that is called <a href="https://github.com/borgbackup/borg#what-is-borgbackup">BorgBackup<a/> which is a well-known server backup tool that efficiently backs up your files and encrypts them on the fly. <br /><br/>
Backups get created in the following directory on the host: {{borg_backup_host_location}}/borg <br /><br/>
<input class="button" type="submit" value="Create backup" onclick="return confirm('Create backup? Are you sure that you want to create a backup? This will stop all running containers and create the backup.')" />
</form>
{%ifhas_backup_run_once==true%}
Click on the button below to perform a backup integrity check. This is an option that verifies that your backup is intact but it should't be needed in most situtations.<br><br/>
<input class="button" type="submit" value="Check backup integrity" onclick="return confirm('Check backup integrity? Are you sure that you want to check the backup? This can take a long time depending on the size of your backup.')" /><br/>
</form>
Click on the button below to restore the last backup from {{last_backup_time}}. This will overwrite all your files with the state of the backup. It makes sense to run an integrity check before restoring your files but is not mandatory since it shouldn't be needed in most situations.<br><br>
<input class="button" type="submit" value="Restore last backup" onclick="return confirm('Restore last backup? Are you sure that you want to restore the last backup? This will stop all running containers and restore the last backup from {{last_backup_time}}. You might want to check the backup integrity first.')" />