Change tar archive extension

This commit is contained in:
Jose
2019-11-21 02:14:57 -04:00
parent f4f667da39
commit 25f55af3ec
4 changed files with 4 additions and 3 deletions

View File

@@ -3,6 +3,7 @@
======================
Version Description
1.0.12......Change tar archive extension.
1.0.11......Backup and Restore implementation changes.
1.0.10......Cosmetic changes and version number adjust.
1.0.09......Allow for distfiles download override.

View File

@@ -505,7 +505,7 @@ jail_backup()
fi
else
# Create backup file with tar.
cd ${CWDIR}/jails && tar ${EXCLUDE} -zcf ${JAIL_NAME}-${DATE}.tar ${JAIL_NAME} && mv ${JAIL_NAME}-${DATE}.tar ${CWDIR}/backups
cd ${CWDIR}/jails && tar ${EXCLUDE} -zcf ${JAIL_NAME}-${DATE}.tgz ${JAIL_NAME} && mv ${JAIL_NAME}-${DATE}.tgz ${CWDIR}/backups
fi
if [ $? -ne 0 ]; then
echo "Failed to backup '${JAIL_NAME}' container."

View File

@@ -271,7 +271,7 @@ $(document).ready(function(){
<td class="vncellt"><?=gtext("Extension version");?></td>
<td class="vtable"><span name="getinfo_ext" id="getinfo_ext"><?=get_version_ext()?></span></td>
</tr>
<?php html_filechooser("backup_path", gtext("Backup directory"), $backup_path, gtext("Directory to store containers .tar backup archives, use as file chooser for restoring from file."), $backup_path, true, 60);?>
<?php html_filechooser("backup_path", gtext("Backup directory"), $backup_path, gtext("Directory to store containers backup archives, use as file chooser for restoring from file."), $backup_path, true, 60);?>
</table>
<div id="submit">
<input id="save" name="save" type="submit" class="formbtn" title="<?=gtext("Save settings");?>" value="<?=gtext("Save");?>"/>

View File

@@ -1 +1 @@
1.0.11
1.0.12