diff --git a/src/freedombone-app-mediagoblin b/src/freedombone-app-mediagoblin index a83e2f91..0b88e8d5 100755 --- a/src/freedombone-app-mediagoblin +++ b/src/freedombone-app-mediagoblin @@ -38,19 +38,27 @@ MEDIAGOBLIN_ADMIN_PASSWORD= MEDIAGOBLIN_ONION_PORT=8096 function upgrade_mediagoblin { - echo -n '' + echo -n '' } function backup_local_mediagoblin { - echo -n '' + echo -n '' +} + +function restore_local_mediagoblin { + echo -n '' } function backup_remote_mediagoblin { - echo -n '' + echo -n '' +} + +function restore_remote_mediagoblin { + echo -n '' } function remove_mediagoblin { - echo -n '' + echo -n '' } function install_mediagoblin { diff --git a/src/freedombone-restore-local b/src/freedombone-restore-local index 47d4ab1f..7502173b 100755 --- a/src/freedombone-restore-local +++ b/src/freedombone-restore-local @@ -957,29 +957,6 @@ function restore_syncthing { fi } -function restore_mediagoblin { - if [[ $RESTORE_APP != 'all' ]]; then - if [[ $RESTORE_APP != 'mediagoblin' ]]; then - return - fi - fi - if [ ! $MEDIAGOBLIN_DOMAIN_NAME ]; then - return - fi - - if [ -d $USB_MOUNT/backup/mediagoblin ]; then - restore_directory_from_usb /root/tempmediagoblin mediagoblin - cp -r /root/tempmediagoblin/* / - if [ ! "$?" = "0" ]; then - set_user_permissions - backup_unmount_drive - exit 67843 - fi - rm -rf /root/tempmediagoblin - chown -hR mediagoblin:www-data /var/www/$MEDIAGOBLIN_DOMAIN_NAME/htdocs - fi -} - function restore_email { if [[ $RESTORE_APP != 'all' ]]; then if [[ $RESTORE_APP != 'email' ]]; then @@ -1073,7 +1050,6 @@ restore_gnusocial restore_hubzilla restore_rss restore_syncthing -restore_mediagoblin restore_email restore_apps