Move to jenkins home to make archive

The other way means that /var/lib/jenkins is in the archive.
Use sudo to stop and start service

This script will run under the context of the ec2-user, which has
passwordless sudo.
Add restored Jenkins role and profile
Pass environment variable to exec

This isn't an ideal solution, but it's due to the fact that the Puppet
exec type doesn't preserve the environment like a login shell does, and
the script that does the restoration is relying on this variable being
set. The variable could also be exported in the script, but one
solution doesn't really seem any better than the other.
Remove plugins from restored installation

These will come from the restored data, so aren't necessary on the
restored installation.