• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Error 3154 – Restore SQL database is terminating abnormally

Scheduled Pinned Locked Moved Development
2 Posts 2 Posters 880 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    rogermathew
    last edited by rogermathew Dec 10, 2018, 3:02 AM Dec 10, 2018, 3:00 AM

    Hello Experts,

    Our team is developing a module which takes data from SQL Sever database 2014 and shows the data on Magic Mirror screen. We are in trouble while accessing database, all data not show on the screen. The, we tried to restore SQL database and face SQL Error 3154. To fix this kind of error, we are tried T-SQL command but no result found. Then we try to use WITH REPLACE while using restore script.

    RESTORE FILELISTONLY
    FROM DISK = 'C:\company_file.bak'
    GO
     
    RESTORE DATABASE company_file
    FROM DISK = 'C\:company_file.bak'
    WITH MOVE 'company_file_Data' TO 'C:\Database\company_file.mdf',
    MOVE 'companyfile_Log' TO 'C:\Database\companyfile.ldf',
    REPLACE
    

    After executing these commands we are still facing error. Then someone suggested me to use below resources, but we are confused which one is better.
    Please provide full proof method.
    https://forum.magicmirror.builders/topic/6803/magicmirror-to-mssql
    https://www.essentialsql.com/error-3154-restore-sql-database/
    https://www.stellarinfo.com/sql-recovery.php

    N 1 Reply Last reply Jan 29, 2019, 1:15 PM Reply Quote 0
    • N Offline
      nourimane @rogermathew
      last edited by Jan 29, 2019, 1:15 PM

      @rogermathew said in Error 3154 – Restore SQL database is terminating abnormally:

      Hello Experts,

      Our team is developing a module which takes data from SQL Sever database 2014 and shows the data on Magic Mirror screen. We are in trouble while accessing database, all data not show on the screen. The, we tried to restore SQL database and face SQL Error 3154. To fix this kind of error, we are tried T-SQL command but no result found. Then we try to use WITH REPLACE while using restore script.

      RESTORE FILELISTONLY
      FROM DISK = 'C:\company_file.bak'
      GO
       
      RESTORE DATABASE company_file
      FROM DISK = 'C\:company_file.bak'
      WITH MOVE 'company_file_Data' TO 'C:\Database\company_file.mdf',
      MOVE 'companyfile_Log' TO 'C:\Database\companyfile.ldf',
      REPLACE
      

      After executing these commands we are still facing error. Then someone suggested me to use below resources, but we are confused which one is better.
      Please provide full proof method.
      https://forum.magicmirror.builders/topic/6803/magicmirror-to-mssql
      https://www.essentialsql.com/error-3154-restore-sql-database/
      https://www.stellarinfo.com/sql-recovery.php

      I have no idea, but I have a suggestion :
      Create a proxy service, so you donot have to access database directly but a distant service.
      This last will access the database. You can use the platform you want especially .Net technology which is very easy to integrate with SQL Server.

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy