-
Notifications
You must be signed in to change notification settings - Fork 0
SQL Backup Notes
Backup permissions: http://sqlbak.com/blog/backup-permissions/
Query to use as admin if getting permission denied error after giving user db_backupoperator permission
USE [IMS]
GO
GRANT ALTER TO DATABASELOGIN
GO
Setting up recurring backups: https://msdn.microsoft.com/en-us/library/ms191002.aspx
Steps to get backup working on front_end (as of February 22, 2016):
-
Make folder C:\backup
-
Create user using SQLManagementStudio
User: IMSBackup
pw: backup -
give new user these permissions:
User mapping:
db_backupoperator
db_denydatawriter
db_denydatareader
Server roles: dbcreator -
Edit BackupDatabase.php and RestoreDatabase.php
Update the $server variable with your windows credentials -
Ensure database recovery is set to simple Right click IMS folder -> properties -> options -> recovery model -> simple
OR
Run query:
ALTER DATABASE IMS SET RECOVERY SIMPLE