Change tar archive extension
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
======================
|
======================
|
||||||
Version Description
|
Version Description
|
||||||
|
|
||||||
|
1.0.12......Change tar archive extension.
|
||||||
1.0.11......Backup and Restore implementation changes.
|
1.0.11......Backup and Restore implementation changes.
|
||||||
1.0.10......Cosmetic changes and version number adjust.
|
1.0.10......Cosmetic changes and version number adjust.
|
||||||
1.0.09......Allow for distfiles download override.
|
1.0.09......Allow for distfiles download override.
|
||||||
|
|||||||
+1
-1
@@ -505,7 +505,7 @@ jail_backup()
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# Create backup file with tar.
|
# 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
|
fi
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Failed to backup '${JAIL_NAME}' container."
|
echo "Failed to backup '${JAIL_NAME}' container."
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ $(document).ready(function(){
|
|||||||
<td class="vncellt"><?=gtext("Extension version");?></td>
|
<td class="vncellt"><?=gtext("Extension version");?></td>
|
||||||
<td class="vtable"><span name="getinfo_ext" id="getinfo_ext"><?=get_version_ext()?></span></td>
|
<td class="vtable"><span name="getinfo_ext" id="getinfo_ext"><?=get_version_ext()?></span></td>
|
||||||
</tr>
|
</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>
|
</table>
|
||||||
<div id="submit">
|
<div id="submit">
|
||||||
<input id="save" name="save" type="submit" class="formbtn" title="<?=gtext("Save settings");?>" value="<?=gtext("Save");?>"/>
|
<input id="save" name="save" type="submit" class="formbtn" title="<?=gtext("Save settings");?>" value="<?=gtext("Save");?>"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user