From 30,000 feet

In the sky

One thing that you learn in life is that no two people will see or hear the same thing and that really fascinates me. It all comes down to perception and emotional intelligence, in my humble opinion. The fact is that people see things from very different perspectives in life based on the life that they have lived.

One thing that is *always* worth doing is standing back and taking a look at your business from 30,000ft to see if what you are doing and where you are going is really where you want to be. As human beings we are so involved in our day to day life are serving our clients and providing them with what they want that it’s very easy to forget.

So the lesson for today is to stop and look at where you are and more importantly where you want to be going……you’ll be surprised at how different things look from 30,000 feet!

– Rob

Posted in Business, Personal Develoment, small business | 2 Comments

Time to look around

Busy_ManI have been a little quiet of late due to some heavy work commitments which have been keeping me very busy. This is something I feel a little guilty for as it has meant that I have had to neglect some of my social media and blogging activities which are some of the things that take great pleasure in. However, now that things are starting to settle and get to an even beat I can finally start to look around a little more.

One of the things that I have always taken for granted is the ability to be able to rule the time that I spend and how that time is allocated. What the last 4 weeks have taught me is that there will be some times when things will rule me and while that feels very uncomfortable it is none the less necessary from time to time.

So what did this experience teach me?

  • First and foremost *make* the time to stop and look at what you are doing with your time. While ever you are doing things as they hit you, without assessing their priority first you can never make progress.
  • Take half an hour just to sit and think about all the stuff that you have running rampant in your head and get it down on paper, at least that way you can start to make sense of it all.
  • Don’t be that person that has lost their head. When you are bombarded by requests to do ‘stuff’, try to slow down and think a little more.
  • Most of all remember that there’s always tomorrow!

For me though I need to bring order to working life again as things are starting to get really busy…maybe time to start hiring again!

– Rob

Posted in Personal, Personal Develoment, small business | 1 Comment

Sharepoint 2010 backup with Powershell

Always one for trying to get things automated then I wanted to get backups of my new Sharepoint 2010 website automated. Previously I have not had a great experience of this, as I never tried a restore of the backup set before it was time…still we live and learn. In previous versions of Sharepoint backups were taken care of through the use of STSADM however this is not the case in the latest version. You can, as always, run a manual backup through the central administration console on the server but this is not what I needed. So I started searching around and found a couple of articles on the web which described the use of the Powershell to perform backups, so here is what I have come up with through the combination of the two sources:


Add-PsSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue
try
{
  $today = (Get-Date -Format dd-MM-yyyy)
# Created the a new directory with todays date and store in a variable
  [IO.Directory]::CreateDirectory("F:sp_backup"+$today)
  $backuppath = "F:sp_backup"+$today

# This will iterate through all of your sharepoint sites and create a backup with the site URL as the name 
  Get-SPWebApplication | Get-SPSite | ForEach-Object{$filepath = $backuppath + "" + $_.Url.Replace("http://","").Replace("/","-").Replace(":","-") + ".bak" ; Backup-SPSite -Identity $_.Url -Path $filepath}

# Edit this address to suit your own needs 
  $emailFrom = “Sharepoint@server.local

# This is the address that the notification email should be sent to 
  $emailTo = “administrator@server.local

# Subject for the notification email. The + “$today” part will add the date in the subject.
  $subject = "The SharePoint sites Backup was Successful for "+"$today"

# Body or the notification email. The + “$today” part will add the date in the subject.
  $body = "The SharePoint sites Backup was Successful for "+"$today"

  # IP address of your SMTP server. Make sure relay Is enabled for the SharePoint server on your SMTP server
  $smtpServer = "1.1.1.1"
  $smtp = new-object Net.Mail.SmtpClient($smtpServer)
  $smtp.Send($emailFrom, $emailTo, $subject, $body)
}
Catch
{
  $ErrorMessage = $_.Exception.Message
  # Configure the below parameters as per the above.
  $emailFrom = “Sharepoint@server.local
  $emailTo = “administrator@server.local
  $subject = "The SharePoint sites Backup Job failed on "+"$today"
  $body = "The SharePoint sites Backup Job failed on "+"$today and the reason for failure was $ErrorMessage."
  $smtpServer = "1.1.1.1"
  $smtp = new-object Net.Mail.SmtpClient($smtpServer)
  $smtp.Send($emailFrom, $emailTo, $subject, $body)
}

 

This script can simply be copied into notepad and saved onto your server as a “.ps1” file. This can then be run straight from the servers “run” command by entering “powershell {scriptname}.ps1” and it will create a backup file, this in turn can be used to created a scheduled task on your server to be run each day/week etc.

Credit where due though, this script is a combination of the following 2 sources:

http://thecommunicator.co.cc/2010/12/07/automated-powershell-script-to-backup-sharepoint-farm-or-site-collection-with-email-notification/

http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?List=56f96349-3bb6-4087-94f4-7f95ff4ca81f&ID=191&Web=48e6fdd1-17db-4543-b2f9-6fc7185484fc

Hopefully this will help others out there Smile

– Rob

Posted in Business, IT Support, Microsoft, SBS, Sharepoint, small business | Leave a comment

Lost in the fog

Outside it is really foggy and has been throughout today and yesterday, so much so that the MetOffice has described it as ‘Dense Fog’. Quite apt really as that’s the way I have been feeling for the last couple of weeks.

We went away earlier this month for some well earned R & R and it was great but since we got back, which will be 3 weeks this Saturday, I have not been able to get back into the early starts which allowed me to go out for early morning runs and I have to say that I am really missing them at the minute. That compounded with the freezing weather keeping me off the bike it has not been a great month for exercise for me and it’s starting to bug me now.

What I’ve had to do in my own head is to rationalise it and resign myself to the fact that I will not be back out running until the New Year now, which thankfully is only next week. It would be all to easy to allow myself to get completely demoralised by this and, in my own head, really start to beat myself up for being a complete failure at getting motivated. On this occasion I have been able to look at where I want to be and lay out a plan for me to get where I want to be. What I have done is to ensure that I don’t demoralise myself further by punishing myself for failing but instead working out how I can move past this in a positive way which in turn will allow me to move forward.

So if you find yourself in the same situation then don’t focus on what you are not achieving but instead focus on what you can do to succeed.

– Rob

Posted in life, Light relief, Personal, Personal Develoment | Leave a comment

Vick vaporub

I took Tom to the doctors today as he’s had a real cough this last week and been spiking quite high temp’s.  While Nurofen is keeping his temperature in check he was getting no better so it was a trip to the doctors. After being checked out he said that what Tom had was viral so there was nothing that could be done at this time, I simply had to keep an eye on him to make sure that it doesn’t develop into anything more substantial.

What he did say was that, to relieve the coughing, I should run Vick VapoRub  on the soles of his feet at bedtime and then put his socks over the top. He said it had been sent to him from a friend overseas and it had worked for him as it had with others that he knew and as he said, it’s not going to hurt so give it a try. I will try it tonight and let you know how Tom get’s on as it’s the coughing all night that is giving him the most hassle.

That said, a simple search on google has revealed that this is nothing new and lots of people have said they tried it with 100% success…take a look for yourself.

http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=vicks+rub+sole+feet

– Rob

Posted in life, Personal | Leave a comment