Local or remote backups

This commit is contained in:
Bob Mottram 2016-07-06 14:55:09 +01:00
parent 737ea96f7f
commit 861c1d8bc0
24 changed files with 116 additions and 24 deletions

View File

@ -32,7 +32,11 @@
ENABLE_BABEL="no"
BABEL_PORT=6696
function backup_babel {
function backup_local_babel {
echo ''
}
function backup_remote_babel {
echo ''
}

View File

@ -45,7 +45,11 @@ function configure_firewall_for_batma {
echo 'configure_firewall_for_batman' >> $COMPLETION_FILE
}
function backup_batman {
function backup_local_batman {
echo ''
}
function backup_remote_batman {
echo ''
}

View File

@ -36,7 +36,11 @@ FULLBLOG_COMMIT='bf5fe9486160be4da86d8987d3e5c977e1dc6d32'
MY_BLOG_TITLE="My Blog"
MY_BLOG_SUBTITLE="Another ${PROJECT_NAME} Blog"
function backup_blog {
function backup_local_blog {
echo ''
}
function backup_remote_blog {
echo ''
}

View File

@ -107,7 +107,11 @@ function get_cjdns_password {
fi
}
function backup_cjdns {
function backup_local_cjdns {
echo ''
}
function backup_remote_cjdns {
echo ''
}

View File

@ -49,7 +49,11 @@ function configure_firewall_for_dlna {
echo 'configure_firewall_for_dlna' >> $COMPLETION_FILE
}
function backup_dlna {
function backup_local_dlna {
echo ''
}
function backup_remote_dlna {
echo ''
}

View File

@ -28,7 +28,11 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
function backup_emacs {
function backup_local_emacs {
echo ''
}
function backup_remote_emacs {
echo ''
}

View File

@ -47,7 +47,11 @@ SHARINGS_COMMIT='d5c6c7f855d9afff9086c09ea706f38c859bc0d4'
SHARINGS_THEME_REPO="http://git.lasindias.club/manuel/SharingsTheme"
SHARINGS_THEME_COMMIT='7106c7ef03'
function backup_gnusocial {
function backup_local_gnusocial {
echo ''
}
function backup_remote_gnusocial {
echo ''
}

View File

@ -35,7 +35,11 @@ GIT_DOMAIN_REPO="https://github.com/gogits/gogs"
GIT_ADMIN_PASSWORD=
GOGS_COMMIT='3fb4f7f4980b4339fd9ef6a3ba5b0acab83d264d'
function backup_gogs {
function backup_local_gogs {
echo ''
}
function backup_remote_gogs {
echo ''
}

View File

@ -38,7 +38,11 @@ HUBZILLA_ADMIN_PASSWORD=
HUBZILLA_COMMIT='2d79e75788aa71664a379c4cea0b6bfe3ab87ad0'
HUBZILLA_ADDONS_COMMIT='67b40c7a40f328a93ee030eb15e9e1261f3cba64'
function backup_hubzilla {
function backup_local_hubzilla {
echo ''
}
function backup_remote_hubzilla {
echo ''
}

View File

@ -32,7 +32,11 @@ IPFS_GO_REPO="https://github.com/ipfs/go-ipfs"
IPFS_COMMIT='20b06a4cbce8884f5b194da6e98cb11f2c77f166'
IPFS_PORT=4001
function backup_ipfs {
function backup_local_ipfs {
echo ''
}
function backup_remote_ipfs {
echo ''
}

View File

@ -34,7 +34,11 @@ IRC_ONION_PORT=6697
# An optional password to log into IRC. This applies to all users
IRC_PASSWORD=
function backup_irc {
function backup_local_irc {
echo ''
}
function backup_remote_irc {
echo ''
}

View File

@ -35,7 +35,11 @@ MEDIAGOBLIN_COMMIT='d1ac2d52fd8859c3f32fa38e4836ffe9615e5bba'
MEDIAGOBLIN_ADMIN_PASSWORD=
MEDIAGOBLIN_ONION_PORT=8096
function backup_mediagoblin {
function backup_local_mediagoblin {
echo ''
}
function backup_remote_mediagoblin {
echo ''
}

View File

@ -37,7 +37,11 @@ VOIP_PORT=64738
VOIP_DATABASE="mumble-server.sqlite"
VOIP_CONFIG_FILE="mumble-server.ini"
function backup_mumble {
function backup_local_mumble {
echo ''
}
function backup_remote_mumble {
echo ''
}

View File

@ -40,7 +40,11 @@ RSS_READER_PATH=/etc/share/tt-rss
RSS_READER_GNUSOCIAL_REPO="https://github.com/bashrc/ttrss-gnusocial"
RSS_READER_GNUSOCIAL_COMMIT='8b92b8f5db7b0d12459c7bd86a50f48815efe642'
function backup_rss {
function backup_local_rss {
echo ''
}
function backup_remote_rss {
echo ''
}

View File

@ -36,7 +36,11 @@ SEARX_ONION_HOSTNAME=
SEARX_LOGIN_TEXT=$"Search engine login"
SEARX_PASSWORD=
function backup_searx {
function backup_local_searx {
echo ''
}
function backup_remote_searx {
echo ''
}

View File

@ -35,7 +35,11 @@ VOIP_TURN_PORT=3478
VOIP_TURN_TLS_PORT=5349
VOIP_TURN_NONCE=
function backup_sip {
function backup_local_sip {
echo ''
}
function backup_remote_sip {
echo ''
}

View File

@ -37,7 +37,11 @@ SYNCTHING_PORT=22000
SYNCTHING_SHARED_DATA=/var/lib/syncthing/SyncShared
SYNCTHING_USER_IDS_FILE='.syncthingids'
function backup_syncthing {
function backup_local_syncthing {
echo ''
}
function backup_remote_syncthing {
echo ''
}

View File

@ -44,7 +44,11 @@ TOXIC_REPO="https://github.com/Tox/toxic"
TOXIC_COMMIT='cf16849b374e484a33a4dffa3dfb937b59d537f2'
TOXIC_FILE=/usr/local/bin/toxic
function backup_tox {
function backup_local_tox {
echo ''
}
function backup_remote_tox {
echo ''
}

View File

@ -28,7 +28,11 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
function backup_vpn {
function backup_local_vpn {
echo ''
}
function backup_remote_vpn {
echo ''
}

View File

@ -36,7 +36,11 @@ WEBMAIL_ADMIN_PASSWORD=
WEB_PATH=/var/www
WEBMAIL_PATH=$WEB_PATH/webmail
function backup_webmail {
function backup_local_webmail {
echo ''
}
function backup_remote_webmail {
echo ''
}

View File

@ -34,7 +34,11 @@ WIKI_TITLE="${PROJECT_NAME} Wiki"
WIKI_CODE=
WIKI_ONION_PORT=8089
function backup_wiki {
function backup_local_wiki {
echo ''
}
function backup_remote_wiki {
echo ''
}

View File

@ -35,7 +35,11 @@ XMPP_PASSWORD=
XMPP_CIPHERS='"EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA256:EECDH:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!IDEA:!ECDSA:kEDH:CAMELLIA128-SHA:AES128-SHA"'
XMPP_ECC_CURVE='"secp384r1"'
function backup_xmpp {
function backup_local_xmpp {
echo ''
}
function backup_remote_xmpp {
echo ''
}

View File

@ -45,7 +45,11 @@ ZERONET_DEFAULT_MAIL_TAGLINE="Mail for the Mesh"
ZERONET_ID_REPO="https://github.com/HelloZeroNet/ZeroID"
ZERONET_ID_COMMIT='ccf14fdc96fa9cdb2ddd8a7ab283a8e17a4f234b'
function backup_zeronet {
function backup_local_zeronet {
echo ''
}
function backup_remote_zeronet {
echo ''
}

View File

@ -65,7 +65,7 @@ function test_app_functions {
fi
# check that these functions exist
interface_functions=( install remove backup )
interface_functions=( install remove backup_local backup_remote )
# for all the app scripts
for filename in $FILES