Welcome to Sign in | Help
in Search

Reducere dimensiune backup

Last post 02-29-2008, 10:36 AM by MrSmersh. 4 replies.
Sort Posts: Previous Next
  •  02-28-2008, 5:14 PM 4222

    Reducere dimensiune backup

    Se poate reduce cumva dimensiunea backup (full) pe SQL 2005 (metoda aplicabila si la express edition daca e posibil dar si la Enterprinse)?

    Multumesc!

  •  02-28-2008, 5:28 PM 4223 in reply to 4222

    Re: Reducere dimensiune backup

    MrSmersh:

    Se poate reduce cumva dimensiunea backup (full) pe SQL 2005 (metoda aplicabila si la express edition daca e posibil dar si la Enterprinse)?

    Multumesc!


    Sterge log=ul
    'backup log ' +  db_name() + ' with no_log'

    Ignat Andrei
    http://serviciipeweb.ro/iafblog
  •  02-28-2008, 6:04 PM 4228 in reply to 4223

    Re: Reducere dimensiune backup

    Poţi să apelezi la facilitatea shrink. Click dreapta pe o baza de date/tasks/shrink. Pentru a functiona este nevoie să faciu un backup înainte. Această metodă este bună pt. cazul în care vrei să păstrezi log-ul, dacă acesta nu te interesează, clauza WITH NO_LOG este cea mai bună.

    La shrink poţi să faci shrink pe o bază de date sau pe fişier. Exista şi posibilitatea DBCC SHRINKFILE dar şi DBCC SHRINKDATABASE.


    Cătălin D.
  •  02-28-2008, 7:47 PM 4229 in reply to 4222

    Re: Reducere dimensiune backup

    Se poate dupa un backup de log Big Smile

    Sau dupa un full backup poti face o trecere in Simple Recovery model, Shrink si switch back to Full Recovery Big Smile


    Cristian Andrei Lefter, SQL Server MVP
    MCT, MCSA, MCDBA, MCAD, MCSD .NET,
    MCTS, MCITP - Database Administrator SQL Server 2005
    http://sqlserver.ro
  •  02-29-2008, 10:36 AM 4244 in reply to 4229

    Re: Reducere dimensiune backup

    Multumesc!

     

View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems