SQL Server - Can we backup database with batch file ?
Asked By Patrick
01-Mar-10 04:42 AM
There is a request to create a batch file to backup a database in SQL
Server 2005 (In addition to database backup in maintenance plan).
Besides, in database maintenance plan, we have set up a clean up task to
clear database backup older than 1 week. If we would like to keep the
manual (batch file) backup, does it mean that the batch SQL Server
database backup file should be located in a different place ?
Thanks
SQL Server 2005
(1)
Backup
(1)
Database
(1)
PatrickSimple
(1)
PatrickWhy
(1)
Supervisor
(1)
Acceptthe
(1)
Uri Dimant replied to Patrick
Patrick
Why with batch? If you want to copy/keep your backup , take a look into
MIRROR clause along with BACKUP command
I would prefer to keep a copy of backup file locally and on the remote
machine as well
Patrick replied to Uri Dimant
Dear Uri,
They would like to take a database backup at any time they prefer.
Besides, they would like to take the backup without informing IT (that
my supervisor has already agreed).
Thanks
Jay replied to Patrick
If someone outside of IT will be executing it and you are willing to accept
the performance impact and security is less of an issue, I would write a
procedure and look into a variety of ways of securing it.
As to where the backup writes to, I would defiantly keep that separate from
regular backups.
Uri Dimant replied to Patrick
Patrick
Simple creating a job that BACKUP command ..
Patrick replied to Jay
Dear Jay and Uri,
Thanks both of your for your advice.
Patrick
Patrick replied to Jay
Dear Jay and Uri,
Thanks both of your for your advice.
Patrick
MSDE on Windows 2003 R2 box, new DL385G6 - Install Fails during SQL Services SQL Server I have been finding that I am having trouble with the Crystal Reports Server XI installation failing when it is dealing with SQL. So, as a thought and in case there was something wrong with my SQL portion of the isntall. I thought ok, I will try installing the actual MSDE application direct from Microsoft. So, I downloaded the MSDE for SQL 2000 (which is msde2000a.exe), set my switches and off to the races. It quit seconds left to the installation and bombed with the same errors as the Crystal Reports Server install. The error is the same whether I try to install MSDE by itself or
SQL Express: Failed Reinstall SQL Server Dear Setup Experts: I am trying to reinstall SQL Express after playing with it some. I uninstalled it, and now, it refuses to reinstall in the face. Any ideas what this log file means and how I can get SQL Express installed? I really do not want to have to reinstall my whole system. * ** ** Start of Log File Overall summary: Final result: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup. Exit code (Decimal): -2068643839 Exit facility code: 1203
how to synchronize local and remote sql server databases SQL Server I want to synchronize local version of SQL Server Database 2005 with that of remote version of SQL Server database 2005. Are there any tools available
migration from SQL 2000 to SQL 2008 SQL Server I am working on to migrate my SQL 2000 database to SQL 2008. I use SSMS to connect 2 SQL Servers and want to backup SQL 2000 database and restore on SQL 2008. I just
SQLServer Error: 802, 701, 733 SQL Server SQL Server 2008 on Win2008 R2 x64 Server, 8 GB RAM - running virtualized on VMWare ES-Server Every sunday some maintainance jobs are scheduled to run. Rebuilding indices and statistics fail with There is insufficient memory available in the buffer pool. [SQLSTATE 42000] (SaveAllSchedules) After this the server is no longer reachable: [298] SQLServer Error: 773, SQL Server Network Interfaces: The requested security package does not exist [SQLSTATE 08001] . . . [298] SQLServer Error