SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL SERVER 2008 Backup job/Script


SQL SERVER 2008 Backup job/Script

Author
Message
JakDBA
JakDBA
SSC-Enthusiastic
SSC-Enthusiastic (116 reputation)SSC-Enthusiastic (116 reputation)SSC-Enthusiastic (116 reputation)SSC-Enthusiastic (116 reputation)SSC-Enthusiastic (116 reputation)SSC-Enthusiastic (116 reputation)SSC-Enthusiastic (116 reputation)SSC-Enthusiastic (116 reputation)

Group: General Forum Members
Points: 116 Visits: 401
Hi friends,

i was i need of backup job which can backup my 2008 studio SQL Server. after browsing through lots of scripts i was unable to get one which 100% goes with my requirment.

my requirement is
1) it should backup the serverDB with timestamp.
2)**** It should not append to the existing backup file .bak, it should create new backup file to the given drive.
3) it should be easy to automate the process daily.

@JayMunnangi
VastSQL
VastSQL
SSCarpal Tunnel
SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)

Group: General Forum Members
Points: 4369 Visits: 5157
Create a maintenance plan ..tats the simplest way..
JakDBA
JakDBA
SSC-Enthusiastic
SSC-Enthusiastic (116 reputation)SSC-Enthusiastic (116 reputation)SSC-Enthusiastic (116 reputation)SSC-Enthusiastic (116 reputation)SSC-Enthusiastic (116 reputation)SSC-Enthusiastic (116 reputation)SSC-Enthusiastic (116 reputation)SSC-Enthusiastic (116 reputation)

Group: General Forum Members
Points: 116 Visits: 401
Hi,
Thanks for the reply,

Sorry for not informing that i am using 2008 Studio express.
Cannot create Maintainance plans in this edition.

@JayMunnangi
RichardDouglas
RichardDouglas
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1091 Visits: 707
Olla Hallengren has created some awesome maintenance scripts, you can check it out here: http://ola.hallengren.com/

You'll need to schedule the sp's via SQLcmd using the windows task scheduler.

Rich

Hope this helps,
Rich



106919046
106919046
Grasshopper
Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)

Group: General Forum Members
Points: 17 Visits: 18
Hey,
I just solved the problem by search Google.
1. this article might help, http://www.howtogeek.com/50299/batch-script-to-backup-all-your-sql-server-databases/
2. Or try some third-party software to backup your SQL server 2008.

I finally decided on backup software to make everything easier for me even I knew a lot of open source can do nice job, too.
islandwino
islandwino
SSC Rookie
SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)

Group: General Forum Members
Points: 25 Visits: 33
my requirement is
1) it should backup the serverDB with timestamp.
2)**** It should not append to the existing backup file .bak, it should create new backup file to the given drive.
3) it should be easy to automate the process daily.

I've just tried one sql server backup software named Easeus Todo Backup which is famous for its free edition. i think its advanced Server edition which is designed for Exchange and SQL Server database backup can meet your demand.

1) it's backup file is named after the backup time, or you can name the backup file yourself, and you can also add description to the backup file then you will easily identify each different backup file.
2) it creates new backup file of individual or whole database and saves backup file to local hard drive or tape.
3) you can set backup schedule to do automatic database backup. It supports daily, weekly and monthly backup.

you can download its free trial to try it out at www.backup-sql-server.com/download.htm
islandwino
islandwino
SSC Rookie
SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)

Group: General Forum Members
Points: 25 Visits: 33
I've just tried one sql server backup software named Easeus Todo Backup which is famous for its free edition. i think its advanced Server edition which is designed for Exchange and SQL Server database backup can meet your demand.

1) it's backup file is named after the backup time, or you can name the backup file yourself, and you can also add description to the backup file then you will easily identify each different backup file.
2) it creates new backup file of individual or whole database and saves backup file to local hard drive or tape.
3) you can set backup schedule to do automatic database backup. It supports daily, weekly and monthly backup.

you can download its free trial to try it out at www.backup-sql-server.com/download.htm
bailifei2011
bailifei2011
Grasshopper
Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)

Group: General Forum Members
Points: 23 Visits: 11
well, u can try this SQL server backup software which i've been using.
it might meet ur needs. u can schedule automatic backup easily with it.
Todd Beller
Todd Beller
Grasshopper
Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)

Group: General Forum Members
Points: 16 Visits: 8
SQL Backup Master is free, and works very well.

http://www.sqlbackupmaster.com
mail4olek
mail4olek
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 Visits: 26
You can simply use SQLBackupAndFTP. With the help of this tool, you can backup your database on a regular basis. https://sqlbackupandftp.com/blog/how-to-backup-sql-database-automatically/
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search