Showing posts with label backup. Show all posts
Showing posts with label backup. Show all posts

Friday, March 23, 2012

How to setup DB Backup?

Hi,

I need to delete all backups that are more than a day old . When I set-up a new maintenance plan using "Maintenance Plan Wizard", I don't get an option to retain backups only for "1" day... can you tell me where I should be setting this up? In a SQL 2000, this option was available... Thanks!

Which edition and version are you using?

Wednesday, March 21, 2012

How to setup DB Backup?

Hi,

I need to delete all backups that are more than a day old . When I set-up a new maintenance plan using "Maintenance Plan Wizard", I don't get an option to retain backups only for "1" day... can you tell me where I should be setting this up? In a SQL 2000, this option was available... Thanks!

Which edition and version are you using?

How to setup DB Backup?

Hi,

I need to delete all backups that are more than a day old . When I set-up a new maintenance plan using "Maintenance Plan Wizard", I don't get an option to retain backups only for "1" day... can you tell me where I should be setting this up? In a SQL 2000, this option was available... Thanks!

Which edition and version are you using?

How to setup a backup server for SQL Server2005 for production (in case the primary server fails

I currently have a SQL Server cluster setup with a Primary DB Server SERVER1 and the Standby server SERVER2. SERVER1 has been failing more than normal is the past few weeks and its takes upto 5 mins for SERVER2 realize that SERVER1 is down. I am looking for a better way to implement a backup server on production with minimum downtime. Please adivse..

you have two options one is Database mirroring and other is log shipping in sql 2005..........but i advise you to go with db mirroring as the downtime is less in high availability mode as you have a witness server and hence the failover will be automatic and within few seconds............but in log shipping only manual failover is possible........refer,

http://dumthata.com/sqlchn/articles/dbmrr.htm

http://dumthata.com/sqlchn/articles/lship.htm

Going forward pls post in the appropriate forum as it would be easier to read through and answer....

Monday, March 19, 2012

How to set up a stable backup plan?

Our database is more than 20,000,000 bytes and increase largely everyday

who can give me some advise about stable backup?

My database is sqlserver2005 and now i use files to backup including full backup and diff backup,whether is better to use device?

any ideas? thanks in advance

Your backup plan will depend on your recovery point objective (RPO) and recovery time objective (RTO). How long should it take for you to restore your databases should a disaster strikes? How critical is your data and from when do you need to have your data restore? You should also look at your database recovery model as this will affect your RPO and RTO.|||

thanks in advance,however RPO and RTO seem a little different for me,can u give me some details about that? and any ideas about what i did now

1.I first set up maintenace plan ,backup full and diff database to files and specify schedule

2.set up a job,type is ssis and package is from "maintencace plan/***" and specify schedule same with backup plan

two issues:

1.whether i need to backup transaction log in maintenace plan?

2.what's the difference backup to files and backup devices? which is better?

I think if i write T-SQL script in job and backup database to device, looks simple,is it right?

any ideas about thisT-SQL script?

much appreciate

|||

Hi Andrew,

RTO is the maximum amount of time that the service can be unavailable whereas RPO is the maximum amound of data that can be lost following a disaster. So, your requirements may be to have the service back up and serving clients within 2 hours following a hardware disaster (RTO), but you could afford to lose 1 full day's worth of data because, for instance, it's easily reproduced (RPO).

Define your RPO and RTO requirements first, then a stable, suitable backup plan can be created to meet the RPO requirement. Although your chosen backup strategy will contribute to meeting your RTO objective, RTO is usually fulfilled via high-availability options such as clustering, mirroring, offsite dr etc. (assuming, of course, that your RTO dictates a high-availability solution!)

For an example, you could define a daily full backup job at 00:00, followed by a tran log backup job every 15 minutes. This would give you an RPO of 15 minutes.

Cheers,

Rob

|||

much appreciate for all

Wednesday, March 7, 2012

How to set full and differential backup in sql server 2000

I want to set a full and differential backup to one database in sql server 2000.

Is there a way to set both full and differential to just one database.

i want the full backup weekly once and differential every day to set up.

Please let me know

Yes it is possible to set as you said........you can schedule it as a 2 seperate jobs.......one job will take diferential backups from mon-sat and other will take full backup on sunday........you can schedule as per your desire on any day........Smile i just gave a sample........
1. you can use the maintenace plan in sql 2000 to create backup job or
2. you can use your own backup script which can be used in the job which you create in sql 2000

refer the below link,
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx#ELYAG
|||

Hi,

It *depends* upon the requirement, but in general its good to have

Weekly Full backup

Daily Differential Backup

Half Hourly/ Hourly (depends upto size of your db) t-log backup , so that you can recover your database point-in-time

Here are some good article for your referrence

http://www.dbazine.com/sql/sql-articles/larsen12

http://support.microsoft.com/kb/329833

http://search.techrepublic.com.com/search/Backup+and+Microsoft+SQL+Server+and+strategy.html

How to set full and differential backup in sql server 2000

I want to set a full and differential backup to one database in sql server 2000.

Is there a way to set both full and differential to just one database.

i want the full backup weekly once and differential every day to set up.

Please let me know

Yes it is possible to set as you said........you can schedule it as a 2 seperate jobs.......one job will take diferential backups from mon-sat and other will take full backup on sunday........you can schedule as per your desire on any day........Smile i just gave a sample........
1. you can use the maintenace plan in sql 2000 to create backup job or
2. you can use your own backup script which can be used in the job which you create in sql 2000

refer the below link,
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx#ELYAG
|||

Hi,

It *depends* upon the requirement, but in general its good to have

Weekly Full backup

Daily Differential Backup

Half Hourly/ Hourly (depends upto size of your db) t-log backup , so that you can recover your database point-in-time

Here are some good article for your referrence

http://www.dbazine.com/sql/sql-articles/larsen12

http://support.microsoft.com/kb/329833

http://search.techrepublic.com.com/search/Backup+and+Microsoft+SQL+Server+and+strategy.html

Friday, February 24, 2012

how to set a schedule to run codes like

backup log <dbname> with truncate_only
thanks
benExpand SQL Server Agent, create a new job, add a job step with that code. However, the question is
why you want to execute that command regularly? If you don't do log backup, set the database to
simple recovery model.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
<libin918@.gmail.com> wrote in message news:1149613568.316745.80160@.g10g2000cwb.googlegroups.com...
> backup log <dbname> with truncate_only
> thanks
> ben
>|||Thanks Tibor.
Yes. we can setup to simple model. But the thing is we want a full
model and meanwhile we dont want them to grow up too big. it doesnt
make a sense? :)
Thanks again
Tibor Karaszi wrote:
> Expand SQL Server Agent, create a new job, add a job step with that code. However, the question is
> why you want to execute that command regularly? If you don't do log backup, set the database to
> simple recovery model.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
>
> <libin918@.gmail.com> wrote in message news:1149613568.316745.80160@.g10g2000cwb.googlegroups.com...
> > backup log <dbname> with truncate_only
> >
> > thanks
> >
> > ben
> >|||If you are in full model, then the log is emptied every time you backup the transaction log. So
adding backup log with truncate_only will not add anything to that backup strategy, it will only
break the log backup sequence. Are you doing regular log backups? How often?
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
<libin918@.gmail.com> wrote in message news:1149686820.193242.3960@.y43g2000cwc.googlegroups.com...
> Thanks Tibor.
> Yes. we can setup to simple model. But the thing is we want a full
> model and meanwhile we dont want them to grow up too big. it doesnt
> make a sense? :)
> Thanks again
> Tibor Karaszi wrote:
>> Expand SQL Server Agent, create a new job, add a job step with that code. However, the question
>> is
>> why you want to execute that command regularly? If you don't do log backup, set the database to
>> simple recovery model.
>> --
>> Tibor Karaszi, SQL Server MVP
>> http://www.karaszi.com/sqlserver/default.asp
>> http://www.solidqualitylearning.com/
>>
>> <libin918@.gmail.com> wrote in message
>> news:1149613568.316745.80160@.g10g2000cwb.googlegroups.com...
>> > backup log <dbname> with truncate_only
>> >
>> > thanks
>> >
>> > ben
>> >
>

how to set a schedule to run codes like

backup log <dbname> with truncate_only
thanks
benExpand SQL Server Agent, create a new job, add a job step with that code. Ho
wever, the question is
why you want to execute that command regularly? If you don't do log backup,
set the database to
simple recovery model.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
<libin918@.gmail.com> wrote in message news:1149613568.316745.80160@.g10g2000cwb.googlegroups.
com...
> backup log <dbname> with truncate_only
> thanks
> ben
>