Re: SQL backup questions

From: Geoff N. Hiten (SRDBA_at_Careerbuilder.com)
Date: 04/19/04


Date: Mon, 19 Apr 2004 13:33:59 -0400

Comments Inline

-- 
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"pohkeat" <pohkeat@hotmail.com> wrote in message
news:OW3A8tiJEHA.1132@TK2MSFTNGP12.phx.gbl...
> got a list of backup questions re SQL2000 (on W2K Svr), any
advice,comments
> welcome
>
> 1) Backing & restore a DB on another svr will not include logins,
scheduled
> jobs, is there anything else ?
>
Logins are at the server level.  Users are at the database level and are
copied but may need relinking to the logins.
Scheduled jobs are stored in MSDB.  You can script the jobs and run the
scripts against the new server.
> 2) Copy DB however will include the whole lot ?
>
Copy DB is functionally the same as Backup and Restore.
> 3) If so , for the purpose of easier restore can we scheduled running COPY
> DB wizard every night, instead of a SQL backup job ? is it b'coz COPY DB
> will produce a larger file compared to SQL bak file ?
I would restore  and then run a script to make any changes necessary.
>
> 4) If a DB is set toFULL recovery model, a common problem is it will
result
> in really huge ldf file.  must we live with it or is there a workaround ,
> other then setting it to SIMPLE model.  Once a FULL backup is made,  can
we
> safely truncate the ldf so as to shrink the log file.
Look at Backup and Restore.  You will need to periodically backup the
transaction log.  That will auto-truncate the unused portion of the log,
allowing SQL to treat the log file(s) like a giant tape loop.  This will not
shrink the log file, merely mark parts of it as reusable.
>
> 5) Does this Backup Strategey make sense : Full DB Bckup nightly, and
hourly
> LDF backup. Consider the DB is of fairly critical nature. Reason why I dun
> use differential back up nightly is because I realized there is no drastic
> difference in the bak file size between Differential and Full Backup.
That is a good start.  I would back up to a remote file share and use a
commercial tape management product to archive those files off to tape to
give yourself some historical rotation.
>
>
> TIA
> pk
>
NP
>
>
>
>


Relevant Pages

  • Re: Backing Up WSS
    ... Backup and Restore Options for Windows SharePoint Services ... ·Use the Microsoft SQL Server 2000 tools to back up the databases. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: stsadm.exe
    ... Yes, Stsadm will create the site for you on restore, and it will maintain all permissions. ... Stsadm only backups up data that is stored in the database, so any changes you make to the IIS server's file system you'll have to back up via some other method. ... only backup. ... For example, your production environment is IIS/WSS on one server, SQL Server on another. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Is it necessary to exclude the data folder when using NetBackup?
    ... just back up the native SQL backup files to tape. ... restore in the Administering SQL Server>Backing Up and Restoring Databases ... Jasper Smith (SQL Server MVP) ...
    (microsoft.public.sqlserver.server)
  • Backing Up WSS
    ... Backup and Restore Options for Windows SharePoint Services ... ·Use the Microsoft SQL Server 2000 tools to back up the databases. ...
    (microsoft.public.sharepoint.portalserver)
  • Backing Up WSS
    ... Backup and Restore Options for Windows SharePoint Services ... ·Use the Microsoft SQL Server 2000 tools to back up the databases. ...
    (microsoft.public.sharepoint.portalserver)