A dry run, just to see if all the bits fit nicely.
New finder and focuser attached. Sealed the ‘gaps’ around the focus mount with some closed cell sticky foam rubber.
Now where do I mount the SkySurfer ?
Modifications to a bash script by Konstantin Kovshenin to backup a WordPress site.
[code lang=”bash”]
# This script creates a compressed backup archive of the given directory and the given MySQL table.
# More details on implementation here: https://theme.fm
# Feel free to use this script wherever you want, however you want. We produce open source, GPLv2 licensed stuff.
# Author: Konstantin Kovshenin exclusively for Theme.fm in June, 2011
# Modification by Pete Stoves at September 2013:
# Lives well with ubuntu virtual hosts etc.
# Make sure we have been passed a site name to backup
if [ -z "$1" ]
then
echo "Please supply a site name (virtual host directory)"
echo "wordpress-backup www.example.com"
exit 1
fi
# Our virtual host folder and site name
SITE=$1
# Set the date format, filename and the directories where your backup files will be placed and which directory will be archived.
NOW=$(date +"%Y-%m-%d-%H%M")
# The name of the final backup file we will create
OUT_FILE="$SITE.$NOW.tar"
# Where our backup will end up
OUT_DIR="/home/stovesy/"
# The base directory for our web server virtual sites
WWW_DIR="/srv/www/"$SITE"/"
# The path and name of the WordPress configuration file
CONFIG_FILE=$WWW_DIR"wp-config.php"
# Get MySQL database credentials
DB_USER=`awk ‘/DB_USER/ {print $2}’ $CONFIG_FILE | awk -F\’ ‘{print $(NF-1)}’`
DB_PASS=`awk ‘/DB_PASSWORD/ {print $2}’ $CONFIG_FILE | awk -F\’ ‘{print $(NF-1)}’`
DB_NAME=`awk ‘/DB_NAME/ {print $2}’ $CONFIG_FILE | awk -F\’ ‘{print $(NF-1)}’`
# The name of the MySQL db dump file
DB_FILE="$DB_NAME.$NOW.sql"
echo "Backing up $WWW_DIR"
echo "Read wordpress config file $CONFIG_FILE"
echo "MySQL is $DB_USER, $DB_PASS, $DB_NAME, to $DB_FILE"
# Tar transforms for better archive structure.
WWW_TRANSFORM=’s,^$WWW_DIR,www,’
DB_TRANSFORM=’s,^$OUT_DIR,database,’
# Create the archive and the MySQL dump
tar -cvf $OUT_DIR$OUT_FILE –transform $WWW_TRANSFORM $WWW_DIR
echo "Running mysqldump –user=$DB_USER –password=$DB_PASS $DB_NAME > $OUT_DIR$DB_FILE"
mysqldump –user=$DB_USER –password=$DB_PASS $DB_NAME > $OUT_DIR$DB_FILE
chown www-data:www-data $OUT_DIR$DB_FILE
# Append the dump to the archive, remove the dump and compress the whole archive.
tar –append –file=$OUT_DIR/$OUT_FILE –transform $DB_TRANSFORM $OUT_DIR/$DB_FILE
rm $OUT_DIR/$DB_FILE
gzip -9 $OUT_DIR/$OUT_FILE
[/code]
It seems that Zentyal has a different view when it comes to where to store samba shares. Traditionally samba shares live under /var/spool/samba. Zentyal disallows this.
To overcome the Path not allowed. It cannot be under error, a little edit is needed.
Open the file SambaShares.pm which is under /usr/share/perl5/EBox/Samba/Model
The list of forbidden share locations is
use constant FILTER_PATH => ('/bin', '/boot', '/dev', '/etc', '/lib', '/root',
'/proc', '/run', '/sbin', '/sys', '/var', '/usr');
Just remove the ,’/var’ entry.
The first upgrade was always going to be the focuser. The standard orion 1.25″ just isn’t up to holding a modern DSLR, so I purchased a 2″ Skywatcher Crayford style.
And after spending a fair bit of time, measuring, marking, re-measuring and double-checking my marking and measuring, I took the plunge with a drill and a grinder.
A couple of holes need filling, and I shall blast the hammer finished metalwork. Then it’s off to the painters for a fresh new coat of white for the tube, and satin black for the accessories.
I also have access to a vinyl cutter machine at work, so reproducing the stickers is not a problem.
You must be logged in to post a comment.