Re: Backing up a file or table?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



You can not backup at the table level, only DB, File or Filegroup. You
might want to BCP out the data from the table(s) in question if you don't
care about all the other data. You can however do periodic File or
Filegroup backups. That means you can create a new filegroup and place the
table(s) in that filegroup. Then you can backup that filegroup on a
different schedule than the rest of the db. But that does not mean you can
stop backing up the rest of the db or the logs. They are all required to do
a proper Filegroup backup or restore. See more details in BooksOnLine.

--
Andrew J. Kelly SQL MVP


"DonSQL2222" <DonSQL2222@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FD970E6A-41E8-4C53-82E6-A7BAE70AFB47@xxxxxxxxxxxxxxxx
> Is a file the same thing as a table?
>
> Backup Database xxxx
> file = 'whatever'
> to somedevice
>
> error:
> file 'whatever' is not a database file for database 'xxxx'
>
> 'whatever' is a table in the database, but is it a file?
>
> My goal is to backup only a few tables in a DB...not all of them.
>
> Thanks,
> Don
> sql 7.0 or 2000


.



Relevant Pages

  • Re: PARTIAL SQL Server RESTOREs
    ... DROP DATABASE mywind_part ... ALTER DATABASE mywind ADD FILEGROUP new_customers ... -- A full database backup is performed. ... RESTORE FILELISTONLY lists the database ...
    (microsoft.public.sqlserver.server)
  • Re: How to create maintenance plan to backup files and filegoups
    ... > take long time to backup the whole database. ... > separate filegroup to reduce to time of the backup? ... >>You can't use the Maintenance Plan to perform backups ...
    (microsoft.public.sqlserver.server)
  • Re: How to create maintenance plan to backup files and filegoups
    ... One of the reasons I am thinking that I should take this ... take long time to backup the whole database. ... separate filegroup to reduce to time of the backup? ...
    (microsoft.public.sqlserver.server)
  • Re: How to create maintenance plan to backup files and filegoups
    ... Andrew, currently, we have created a maintenance plan ... using Enterprise Manager to perform our database backups. ... the time it takes to perform a database backup is ... on a different filegroup than the table itself. ...
    (microsoft.public.sqlserver.server)
  • Re: help with restore filegroup
    ... When you do a restore of a partial backup (file or filegroup), ... have to restore all log backups taken after that point in time, ... CREATE DATABASE TEST ...
    (microsoft.public.sqlserver.server)