Skip to content

Instantly share code, notes, and snippets.

View jondoig's full-sized avatar

Jon Doig jondoig

  • Sydney Australia
View GitHub Profile
@jailbirt
jailbirt / backupRestoreGeonode.sh
Last active June 12, 2018 06:59
backup and restore geonode
#!/bin/bash
option=$1
geonodeBackup='/home/geonode_backups'
mkdir $geonodeBackup
date=$(date +%Y-%m-%d-%H)
function stopServices
{
echo "Stopping services"
sudo service apache2 stop