Site Collection Backup kutumia PowerShell

PowerShell daima inatoa msimamizi kujisikia ya programu, Kimsingi mimi ni developer si kweli sana katika chaguzi au kutumia menus kufanya kazi kama Backup (Mimi kamwe kutumika chaguo Backup katika Usimamizi wa KatiJ)

Hebu majadiliano juu ya Backup ya Collection Site kutumia PowerShell na mifano.

Syntax:

Backup-SPSite <<Site Collection URL>>

-Njia <<Picha Njia>>

[-Nguvu]

[-Confirm]

[-NoSiteLock]

[-UseSqlSnapshot]

Mfano 1:

Backup-SPSite http://localhost-Njia C:\SiteBackup.bak

Inajenga Backup ya ukusanyaji tovuti, Backup faili itahifadhiwa katika C: gari jina kama SiteBackup.bak

Mfano 2:

Backup-SPSite http://localhost-Njia C:\SiteBackup.bak-Nguvu

Wakati kazi umepangwa Backup kila siku, kama faili Backup tayari ipo katika njia maalum, mchakato Backup itakuwa terminated.

Kutumia-Nguvu atassisitiza overwrite kwenye faili zilizopo.

Mfano 3:

By default Bacup-Site amri let kuweka tovuti ukusanyaji kama kusoma tu, wakati Backup ni katika maendeleo ya kuepuka updates na / au kuzuia faili Backup na rushwa. Kutumia-NoSiteLock kubadili si lock ukusanyaji tovuti kusoma tu, wakati Backup katika maendeleo.

Mfano 4:

Kubadili
UseSqlSnapShot kufanya mapenzi Backup snapshots kutumia, kubadili hii kazi tu na Enterprise Edition.

BBC

Unaweza kutumia haya HTML

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>