Here is the step-by-step procedure about how to backup Citrix database on SQL 2005 server.
Note: Do not use DSMAINT BACKUP builtin Citrix command. This command is only used if you want to take backup of MS Access or MSDE database.
Backup up database
Steps
The backedup database can be restore any time if you feel datastore has been corrputed. To do so perform the following steps.
Note: Do not use DSMAINT BACKUP builtin Citrix command. This command is only used if you want to take backup of MS Access or MSDE database.
Backup up database
Steps
- Log into the database server and open Microsoft SQL Server Management Studio.
- Navigate to the Citrix/XenApp database. Here I am using the database named "XenApp".
- Right Click on the database --> Tasks --> Back Up
- Select the backup type. The default is Full. I prefer to use Full database backup as the database size is very small.
- Click on Option. Keep the default options. To schedule the backup job click on Script and then select Script action to job.
- Go to Schedule and click on New to create a backup schedule.
- Click OK thrice to start and schedule the backup process. Once database backed-up successfully, you will get the following notification.
- The default backup location is C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\
The backedup database can be restore any time if you feel datastore has been corrputed. To do so perform the following steps.
- To restore, Right Click on Database and then select Restore Database.
- Select the To Database and From Database from the drop-down list. Here I have selected XenApp as this is the database I want to restore.
- Go to Option and select Overwrite the existing database. Click OK to start the restoration procedure.
- After restoration is successfully completed, you will get the following message. Click OK to close the message.
nice work dude....lot of info is there....thanks..
ReplyDeleteWe just had a part of our datastore corrupted, only user policies part.
ReplyDeleteWe got a farm with more then one server in it, do we need to restart services to get the local database refilled when replacing the central one?
Johnny,
ReplyDeleteRestarting services may be an option, but if it does not work I think it's better to restore the database if you have proper backup.
Thanks.
Thanks for sharing the recovery guide. I would like also to suggest you a third party utility, with the help of this software we can recover your data in few minutes. Website offering free version also. visit the urls to get more information.
ReplyDeletehttp://www.recoverydeletedfiles.com/sql-database-recovery-software.html
Thanks
This comment has been removed by the author.
ReplyDeleteSQL Database Repair is the best SQL database repair software that comes with plethora of options to recover data from corrupt or damaged SQL databases. The software can repair/recover both the .MDF and .NDF SQL database files. Corruption of damage of the SQL database file can occur due to several reasons, including application malfunction, file header corruption, OS crash, virus infection etc. The smart scan engine of the software is equipped to carry out precise database recovery through non-destructive mechanisms.For more information click
ReplyDeletehttp://database-recovery.weebly.com
SQL database stores data in MDF format which sometimes may get corrupt due to Virus attack, invalid database file header, insufficient available space, corruption of media etc. In such situations the user can use the software SQL Recovery which can recovers the data from corrups MDF file. More information about this tool can be found at :- http://www.filesrepairtool.com/sql-database-repair.html
ReplyDeleteAnother SQL Database Recovery is the best options to recover data from damaged or corrupt SQL databases. The software can repair both the MDF and NDF SQL database files.This software work on QFSCI algorithm and recover data in script form.
ReplyDeleteDownload now: http://www.pcrecoveryutility.com/sql-database-recovery.html