Automatic backup and restore using SQL Server 2014

At its simplest, it sounds like you're trying to do the restore before the backup is complete.