Local backup for hubzilla
This commit is contained in:
parent
2e52ff8b8a
commit
7afd0e27a4
|
@ -59,11 +59,20 @@ function upgrade_hubzilla {
|
|||
}
|
||||
|
||||
function backup_local_hubzilla {
|
||||
echo ''
|
||||
echo $"Backing up Hubzilla"
|
||||
|
||||
function_check backup_database_local
|
||||
backup_database_local hubzilla
|
||||
|
||||
function_check backup_directory_to_usb
|
||||
backup_directory_to_usb /root/temphubzilladata hubzilladata
|
||||
backup_directory_to_usb /var/www/${HUBZILLA_DOMAIN_NAME}/htdocs hubzilla
|
||||
|
||||
echo $"Hubzilla backup complete"
|
||||
}
|
||||
|
||||
function backup_remote_hubzilla {
|
||||
echo ''
|
||||
echo -n ''
|
||||
}
|
||||
|
||||
function remove_hubzilla {
|
||||
|
|
Loading…
Reference in New Issue