Click here to monitor SSC
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
Valued Member
Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)

Group: General Forum Members
Points: 63 Visits: 400
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
Hall of Fame
Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)

Group: General Forum Members
Points: 3028 Visits: 5017
Create a maintenance plan ..tats the simplest way..
JakDBA
JakDBA
Valued Member
Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)Valued Member (63 reputation)

Group: General Forum Members
Points: 63 Visits: 400
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
SSC Eights!
SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)

Group: General Forum Members
Points: 991 Visits: 706
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
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 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
Grasshopper
Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)

Group: General Forum Members
Points: 15 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
Grasshopper
Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)

Group: General Forum Members
Points: 15 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
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 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
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: 8
SQL Backup Master is free, and works very well.

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

Group: General Forum Members
Points: 1 Visits: 17
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