<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7342446385364685938</id><updated>2025-10-30T22:33:57.209-03:00</updated><title type='text'>LINUX SISTEMAS y OTROS - LINUX SISTEMI e ALTRI</title><subtitle type='html'>ES : Este es un blog de linux y otros de sistemas, en verdad es mi ayuda-memoria visite:&#xa;IT :Questo è un blog di Linux e altri sistemi, in realtà è il mio help-memoria visita:&#xa;https://bytearg.github.io/bytearg/    &#xa;https://linktr.ee/bytearg    &#xa;marcelo2020nigro@gmail.com    &#xa;@bytearg&#xa;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>277</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-77953800844017753</id><published>2024-07-15T10:18:00.002-03:00</published><updated>2024-07-15T10:18:26.706-03:00</updated><title type='text'>Certificados AUTOMÁTICOS y GRATIS para CUALQUIER SERVIDOR - Nginx Proxy Manager</title><content type='html'>&lt;p&gt;&amp;nbsp;https://www.youtube.com/watch?v=0n9DLj2ndo4&amp;amp;ab_channel=PeladoNerd&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/77953800844017753/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/77953800844017753' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/77953800844017753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/77953800844017753'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2024/07/certificados-automaticos-y-gratis-para.html' title='Certificados AUTOMÁTICOS y GRATIS para CUALQUIER SERVIDOR - Nginx Proxy Manager'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-6633829012798697355</id><published>2024-07-12T05:01:00.005-03:00</published><updated>2024-07-12T05:01:41.097-03:00</updated><title type='text'>Beekeeper Studio Community Edition Mysql</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;background-color: #1a1a1a; color: rgba(255, 255, 255, 0.8); font-family: Rubik, Helvetica, Arial, sans-serif; font-size: 20px;&quot;&gt;Free (gratis &amp;amp; libre) GPLv3 community edition of Beekeeper Studio. Available for Windows, MacOS, and Linux. Want the full version?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #1a1a1a; color: rgba(255, 255, 255, 0.8); font-family: Rubik, Helvetica, Arial, sans-serif; font-size: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #1a1a1a; color: rgba(255, 255, 255, 0.8); font-family: Rubik, Helvetica, Arial, sans-serif; font-size: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #1a1a1a; color: rgba(255, 255, 255, 0.8); font-family: Rubik, Helvetica, Arial, sans-serif; font-size: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #1a1a1a; font-size: 20px;&quot;&gt;&lt;span style=&quot;color: rgba(255, 255, 255, 0.8); font-family: Rubik, Helvetica, Arial, sans-serif;&quot;&gt;https://www.beekeeperstudio.io/get-community&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/6633829012798697355/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/6633829012798697355' title='3 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/6633829012798697355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/6633829012798697355'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2024/07/beekeeper-studio-community-edition-mysql.html' title='Beekeeper Studio Community Edition Mysql'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-1320294738316465505</id><published>2021-04-22T20:02:00.002-03:00</published><updated>2021-04-22T20:02:20.509-03:00</updated><title type='text'>lm-sensors temperatura</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h2 style=&quot;color: var(--main-color); font-family: var(--font-primary); font-size: var(--big-font); font-weight: 400;&quot;&gt;&lt;span id=&quot;Instala_lm-sensors&quot;&gt;Instala lm-sensors&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; color: #222222; font-family: Roboto, sans-serif; font-size: var(--normal-font); line-height: 1.7rem; margin-left: 167.188px;&quot;&gt;Para monitorizar la temperatura del PC con lm-sensors, debes abrir una terminal. A continuación si estás utilizando Ubuntu o sus derivados, puedes instalar lm-sensors con el siguiente comando.&lt;/p&gt;&lt;div style=&quot;color: #222222; font-family: Roboto, sans-serif; font-size: 16px;&quot;&gt;&lt;div class=&quot;syntaxhighlighter  plain&quot; id=&quot;highlighter_816640&quot; style=&quot;background-color: white !important; font-size: 1em !important; margin: 1em 0px !important; overflow: auto hidden !important; position: relative !important; width: 836px;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; table-layout: auto !important; vertical-align: baseline !important; width: 836px;&quot;&gt;&lt;tbody style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tr style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: border-box; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 1em; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; text-align: right !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;1&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: border-box; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 1em; position: static !important; vertical-align: baseline !important; width: 799px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;plain plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;sudo apt install lm-sensors&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; color: #222222; font-family: Roboto, sans-serif; font-size: var(--normal-font); line-height: 1.7rem; margin-left: 167.188px;&quot;&gt;Si no utilizas ninguna de las versiones de Ubuntu no hay problema. Este programa posiblemente estará disponible en el repositorio de software de tu distribución de Linux. Sólo tienes que abrir tu programa de gestión de paquetes, buscar lm-sensores e instalarlo;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #222222; font-family: Roboto, sans-serif; font-size: var(--normal-font); line-height: 1.7rem; margin-left: 167.188px;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #222222; font-family: Roboto, sans-serif; font-size: var(--normal-font); line-height: 1.7rem; margin-left: 167.188px;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #222222; font-family: Roboto, sans-serif; font-size: var(--normal-font); line-height: 1.7rem; margin-left: 167.188px;&quot;&gt;&lt;/p&gt;&lt;h2 style=&quot;color: var(--main-color); font-family: var(--font-primary); font-size: var(--big-font); font-weight: 400;&quot;&gt;&lt;span id=&quot;Configura_lm-sensors&quot;&gt;Configura lm-sensors&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; color: #222222; font-family: Roboto, sans-serif; font-size: var(--normal-font); line-height: 1.7rem; margin-left: 167.188px;&quot;&gt;Una vez instalado el programa de sensores en tu sistema, es el momento de configurarlo. Para ello hay que lanzar el siguiente comando. Durante la configuración tendrás que responder s las preguntas que se mostrarán en la terminal. Las preguntas serán generalmente sobre lo que se desea monitorizar.&lt;/p&gt;&lt;div style=&quot;color: #222222; font-family: Roboto, sans-serif; font-size: 16px;&quot;&gt;&lt;div class=&quot;syntaxhighlighter  plain&quot; id=&quot;highlighter_986040&quot; style=&quot;background-color: white !important; font-size: 1em !important; margin: 1em 0px !important; overflow: auto hidden !important; position: relative !important; width: 836px;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; table-layout: auto !important; vertical-align: baseline !important; width: 836px;&quot;&gt;&lt;tbody style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tr style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: border-box; color: rgb(175, 175, 175) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 1em; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; text-align: right !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;1&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: border-box; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 1em; position: static !important; vertical-align: baseline !important; width: 799px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;plain plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; box-shadow: none !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; inset: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;sudo sensors-detect&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/1320294738316465505/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/1320294738316465505' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/1320294738316465505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/1320294738316465505'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2021/04/lm-sensors-temperatura.html' title='lm-sensors temperatura'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-3922222552380225230</id><published>2020-10-04T23:45:00.004-03:00</published><updated>2020-10-04T23:45:42.754-03:00</updated><title type='text'>duf: una herramienta simple y amigable para visualizar el espacio en disco utilizado y disponible</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; color: #111111; font-family: sans-serif; font-size: 16px;&quot;&gt;Para instalar&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: sans-serif; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #f7f7f9; color: #dd1144; font-family: Changospace, monospace; font-size: 14px; padding: 2px 4px; white-space: pre-wrap;&quot;&gt;duf&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: sans-serif; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: sans-serif; font-size: 16px;&quot;&gt;en Debian/Devuan y derivados, descargar la última versión disponible desde la página de&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: sans-serif; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://github.com/muesli/duf/releases&quot; style=&quot;color: #2c9c30; font-family: sans-serif; font-size: 16px; text-decoration-line: none;&quot;&gt;releases&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: sans-serif; font-size: 16px;&quot;&gt;:&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background-color: #f9f9f9; color: #333333; font-family: Changospace, monospace; font-size: 13px; line-height: 18px; margin-bottom: 9px; margin-top: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 8.5px; word-break: break-all;&quot;&gt;# wget https://github.com/muesli/duf/releases/download/v0.3.1/duf_0.3.1_linux_amd64.deb
&lt;/pre&gt;&lt;p style=&quot;background-color: white; color: #111111; font-family: sans-serif; font-size: 16px; line-height: 1.5em; margin: 15px 0px 10px;&quot;&gt;Luego instalar el paquete con&amp;nbsp;&lt;a href=&quot;https://www.linuxito.com/seguridad/1146-actualizar-un-paquete-con-dpkg&quot; style=&quot;color: #2c9c30; text-decoration-line: none;&quot;&gt;&lt;code style=&quot;background-color: #f7f7f9; color: #dd1144; font-family: Changospace, monospace; font-size: 14px; padding: 2px 4px; white-space: pre-wrap;&quot;&gt;dpkg&lt;/code&gt;&lt;/a&gt;:&lt;/p&gt;&lt;pre style=&quot;background-color: #f9f9f9; color: #333333; font-family: Changospace, monospace; font-size: 13px; line-height: 18px; margin-bottom: 9px; margin-top: 0px; overflow-wrap: break-word; overflow-x: auto; padding: 8.5px; word-break: break-all;&quot;&gt;# dpkg -i duf_0.3.1_linux_amd64.deb
&lt;/pre&gt;&lt;p style=&quot;background-color: white; color: #111111; font-family: sans-serif; font-size: 16px; line-height: 1.5em; margin: 15px 0px 10px;&quot;&gt;Una vez instalado, simplemente ejecutar&amp;nbsp;&lt;code style=&quot;background-color: #f7f7f9; color: #dd1144; font-family: Changospace, monospace; font-size: 14px; padding: 2px 4px; white-space: pre-wrap;&quot;&gt;duf&lt;/code&gt;:&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/3922222552380225230/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/3922222552380225230' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/3922222552380225230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/3922222552380225230'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2020/10/duf-una-herramienta-simple-y-amigable.html' title='duf: una herramienta simple y amigable para visualizar el espacio en disco utilizado y disponible'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-6870735219166667315</id><published>2020-09-15T20:17:00.002-03:00</published><updated>2020-09-15T20:18:39.809-03:00</updated><title type='text'>Herramientas Seguridad verificacion de memoria volcado Instalación de Volatility</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;a href=&quot;https://byte-mind.net/analisis-forense-con-volatility/&quot;&gt;https://byte-mind.net/analisis-forense-con-volatility/&lt;/a&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/6870735219166667315/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/6870735219166667315' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/6870735219166667315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/6870735219166667315'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2020/09/instalacion-de-volatility.html' title='Herramientas Seguridad verificacion de memoria volcado Instalación de Volatility'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-9156249375756595083</id><published>2020-09-15T19:39:00.003-03:00</published><updated>2020-09-15T19:39:53.856-03:00</updated><title type='text'>Evidencia digital y pericia informática utilizando herramientas Open Source </title><content type='html'>&lt;p&gt;&amp;nbsp;Herramientas&lt;/p&gt;&lt;p&gt;----------------------------------------------------------------&lt;/p&gt;&lt;p&gt;windows&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;equipo prendido&lt;/p&gt;&lt;p&gt;dumplit---windows volcado de ram---arma un .raw sin formato&lt;/p&gt;&lt;p&gt;luego access data ftk imager-----portable e instalable&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;crear imagen de disco con ftk&lt;/p&gt;&lt;p&gt;volcado de la RAM&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;equipos apagados para adquirir y analisis reportes&lt;/p&gt;&lt;p&gt;---------------------------------------------------&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;LINUX&lt;/p&gt;&lt;p&gt;guymanager&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/9156249375756595083/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/9156249375756595083' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/9156249375756595083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/9156249375756595083'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2020/09/evidencia-digital-y-pericia-informatica.html' title='Evidencia digital y pericia informática utilizando herramientas Open Source '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-6385178447936619172</id><published>2018-12-10T11:41:00.000-03:00</published><updated>2018-12-10T11:41:03.429-03:00</updated><title type='text'>Migrar dominio wordpress</title><content type='html'>https://www.webempresa.com/blog/cambiar-wordpress-de-un-dominio-a-otro.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/6385178447936619172/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/6385178447936619172' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/6385178447936619172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/6385178447936619172'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2018/12/migrar-dominio-wordpress.html' title='Migrar dominio wordpress'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-580363766653297391</id><published>2018-10-04T10:41:00.000-03:00</published><updated>2018-10-04T10:41:07.370-03:00</updated><title type='text'>Backups WordPress en 2 minutos con All In One Migration</title><content type='html'>&lt;h1 class=&quot;watch-title-container&quot; style=&quot;background: rgb(255, 255, 255); border: 0px; font-family: &#39;YouTube Noto&#39;, Roboto, arial, sans-serif; font-size: 20px; font-weight: normal; margin: 0px; padding: 0px; width: 457.5px; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;watch-title&quot; dir=&quot;ltr&quot; id=&quot;eow-title&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot; title=&quot;Backups WordPress en 2 minutos con All In One Migration&quot;&gt;Backups WordPress en 2 minutos con All In One Migration&lt;/span&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;span class=&quot;watch-title&quot; dir=&quot;ltr&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot; title=&quot;Backups WordPress en 2 minutos con All In One Migration&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;watch-title&quot; dir=&quot;ltr&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot; title=&quot;Backups WordPress en 2 minutos con All In One Migration&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;watch-title&quot; dir=&quot;ltr&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot; title=&quot;Backups WordPress en 2 minutos con All In One Migration&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;watch-title&quot; dir=&quot;ltr&quot; style=&quot;background: transparent; border: 0px; margin: 0px; padding: 0px;&quot; title=&quot;Backups WordPress en 2 minutos con All In One Migration&quot;&gt;https://www.youtube.com/watch?v=5PibhILB3-Q&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/580363766653297391/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/580363766653297391' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/580363766653297391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/580363766653297391'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2018/10/backups-wordpress-en-2-minutos-con-all.html' title='Backups WordPress en 2 minutos con All In One Migration'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-6168026838550414803</id><published>2017-02-09T13:02:00.001-03:00</published><updated>2017-02-09T13:02:30.346-03:00</updated><title type='text'>mysql backups por script ubuntu</title><content type='html'>#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
DBNAME=soporte&lt;br /&gt;
DATE=`date +&quot;%Y%m%d&quot;`&lt;br /&gt;
SQLFILE=$DBNAME-${DATE}.sql&lt;br /&gt;
mysqldump --opt -uroot -ppassword $DBNAME &amp;gt; $SQLFILE&lt;br /&gt;
gzip $SQLFILE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
luego para subir al ftp se puede usar curl&lt;br /&gt;
&lt;br /&gt;
asi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
curl -u clave:password -T *.sql.gz ftp://192.168.x.x&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
192.1687.x.x es el folder del ftp raiz&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
se guarda en el cron&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
algo asi&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
21 horas todos los dias&lt;/div&gt;
&lt;div&gt;
subida al ftp 22 hs&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
#Backups Bases Mysql&lt;/div&gt;
&lt;div&gt;
00 21 * * * root &amp;nbsp;/home/lx/bkplx.sh&lt;/div&gt;
&lt;div&gt;
#Subida del backups al server con curl&lt;/div&gt;
&lt;div&gt;
00 22 * * * root &amp;nbsp;/root/ftpcurlsrvwin.sh&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
saludos&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/6168026838550414803/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/6168026838550414803' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/6168026838550414803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/6168026838550414803'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2017/02/mysql-backups-por-script-ubuntu.html' title='mysql backups por script ubuntu'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-8197535238766123981</id><published>2017-02-09T11:45:00.002-03:00</published><updated>2017-02-09T11:45:30.307-03:00</updated><title type='text'>FTP BACKUPS CON CURL</title><content type='html'>&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 26px; margin-bottom: 26px; text-align: justify;&quot;&gt;
&lt;code style=&quot;background-color: #f1f1f1; border: none; box-sizing: border-box; font-family: monospace, monospace; font-size: 1em; padding: 2px 6px; position: relative; top: -1px;&quot;&gt;curl -u usuario:password -T archivo-backup.7z ftp://192.168.128.2/SERVER_BACKUPS/&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 26px; margin-bottom: 26px; text-align: justify;&quot;&gt;
Esto lo que hace es conectarse al FTP 192.168.128.2, con el usuario&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;usuario&lt;/em&gt;&amp;nbsp;y de contraseña&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;password&lt;/em&gt;&amp;nbsp;y subir a la carpeta&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;SERVER_BACKUPS&lt;/em&gt;&amp;nbsp;el archivo llamado&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;archivo-backup.7z&lt;/em&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; line-height: 26px; margin-bottom: 26px; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: Verdana, Geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; line-height: 26px; margin-bottom: 26px; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/8197535238766123981/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/8197535238766123981' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/8197535238766123981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/8197535238766123981'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2017/02/ftp-backups-con-curl.html' title='FTP BACKUPS CON CURL'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-7987957451307107395</id><published>2016-07-07T14:48:00.002-03:00</published><updated>2016-07-07T14:48:16.682-03:00</updated><title type='text'>Niveles de registro de Apache</title><content type='html'>&lt;h2&gt;
&lt;span class=&quot;notranslate&quot;&gt;Niveles de registro de Apache&lt;/span&gt; &lt;/h2&gt;
&lt;span class=&quot;notranslate&quot;&gt; Apache separa todos los mensajes informativos en categorías en función de la importancia que concede la información.&lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;notranslate&quot;&gt; Por ejemplo, para los mensajes más importantes, como urgencias, Apache designa el nivel de registro como &quot;emerg&quot;.&lt;/span&gt; &lt;span class=&quot;notranslate&quot;&gt;
 La etiqueta de &quot;información&quot;, por el contrario, solo muestra la 
información útil que puede ser útil para mirar de vez en cuando.&lt;/span&gt; &lt;br /&gt;
 &lt;span class=&quot;notranslate&quot;&gt; Estos son los niveles de registro que reconoce Apache, del más importante al menos:&lt;/span&gt; &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt; &lt;span class=&quot;notranslate&quot;&gt; &lt;strong&gt;emerg:&lt;/strong&gt; situaciones de emergencia cuando el sistema está en un estado inutilizable.&lt;/span&gt; &lt;/li&gt;
&lt;li&gt; &lt;span class=&quot;notranslate&quot;&gt; &lt;strong&gt;alertar:&lt;/strong&gt; situación grave que es necesario actuar con rapidez.&lt;/span&gt; &lt;/li&gt;
&lt;li&gt; &lt;span class=&quot;notranslate&quot;&gt; &lt;strong&gt;crit:&lt;/strong&gt; problemas importantes que necesitan ser abordados.&lt;/span&gt; &lt;/li&gt;
&lt;li&gt; &lt;span class=&quot;notranslate&quot;&gt; &lt;strong&gt;de error:&lt;/strong&gt; Se ha producido un error.&lt;/span&gt; &lt;span class=&quot;notranslate&quot;&gt; Algo no tuvo éxito.&lt;/span&gt; &lt;/li&gt;
&lt;li&gt; &lt;span class=&quot;notranslate&quot;&gt; &lt;strong&gt;advertir:&lt;/strong&gt; Algo fuera de lo común sucedido, pero no es un motivo de preocupación.&lt;/span&gt; &lt;/li&gt;
&lt;li&gt; &lt;span class=&quot;notranslate&quot;&gt; &lt;strong&gt;Aviso:&lt;/strong&gt; Algo normal, pero cabe destacar que ha ocurrido.&lt;/span&gt; &lt;/li&gt;
&lt;li&gt; &lt;span class=&quot;notranslate&quot;&gt; &lt;strong&gt;información:&lt;/strong&gt; un mensaje con información que podría ser bueno saber.&lt;/span&gt; &lt;/li&gt;
&lt;li&gt; &lt;span class=&quot;notranslate&quot;&gt; &lt;strong&gt;depuración:&lt;/strong&gt; La información de depuración que puede ser útil para identificar dónde se produce un problema.&lt;/span&gt; &lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/7987957451307107395/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/7987957451307107395' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/7987957451307107395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/7987957451307107395'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2016/07/niveles-de-registro-de-apache.html' title='Niveles de registro de Apache'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-2266194695640290938</id><published>2016-06-29T12:13:00.002-03:00</published><updated>2016-06-29T12:13:44.990-03:00</updated><title type='text'>MySQL, tareas típicas de mantenimiento</title><content type='html'>&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Las tareas típicas (y automatizables) para el mantenimiento de MySQL son las siguientes:&lt;/div&gt;
&lt;ul style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; list-style: square; margin: 0px 0px 15px 16px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;background: transparent; border: 0px; margin: 3px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Copias de seguridad&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; margin: 3px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Limpieza de logs binarios&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; margin: 3px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Optimización de tablas&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; margin: 3px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Vaciamiento de cache de consultas&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; margin: 3px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Rotación de logs binarios&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
A continuación, se explica brevemente cada una de las tareas mencionadas:&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span id=&quot;more-646&quot; style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Copias de seguridad&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Una de las formas clásicas de realizar backups de una base de datos MySQL es a través de mysqldump, programa que se encarga de hacer un volcado a archivo de las sentencias SQL necesarias para crear la estructura de las tablas y los datos de la misma. Recomiendo ver una publicación realizada tiempo atrás donde se presenta un shell script sencillo (candidato a ser ejecutado por un cron) que realiza una copia de seguridad de todas las bases de datos de un servidor. Ver:&amp;nbsp;&lt;a href=&quot;http://luauf.com/2008/05/17/mysql-shell-script-backup/&quot; style=&quot;background: transparent; border: 0px; color: #007ac9; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;MySQL shell script backup&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Limpieza de logs binarios&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Si tienes activados los logs binarios, estos a la larga ocuparán varios Mb de nuestro disco y generalmente no tiene sentido mantener logs muy añejos.&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Para “purgar” los logs binarios podemos hacerlo de una forma pasiva (modificando la configuración del servidor) o bien, de manera activa, ejecutando la instrucción PURGE MASTER LOGS desde el prompt de MySQL.&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
La forma pasiva, consiste en que MySQL limpie por su cuenta los logs binarios. Para hacer ésto, basta agregar al archivo de configuración my.cnf:&amp;nbsp;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;expire_logs_days = 7&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
De forma activa, desde un promt de MySQL puedes ejecutar, por ejemplo:&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
PURGE MASTER LOGS TO ‘bin-log.000012’;&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
PURGE MASTER LOGS BEFORE ‘2008-07-23 00:00:00’&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Evita eliminar los logs binarios borrando directamente el archivo desde el sistema operativo (rm -f binglog.*).&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Presta especial atención al purgar los logs, pues si la base de datos está siendo replicada y los logs a “purgar” aun no han sido recogidos por el SLAVE, el mismo puede perderse de datos.&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Optimización de tablas&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Las tablas, al fin y al cabo, son archivos (dependiendo del motor de almacenamiento, uno o más archivos, un archivo único, etc.). Como archivo, al cabo de varias operaciónes de manipulación de datos (INSERT, UPDATE, DELETE) se puede generar fragmentación, espacio inutil, etc. Por tal razón, desde el prompt de MySQL puedes ejecutar la instrucción OPTIMIZE TABLE nombre_de_tabla para que MySQL haga lo suyo con los archivos.&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Vaciamiento de cache de consultas&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
La caché de consultas almacena los resultados de una consulta, así el servidor responde más rápido si algún otro cliente los requiere. La cache de consultas también es susceptible a fragmentación, en especial cuando se ejecutan SELECTs con resultados de diferente tamaño. Por lo tanto, no está de más, que frecuentemente se vacíe esta cache de consultas. Para hacerlo, basta ejecutar la instrucción FLUSH QUERY CACHE.&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Rotación de logs binarios&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
MySQL crea un nuevo archivo de log binario cada vez que es reiniciado o cada vez que se llegue a un tamaño máximo que se puede especificar en el my.cnf, por ejemplo: max_binlog_size=4M.&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Aveces, puedes querer rotar los logs por tiempo en vez de por tamaño. Para rotar los tamaños por tiempo, puedes crear un script a ejecutar desde el cron que ejecute simplemente un FLUSH LOGS.&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #323232; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.5px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
extraido de&amp;nbsp;http://luauf.com/2008/08/30/mysql-tareas-tipicas-de-mantenimiento/&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/2266194695640290938/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/2266194695640290938' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/2266194695640290938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/2266194695640290938'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2016/06/mysql-tareas-tipicas-de-mantenimiento.html' title='MySQL, tareas típicas de mantenimiento'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-7454811075544566440</id><published>2016-06-21T10:26:00.004-03:00</published><updated>2016-06-21T10:26:47.623-03:00</updated><title type='text'>backup mysql rapido</title><content type='html'>#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
DBNAME=nombre_de_la_base&lt;br /&gt;
DATE=`date +&quot;%Y%m%d&quot;`&lt;br /&gt;
SQLFILE=$DBNAME-${DATE}.sql&lt;br /&gt;
mysqldump --opt --user=root --min $DBNAME &amp;gt; $SQLFILE&lt;br /&gt;
gzip $SQLFILE</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/7454811075544566440/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/7454811075544566440' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/7454811075544566440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/7454811075544566440'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2016/06/backup-mysql-rapido.html' title='backup mysql rapido'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-5881101848520134185</id><published>2016-05-17T10:17:00.005-03:00</published><updated>2016-05-17T10:17:42.731-03:00</updated><title type='text'>montar unidad de red en server linux</title><content type='html'>smbclient -L ip_local -U admin&lt;br /&gt;mount.cifs //ip_local/backups /home/mnigro/baklinux/ -o user=admin&lt;br /&gt;Password for admin@//ip_local/backups: &lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/5881101848520134185/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/5881101848520134185' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/5881101848520134185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/5881101848520134185'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2016/05/montar-unidad-de-red-en-server-linux.html' title='montar unidad de red en server linux'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-5062574480686205111</id><published>2016-04-19T09:36:00.001-03:00</published><updated>2016-04-19T09:36:09.984-03:00</updated><title type='text'></title><content type='html'>Extraido de&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
http://clonezilla.es/&lt;br /&gt;
&lt;br /&gt;

                        
              







 


     

    
            
    
   
   
                         
                                        
                    
                                        
                    
                        
                    
                    &lt;br /&gt;
&lt;strong&gt;Clonezilla LiveCD&lt;/strong&gt; es una 
utilidad para la clonación y copia de seguridad de disco. Además de los 
programas comerciales (y pagado), como Norton Ghost o Acronis True 
Image, el CD de arranque puede ayudar a sus discos o particiones de 
seguridad y de fácil reubicación.&lt;br /&gt;

Como cualquier otro LiveCD de Linux, es capaz de arrancar un gran número de configuraciones y de reconocer muchos periféricos.&lt;br /&gt;

Usted puede hacer una imagen ISO y guardarla en una partición en el 
disco o CD de arranque. La aplicación es compatible con formatos de 
archivos de sistema ext2, ext3, ReiserFS, XFS, JFS y LVM2, y hace copias
 de los bloques de disco, que mejora la velocidad y el rendimiento de la
 clonación. Para los administradores de red, el modo de multidifusión 
puede ser muy útil para respaldar y restaurar un conjunto de equipos&lt;br /&gt;

&lt;h2&gt;
Descargar&lt;/h2&gt;
Clonezilla es un software libre de recuperación ante desastres, sirve
 para la clonación de discos y particiones. Clonezilla está diseñado por
 Steven Shaiu y desarrollado por el NCHC Labs en Taiwán. Clonezilla 
ofrece soporte multicast similares a Norton Ghost Corporate Edition.&lt;br /&gt;

Descargar Clonezilla en Sourceforge o el sitio del Proyecto (en Inglés) &lt;img alt=&quot;:)&quot; class=&quot;wp-smiley&quot; src=&quot;http://clonezilla.es/wp-includes/images/smilies/simple-smile.png&quot; style=&quot;height: 1em; max-height: 1em;&quot; /&gt;&lt;br /&gt;
Clonezilla Live&lt;br /&gt;

Clonezilla Live permite a los usuarios clonar una máquina individual,
 partición o disco para ser reproducido en otro medio. La clonación 
puede ser guardada como un archivo de imagen o como una copia exacta de 
datos. Los datos pueden ser guardados localmente, en un servidor SSH, 
servidor Samba o un recurso compartido de archivos NFS y luego 
restaurarlos en una fecha posterior. El software se puede ejecutar ya 
sea desde un arranque de unidad flash USB o cd/dvd.&lt;br /&gt;
Clonezilla Server&lt;br /&gt;

Clonezilla Server se utiliza para clonar simultáneamente muchos 
computadores a través de una red. Esto se hace usando un servidor DRBL y
 estaciones de trabajo que puede arrancar desde una red.&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?feature=player_embedded&amp;amp;v=Cf9nrnP4o_w </content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/5062574480686205111/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/5062574480686205111' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/5062574480686205111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/5062574480686205111'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2016/04/extraido-de-httpclonezilla.html' title=''/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-7605314492749911163</id><published>2015-08-07T11:14:00.001-03:00</published><updated>2015-08-07T11:14:04.899-03:00</updated><title type='text'>zabbix 2015 instalacion</title><content type='html'>https://thedutchlab.com/en/news/installing-zabbix-on-ubuntu-14-04</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/7605314492749911163/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/7605314492749911163' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/7605314492749911163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/7605314492749911163'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2015/08/zabbix-2015-instalacion.html' title='zabbix 2015 instalacion'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-8842636318758669212</id><published>2015-06-29T21:37:00.000-03:00</published><updated>2015-06-29T21:37:17.827-03:00</updated><title type='text'>dosfstools fromatear consola fat</title><content type='html'>&lt;strong&gt;dosfstools.&lt;/strong&gt;
&lt;br /&gt;
&lt;code&gt;&lt;strong&gt;$ sudo aptitude install&amp;nbsp;dosfstools&lt;/strong&gt;&lt;/code&gt;&lt;br /&gt;

Una vez instalado, pasamos a comprobar donde se encuentra nuestra memoria flash. Podemos hacer uso del comando:&lt;br /&gt;

&lt;code&gt;&lt;strong&gt;$ sudo fdisk -l&lt;/strong&gt;&lt;/code&gt;&lt;br /&gt;

Lo cual nos devolverá algo como esto:&lt;br /&gt;

&lt;a class=&quot;gallery_colorbox cboxElement&quot; href=&quot;http://blog.desdelinux.net/wp-content/uploads/2011/11/fdisk_terminal.png?d94cb0&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter size-large wp-image-2565&quot; height=&quot;408&quot; src=&quot;http://blog.desdelinux.net/wp-content/uploads/2011/11/fdisk_terminal-600x408.png?d94cb0&quot; title=&quot;fdisk_terminal&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

La línea que nos interesa es la que dice:&lt;br /&gt;

&lt;code&gt;&lt;strong&gt;/dev/sdc1 &amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp;62 &amp;nbsp; &amp;nbsp; &amp;nbsp; 7983863 &amp;nbsp; &amp;nbsp; 3991901 &amp;nbsp; b &amp;nbsp;W95 FAT32&lt;/strong&gt;&lt;/code&gt;&lt;br /&gt;

Una vez que sabemos cual es el dispositivo a formatear, usamos el comando:&lt;br /&gt;

&lt;strong&gt;&lt;code&gt;sudo mkfs.vfat -F 32 -n Mi_Memoria /dev/sdc1&lt;/code&gt;&lt;/strong&gt;&lt;br /&gt;

Con la opción &lt;strong&gt;-F 32&lt;/strong&gt; le decimos que será formateada como &lt;strong&gt;Fat32&lt;/strong&gt;, y con la opción &lt;strong&gt;-n&lt;/strong&gt; le ponemos una etiqueta o nombre al dispositivo.</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/8842636318758669212/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/8842636318758669212' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/8842636318758669212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/8842636318758669212'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2015/06/dosfstools-fromatear-consola-fat.html' title='dosfstools fromatear consola fat'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-4579337351583728029</id><published>2015-06-03T09:42:00.004-03:00</published><updated>2015-06-03T09:42:38.103-03:00</updated><title type='text'>Instalar un servidor de Subversion en Ubuntu </title><content type='html'>&lt;strong&gt;Instalacion y configuracion de Subversion &lt;/strong&gt;&lt;br /&gt;

Me embarco en la aventura de &lt;span style=&quot;font-weight: bold;&quot;&gt;instalar subversion&lt;/span&gt; al servidor… ¿Qué es subversion?&lt;br /&gt;

Subversion es un servidor de control de versiones. Si estas 
trabajando en un proyecto grande, es lógico que con el paso del tiempo 
vayas haciendo cambios mas o menos importantes. Puede que en un momento 
dado quieras volver a una versión previa de un archivo, o de todo el 
proyecto, que desees ver quién hizo un cambio y porqué… para eso está 
subversion.&lt;br /&gt;

Se supone que tenemos configurado un &lt;a href=&quot;http://en.wikipedia.org/wiki/Web_servers&quot;&gt;servidor&lt;/a&gt; bajo &lt;a href=&quot;http://en.wikipedia.org/wiki/Apache_web_server&quot;&gt;Apache&lt;/a&gt; en una distribución &lt;a href=&quot;http://en.wikipedia.org/wiki/Debian&quot;&gt;Debian&lt;/a&gt;.&lt;br /&gt;

&lt;strong&gt;Primer paso: Instalación de las herramientas necesarias&lt;/strong&gt;&lt;br /&gt;

Instalamos los paquetes que nos hacen falta para crear repositorios:&lt;br /&gt;

&lt;code&gt;sudo aptitude install subversion subversion-tools&lt;/code&gt;&lt;br /&gt;

Necesitamos &lt;span style=&quot;font-weight: bold;&quot;&gt;dos módulos de apache&lt;/span&gt; instalados en nuestro servidor, si haremos uso de svn a través de internet… (obvio, al menos para mí)&lt;br /&gt;

Los modulos son dav y dav_svn. Para comprobar que los tenemos:&lt;br /&gt;

&lt;code&gt;a2enmod dav&lt;br /&gt;
a2enmod dav_svn&lt;/code&gt;&lt;br /&gt;

Si no estaban instalados, &lt;span style=&quot;font-weight: bold;&quot;&gt;los instalamos&lt;/span&gt;:&lt;br /&gt;

&lt;code&gt;sudo aptitude install libapache2-svn&lt;/code&gt;&lt;br /&gt;

&lt;strong&gt;Segundo paso: Creación de grupos y usuarios permitidos&lt;/strong&gt;&lt;br /&gt;

&lt;span style=&quot;font-weight: bold;&quot;&gt;Creamos un grupo subversion&lt;/span&gt; para manejar fácilmente los permisos&lt;br /&gt;

&lt;code&gt;groupadd subversion&lt;/code&gt;&lt;br /&gt;

&lt;span style=&quot;font-weight: bold;&quot;&gt;Añadimos a dicho grupo los usuarios&lt;/span&gt; que queremos que usen de algún modo nuestro servidor&lt;br /&gt;

&lt;code&gt;usermod -a -Gsubversion user1&lt;br /&gt;
usermod -a -Gsubversion user2&lt;br /&gt;
usermod -a -Gsubversion user3&lt;/code&gt;&lt;br /&gt;

Ahora pasamos a &lt;span style=&quot;font-weight: bold;&quot;&gt;crear los ficheros de acceso&lt;/span&gt;, que guardan los nombres y contraseñas de esos usuarios que harán uso del repositorio:&lt;br /&gt;

&lt;code&gt;htpasswd2 -c /etc/apache2/dav_svn.passwd user1&lt;br /&gt;
htpasswd2 /etc/apache2/dav_svn.passwd user2&lt;br /&gt;
htpasswd2 /etc/apache2/dav_svn.passwd user3&lt;/code&gt;&lt;br /&gt;

El primero lleva -c por la simple razón de que crea el fichero. Los demás se añaden a él.&lt;br /&gt;
Cada vez que introduzcamos un usuario, se nos pedirá su nueva contraseña.&lt;br /&gt;

&lt;strong&gt;Tercer paso: Creación de un repositorio&lt;/strong&gt;&lt;br /&gt;

Ahora &lt;span style=&quot;font-weight: bold;&quot;&gt;creamos la carpeta donde ubicaremos el repositorio&lt;/span&gt;:&lt;br /&gt;

&lt;code&gt;sudo mkdir /home/SVN&lt;br /&gt;
sudo svnadmin create /home/SVN&lt;/code&gt;&lt;br /&gt;

Y le damos los correspondientes permisos&lt;br /&gt;

&lt;code&gt;chown -R www-data:subversion /home/svn/&lt;br /&gt;
chmod -R 770 /home/svn/&lt;/code&gt;&lt;br /&gt;

&lt;strong&gt;Cuarto paso: Configurando Apache para los repositorios&lt;/strong&gt;&lt;br /&gt;

Pasamos a &lt;span style=&quot;font-weight: bold;&quot;&gt;configurar el fichero que gestiona el módulo de apache para el svn&lt;/span&gt;:&lt;br /&gt;

&lt;code&gt;sudo gedit /etc/apache2/mods-available/dav_svn.conf&lt;/code&gt;&lt;br /&gt;

Dentro ponemos esta configuración:&lt;br /&gt;

&lt;code&gt;##&lt;br /&gt;
# SVN&lt;br /&gt;
#&lt;br /&gt;
&lt;location svn=&quot;&quot;&gt;&lt;br /&gt;
DAV svn&lt;br /&gt;
SVNPath /home/svn&lt;br /&gt;
AuthType Basic&lt;br /&gt;
AuthName &quot;Repositorio Subversion del proyecto&quot;&lt;br /&gt;
AuthUserFile /etc/apache2/dav_svn.passwd&lt;br /&gt;
&lt;limitexcept get=&quot;&quot; options=&quot;&quot; propfind=&quot;&quot; report=&quot;&quot;&gt;&lt;br /&gt;
Require valid-user&lt;br /&gt;
&lt;/limitexcept&gt;&lt;br /&gt;
&lt;/location&gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;

Si queremos &lt;span style=&quot;font-weight: bold;&quot;&gt;quitar el modo lectura a cualquiera&lt;/span&gt;, porque nuestro proyecto sea confidencial o no queramos que sea visto desde fuera, basta reemplazar la sección:&lt;br /&gt;

&lt;code&gt; &lt;limitexcept get=&quot;&quot; options=&quot;&quot; propfind=&quot;&quot; report=&quot;&quot;&gt;&lt;br /&gt;
Require valid-user&lt;br /&gt;
&lt;/limitexcept&gt; &lt;/code&gt;&lt;br /&gt;

por&lt;br /&gt;

&lt;code&gt;Require valid-user&lt;/code&gt;&lt;br /&gt;

&lt;span style=&quot;font-weight: bold;&quot;&gt;Reiniciamos el servicio de apache&lt;/span&gt; para que nos rearranque con los cambios introducidos.&lt;br /&gt;

&lt;code&gt;sudo /etc/init.d/apache2 restart&lt;/code&gt;&lt;br /&gt;

&lt;strong&gt;Notas finales&lt;/strong&gt;&lt;br /&gt;

Si queremos &lt;span style=&quot;font-weight: bold;&quot;&gt;añadir usuarios &lt;/span&gt;a nuestros repositorios:&lt;br /&gt;

&lt;code&gt;htpasswd2 /etc/apache2/dav_svn.passwd otro_usuario&lt;/code&gt;&lt;br /&gt;

Si queremos &lt;strong&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;crear nuevos repositorios&lt;/span&gt;&lt;/strong&gt;
 repetiremos todo desde el tercer paso, creando fichero de contraseñas 
con otro nombre (seguridad), añadiendo al final del fichero 
/etc/apache2/mods-available/dav_svn.conf la configuracion del nuevo 
servidor (seguramente cambia el path al fichero de contraseñas y el path
 al propio repositorio.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Extraído de&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
https://ubuntulife.wordpress.com/2007/05/29/instalar-un-servidor-de-subversion-en-ubuntu/</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/4579337351583728029/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/4579337351583728029' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/4579337351583728029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/4579337351583728029'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2015/06/instalar-un-servidor-de-subversion-en.html' title='Instalar un servidor de Subversion en Ubuntu '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-1237953442077186381</id><published>2015-02-27T10:25:00.001-03:00</published><updated>2015-02-27T10:25:13.771-03:00</updated><title type='text'>Tools red server ethtools</title><content type='html'>root@srvlinux:/home/mnigro# ethtool eth0&lt;br /&gt;Settings for eth0:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Supported ports: [ TP ]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Supported link modes:&amp;nbsp;&amp;nbsp; 10baseT/Half 10baseT/Full &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100baseT/Half 100baseT/Full &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000baseT/Full &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Supported pause frame use: No&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Supports auto-negotiation: Yes&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Advertised link modes:&amp;nbsp; 10baseT/Half 10baseT/Full &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100baseT/Half 100baseT/Full &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000baseT/Full &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Advertised pause frame use: No&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Advertised auto-negotiation: Yes&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Speed: 1000Mb/s&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duplex: Full&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Port: Twisted Pair&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PHYAD: 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Transceiver: internal&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Auto-negotiation: on&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MDI-X: on (auto)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Supports Wake-on: pumbg&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wake-on: g&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Current message level: 0x00000007 (7)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drv probe link&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Link detected: yes&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/1237953442077186381/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/1237953442077186381' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/1237953442077186381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/1237953442077186381'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2015/02/tools-red-server-ethtools.html' title='Tools red server ethtools'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-2637954104124490895</id><published>2015-02-04T12:17:00.000-03:00</published><updated>2015-02-04T12:17:07.639-03:00</updated><title type='text'>ZENMAP</title><content type='html'>http://nmap.org/zenmap/&lt;br /&gt;
&lt;br /&gt;
NMAP GUI</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/2637954104124490895/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/2637954104124490895' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/2637954104124490895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/2637954104124490895'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2015/02/zenmap.html' title='ZENMAP'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-5263351747025572511</id><published>2014-10-22T13:42:00.001-03:00</published><updated>2014-10-22T13:42:53.588-03:00</updated><title type='text'>Sectores dañados de Discos Reparar</title><content type='html'>&lt;span class=&quot;post-content&quot; style=&quot;display: block; overflow: hidden; width: 660px;&quot;&gt;sudo
 badblocks -s /dev/sda3---&amp;gt;sda3 es el tipo de disco asi como lo 
indica la imagen....luego de hacer eso en realidad deberas espera unas 
cuantas horas aprox..unas 2 horas..luego te saldras errores si tu disco 
esta dañado mas o menos asi...(IMPORTANTE...te pueden salir muxas mas 
depende de cuan dañado este tu disco)
&lt;br /&gt;25894612
&lt;br /&gt;25894614
&lt;br /&gt;25894620
&lt;br /&gt;25894810
&lt;br /&gt;(nota:&amp;nbsp;pueden&amp;nbsp;salirte&amp;nbsp;mas&amp;nbsp;errores&amp;nbsp;o&amp;nbsp;menos&amp;nbsp;errores&amp;nbsp;no&amp;nbsp;necesariamente&amp;nbsp;con&amp;nbsp;esa&amp;nbsp;enumeracion)
&lt;br /&gt;2..lo&amp;nbsp;que&amp;nbsp;tienes&amp;nbsp;que&amp;nbsp;hacer&amp;nbsp;es&amp;nbsp;aplicar&amp;nbsp;el&amp;nbsp;siguiente&amp;nbsp;codigo:
&lt;br /&gt;sudo&amp;nbsp;badblocks&amp;nbsp;-sw&amp;nbsp;/dev/sda3&amp;nbsp;sector_final&amp;nbsp;sector_inicial
&lt;br /&gt;en&amp;nbsp;mi&amp;nbsp;caso&amp;nbsp;fue:&amp;nbsp;
&lt;br /&gt;sudo&amp;nbsp;badblocks&amp;nbsp;-sw&amp;nbsp;/dev/sda3&amp;nbsp;25894810&amp;nbsp;25894612
&lt;br /&gt;siempre se toma desde el ultimo hacia el final..me refiero a los codigos de errores..por ejemplo &lt;span style=&quot;color: red;&quot;&gt;25894810&lt;/span&gt; es mi ulitmo error y esa debe ir primera y la primera &lt;span style=&quot;color: red;&quot;&gt;25894612&lt;/span&gt;debe ir ultima...
&lt;br /&gt;ATENCION::&amp;nbsp;el&amp;nbsp;codigo&amp;nbsp;W&amp;nbsp;que&amp;nbsp;esta&amp;nbsp;que&amp;nbsp;antes&amp;nbsp;de&amp;nbsp;&quot;&amp;nbsp;/dev/sda1&quot;&amp;nbsp;es&amp;nbsp;para&amp;nbsp;eliminar&amp;nbsp;todo&amp;nbsp;incluyendo&amp;nbsp;los&amp;nbsp;datos..pero&amp;nbsp;puedes&amp;nbsp;reemplazarlo&amp;nbsp;por&amp;nbsp;los&amp;nbsp;siguientes&amp;nbsp;codigos&amp;nbsp;a&amp;nbsp;continuacion:
&lt;br /&gt;para notar si tu disco esta sano,o sigue con errores..solo entras a 
utilidades de disco y ahi en una opcion que dice probar los datos 
SMART,entras y ahi tendras casi toda la informacion de tu 
disco..nombre,serie,temperatura,te saldran los errores que tiene...pero 
no te despor vencido a la primera,si en el primer intento no te reparo 
todos lo errores ps sigue intentando..al final si repara todo...solo se 
paciente)
&lt;br /&gt;
&lt;br /&gt;-s&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;nos&amp;nbsp;muestra&amp;nbsp;el&amp;nbsp;proceso&amp;nbsp;de&amp;nbsp;escaneo&amp;nbsp;del&amp;nbsp;disco,&amp;nbsp;mostrandonos&amp;nbsp;los&amp;nbsp;sectores&amp;nbsp;ya&amp;nbsp;checados.
&lt;br /&gt;
&lt;br /&gt;-v&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;modo&amp;nbsp;verbose&amp;nbsp;(común&amp;nbsp;en&amp;nbsp;muchos&amp;nbsp;comandos)
&lt;br /&gt;
&lt;br /&gt;-n&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;nos&amp;nbsp;pone&amp;nbsp;en&amp;nbsp;modo&amp;nbsp;no&amp;nbsp;destructivo,&amp;nbsp;esto&amp;nbsp;es&amp;nbsp;que&amp;nbsp;se&amp;nbsp;recuperaran&amp;nbsp;los&amp;nbsp;sectores&amp;nbsp;dañados&amp;nbsp;y&amp;nbsp;la&amp;nbsp;informacion&amp;nbsp;en&amp;nbsp;el&amp;nbsp;disco&amp;nbsp;duro&amp;nbsp;no&amp;nbsp;sera&amp;nbsp;dañada&amp;nbsp;o&amp;nbsp;eliminada.
&lt;br /&gt;
&lt;br /&gt;-f&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;repara&amp;nbsp;los&amp;nbsp;sectores&amp;nbsp;dañados.
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/5263351747025572511/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/5263351747025572511' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/5263351747025572511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/5263351747025572511'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2014/10/sectores-danados-de-discos-reparar.html' title='Sectores dañados de Discos Reparar'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-1021140920892372476</id><published>2014-09-13T04:28:00.001-03:00</published><updated>2014-09-13T04:28:55.720-03:00</updated><title type='text'>Scripts de utilidad para administradores de bases de datos </title><content type='html'>&lt;div class=&quot;WordSection1&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;strong&gt;Aqui&amp;nbsp;
 les dejo&amp;nbsp;una serie de scripts que son de gran&amp;nbsp;utilidad cuando&amp;nbsp;de 
administrar bases de datos en SQL Server hablamos,&amp;nbsp;divididos en 8 
secciones&lt;/strong&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: blue;&quot;&gt;Log de transacciones&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue;&quot;&gt;Seguridad (USUARIOS, LOGGINS, PASSWORD, ESQUEMAS, ROLES, PERMISOS)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue;&quot;&gt;Data files y files groups&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue;&quot;&gt;MSSQL Agent&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue;&quot;&gt;Backup and restore&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue;&quot;&gt;Indices&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue;&quot;&gt;Reporting services&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue;&quot;&gt;Utilidades y trucos&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;———————————-&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;——- LOG DE TRANSACCIONES —–&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;———————————-&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-VERIFICAR USO DEL LOG DE TRANSACCIONES ESPACIOS DISPONIBLES&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; SQLPERF&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt; LOGSPACE &lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;TRUNCAR EL LOG DE TRANSACCIONES EN SQL SERVER 2000 Y 2005&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;use&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; DB&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;CHECKPOINT&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;BACKUP&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: magenta;&quot;&gt;LOG&lt;/span&gt; Exercise &lt;span style=&quot;color: blue;&quot;&gt;WITH&lt;/span&gt;&lt;br /&gt;
TRUNCATE_ONLY&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; SHRINKFILE&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘Exercise_log’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 10&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;–Dejamos el archivo de log con un tamaño de 10 Mb&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; sqlperf&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;logspace&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;TRUNCAR EL LOG DE TRANSACCION EN SQL SERVER 2008&lt;/strong&gt;–&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;USE&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; DB&lt;span style=&quot;color: grey;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;ALTER&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;DATABASE&lt;/span&gt; AdventureWorks2008R2&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SET&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;RECOVERY&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;SIMPLE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;– Deja el log en 1 MB.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; SHRINKFILE&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;AdventureWorks2008R2_Log&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 1&lt;span style=&quot;color: grey;&quot;&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;– Regresar el&lt;br /&gt;
modelo de recuperacion a FULL.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;ALTER&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;DATABASE&lt;/span&gt; DB&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SET&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;RECOVERY&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;FULL&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;–******************************———————–&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;AÑADIR ARCHIVOS LOG A UNA BASE DE DATOS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;USE&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;master&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;ALTER&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;DATABASE&lt;/span&gt; DB&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;ADD&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: magenta;&quot;&gt;LOG&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;FILE&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;(&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NAME &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; DB_test1log2&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;FILENAME&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘RUTA\DB2log.ldf’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIZE &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; 5MB&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAXSIZE &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; 100MB&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILEGROWTH &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; 5MB&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;),&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;(&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NAME &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; DB_test1log3&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;FILENAME&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘RUTA\DB3log.ldf’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIZE &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; 5MB&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;MAXSIZE &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; 100MB&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILEGROWTH &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;br /&gt;
5MB&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;VERIFICAR EL ESTATUS DEL LOG DE TRANSACCIONES CUANDO ESTE LLENO&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Select&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; name &lt;span style=&quot;color: blue;&quot;&gt;as&lt;/span&gt; base_datos&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
log_reuse_wait&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; log_reuse_wait_desc&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;case&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
log_reuse_wait &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;when&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; 0 &lt;span style=&quot;color: blue;&quot;&gt;then&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘Hay actualmente uno o&lt;br /&gt;
más archivos de registro virtual reutilizables.’&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;when&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; 1 &lt;span style=&quot;color: blue;&quot;&gt;then&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘No se ha producido&lt;br /&gt;
ningún punto de comprobación desde el ÚLTIMO AVISO! para Ganar $$$$Se Buscan&lt;br /&gt;
Personas para Trabajar desde sus Casas por Internet – +Infoúltimo truncamiento&lt;br /&gt;
o el encabezado del registro no se ha movido más allá de un archivo de registro&lt;br /&gt;
virtual (todos los modelos de recuperación). Éste es un motivo habitual para&lt;br /&gt;
retrasar el truncamiento.’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;when&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; 2 &lt;span style=&quot;color: blue;&quot;&gt;then&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘Se necesita una copia&lt;br /&gt;
de seguridad del registro para hacer avanzar el encabezado del registro&lt;br /&gt;
(modelos de recuperación completos o registrados de forma masiva sólo). Cuando&lt;br /&gt;
se completa la copia de seguridad del registro, se avanza el encabezado del&lt;br /&gt;
registro y algún espacio del registro podría convertirse en reutilizable.’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;when&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; 3 &lt;span style=&quot;color: blue;&quot;&gt;then&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘Existe una recuperación&lt;br /&gt;
o copia de seguridad de datos en curso (todos los modelos de recuperación).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;La copia de seguridad&lt;br /&gt;
de datos funciona como una transacción activa y, cuando se ejecuta, la copia de&lt;br /&gt;
seguridad impide el truncamiento.’&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;when&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; 4 &lt;span style=&quot;color: blue;&quot;&gt;then&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘Podría existir una&lt;br /&gt;
transacción de larga duración en el inicio de la copia de seguridad del&lt;br /&gt;
registro. En este caso, para liberar espacio se podría requerir otra copia de&lt;br /&gt;
seguridad del registro. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Se difiere una&lt;br /&gt;
transacción. Una transacción diferida es efectivamente una transacción activa&lt;br /&gt;
cuya reversión se bloquea debido a algún recurso no disponible.’&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;when&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; 5 &lt;span style=&quot;color: blue;&quot;&gt;then&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘Se realiza una pausa en&lt;br /&gt;
la creación de reflejo de la base de datos o, en el modo de alto rendimiento,&lt;br /&gt;
la base de datos reflejada está notablemente detrás de la base de datos de la&lt;br /&gt;
entidad de seguridad (sólo para el modelo de recuperación completa).’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;when&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; 6 &lt;span style=&quot;color: blue;&quot;&gt;then&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘Durante las&lt;br /&gt;
replicaciones transaccionales, las transacciones relevante para las&lt;br /&gt;
publicaciones no se han entregado aún a la base de datos de distribución (sólo&lt;br /&gt;
para el modelo de recuperación completa).’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;when&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; 7 &lt;span style=&quot;color: blue;&quot;&gt;then&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘Se está creando una&lt;br /&gt;
instantánea de base de datos (todos los modelos de recuperación). Éste es un&lt;br /&gt;
motivo habitual, por lo general breve, para retrasar el truncamiento del&lt;br /&gt;
registro.’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;when&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; 8 &lt;span style=&quot;color: blue;&quot;&gt;then&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘Se está produciendo un&lt;br /&gt;
recorrido del registro (todos los modelos de recuperación). Éste es un motivo&lt;br /&gt;
habitual, por lo general breve, para retrasar el truncamiento del registro.’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;when&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; 9 &lt;span style=&quot;color: blue;&quot;&gt;then&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘No se utiliza este&lt;br /&gt;
valor actualmente.’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;end&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;as&lt;/span&gt; columna&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;recovery_model_desc &lt;span style=&quot;color: blue;&quot;&gt;as&lt;/span&gt;&lt;br /&gt;
modo_recuperacion_log&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; page_verify_option_desc &lt;span style=&quot;color: blue;&quot;&gt;as&lt;/span&gt; page_verify_bbdd&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
user_access_desc &lt;span style=&quot;color: blue;&quot;&gt;as&lt;/span&gt; user_access&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;state_desc &lt;span style=&quot;color: blue;&quot;&gt;as&lt;/span&gt; estado_bbdd &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;databases&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;—————————————————————————&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;——- Seguridad (USUARIOS, LOGGINS, PASSWORD, ESQUEMAS, ROLES, PERMISOS–&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;—————————————————————————&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;DESCRIPCION DE LOS ROLES DE SERVIDOR&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_helpsrvrole&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;MIEMBROS QUE PERTENECEN A UN ROL DE SERVIDOR&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_helpsrvrolemember&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;ROLES DEFINIDOS EN LA BASE DE DATOS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_helprole&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;MIEMBROS DE LOS ROLES DE BASES DE DATOS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_helprolemember&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;FIXED DATABASE ROLES &lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_helpdbfixedrole&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;LISTA DE LOGINS POR BASE DE DATOS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_helplogins&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_srvrolepermission&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: green;&quot;&gt;– &lt;strong&gt;permisos que tiene cada rol en el servidor&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_addsrvrolemember&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;– &lt;strong&gt;agrega un inicio de sesion a un rol&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_dropsrvrolemember&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: green;&quot;&gt;– &lt;strong&gt;quita usuario, inicio de sesion o grupo del rol del servidor&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_helpuser&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;– &lt;strong&gt;informacion de usuarios en el servidor actual&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_helpntgroup&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;– &lt;strong&gt;Grupos&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;xp_cmdshell&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;‘whoami.exe’&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;–&lt;strong&gt;para saber quien tiene permisos de ejecutar xp_cmdshell&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;ASIGNAR PERMISOS A USUARIOS SOBRE OBJETOS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;grant&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
tipo_de_permiso &lt;span style=&quot;color: blue;&quot;&gt;on&lt;/span&gt; objeto &lt;span style=&quot;color: blue;&quot;&gt;to&lt;/span&gt; rol&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;CREAR ROLES&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;CREATE&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;ROLE&lt;/span&gt; role_name [ AUTHORIZATION owner_name ] &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;INFORMACION DE LOS ROLES&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;database_role_members&lt;/span&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;INFORMACION DE LOS ROLES&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;database_principals&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;INFORMACION DE LOS ESQUEMAS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;schemas&lt;/span&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;INFORMACION DE LOGGINS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;FROM&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;server_principals&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;NOMBRE DE USUARIO ACTUAL&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: magenta;&quot;&gt;CURRENT_USER&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;NOMBRE DE SYSTEM_USER&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: magenta;&quot;&gt;SYSTEM_USER&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;USUARIOS HUERFANOS SIN INICIO DE SESION&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;EXEC&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: maroon;&quot;&gt;sp_change_users_login&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘Update_One’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘ExistingUser’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘NewLogin’&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;use&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;master&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;select&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;sid&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; name &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;master&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;..&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;syslogins&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;– *** &lt;strong&gt;Ver los Inicios de Sesión de la Instancia de SQL&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt; Server&lt;/strong&gt; ***&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;use&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; DB &lt;span style=&quot;color: blue;&quot;&gt;select&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;uid&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; name&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;sid&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sysusers&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;where&lt;/span&gt;&lt;br /&gt;
islogin&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;1 &lt;span style=&quot;color: green;&quot;&gt;– *** &lt;strong&gt;Ver los Usuarios de la Base de Datos actual de SQL Server&lt;/strong&gt; ***&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—&lt;strong&gt;CAMBIAR DUEÑO &lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;DE UN OBJETO&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;EXEC&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: maroon;&quot;&gt;sp_changeobjectowner&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘CurrentOwner.TableName’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;‘newOwner’&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;CHECAR QUIEN ES DUEÑO DE OBJETOS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;name&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; u&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;name &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sysusers&lt;/span&gt; u&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sysobjects&lt;/span&gt; s&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;where&lt;/span&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;uid&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;u&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;uid&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;and&lt;/span&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;uid&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;!=&lt;/span&gt;1 &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;LIGAR LOGGIN CON USUARIO&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: maroon;&quot;&gt;sp_change_users_login&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘AUTO_FIX’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘usr_reports’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;CAMBIAR PASSWORD SQL SERVER 2000&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: maroon;&quot;&gt;sp_password&lt;/span&gt; @old &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;null,&lt;/span&gt; @new &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘pasword’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; @loginame &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;user&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—-&lt;strong&gt;CAMBIAR PASSWORD SQL SERVER 2005 y 2008&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;ALTER&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;LOGIN&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;user&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;WITH&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;PASSWORD&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘pasword’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;LISTAR PERMISOS DE LOS USUARIOS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; dp&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;NAME usuario&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; dp&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;type_desc &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt; tipo&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; o&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;NAME &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt; nombre_de_objeto&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
p&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;permission_name nombre_de_permiso&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;p&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;state_desc &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt; permisos &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;database_permissions&lt;/span&gt; p&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;left&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;OUTER&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;JOIN&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;all_objects&lt;/span&gt; o &lt;span style=&quot;color: blue;&quot;&gt;on&lt;/span&gt; p&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;major_id &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; o&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;OBJECT_ID&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;inner&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;JOIN&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;database_principals&lt;/span&gt; dp &lt;span style=&quot;color: blue;&quot;&gt;on&lt;/span&gt;&amp;nbsp; p&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;grantee_principal_id&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; dp&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;principal_id&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;order&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;by&lt;/span&gt;&lt;br /&gt;
usuario&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;Estadísticas de inicio de sesión sql server 2008&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;dm_exec_sessions&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;número de sesiones de cada usuario&amp;nbsp; sql server 2008&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; login_name&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;COUNT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;session_id&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt; session_count &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;FROM&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;dm_exec_sessions&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GROUP&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;BY&lt;/span&gt; login_name&lt;span style=&quot;color: grey;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;Buscar sesiones inactivas que tienen transacciones abiertas sql server 2008&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.*&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;FROM&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;dm_exec_sessions&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt;&lt;br /&gt;
s&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;WHERE&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;EXISTS&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;(&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;FROM&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;dm_tran_session_transactions&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt; t&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;WHERE&lt;/span&gt; t&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;session_id &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;session_id&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;AND&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;NOT&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;EXISTS&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;(&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;FROM&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;dm_exec_requests&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt; r&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;WHERE&lt;/span&gt; r&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;session_id &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;session_id&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;NUMERO DE CONEXIONES A LA INSTANCIA POR APLICACION&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CPU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;cpu_time&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;WaitTime&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;total_scheduled_time&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;ElapsedTime&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;total_elapsed_time&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;Reads&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;num_reads&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;Writes&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;num_writes&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;Connections&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;COUNT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;1&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;Program&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;program_name&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;FROM&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;dm_exec_connections&lt;/span&gt; con&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;LEFT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;JOIN&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;dm_exec_sessions&lt;/span&gt;&lt;br /&gt;
ses&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;ON&lt;/span&gt; ses&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;session_id &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; con&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;session_id&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GROUP&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;BY&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;program_name&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;NUMERO DE CONEXIONES A LA INSTANCIA POR USUARIO&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CPU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;cpu_time&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;WaitTime&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;total_scheduled_time&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;ElapsedTime&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;total_elapsed_time&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;Reads&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;num_reads&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;Writes&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;SUM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;num_writes&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;Connections&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;COUNT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;1&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;[login]&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; original_login_name&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;from&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;dm_exec_connections&lt;/span&gt; con&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;LEFT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;JOIN&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;dm_exec_sessions&lt;/span&gt;&lt;br /&gt;
ses&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;ON&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; ses&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;session_id &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; con&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;session_id&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GROUP&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;BY&lt;/span&gt; original_login_name&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;—————————–&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;–DATA FILES Y FILES GROUPS–&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;—————————–&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_helpfilegroup&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: green;&quot;&gt;– &lt;strong&gt;MOSTRAR FILES Y FILES GROUPS&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_helpfile&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;– &lt;strong&gt;MOSTRAR INFORMACION DE LOS FILES DE LA BASE DE DATOS ACTUAL&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_helpdb&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; CICLISMO&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;–&lt;strong&gt;MOSTRAR INFORMACION DE LAS BASES DE DATOS&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
SHRINKDATABASE&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;DB&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 25&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– &lt;strong&gt;REDUCIR BASE DE DATOS&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;Mostrar informacion de los archivos log y mdf de la base de datos actual&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;database_files&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;Añadir datafiles&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;use&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;master&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;go&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Alter&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;database&lt;/span&gt; tempdb &lt;span style=&quot;color: blue;&quot;&gt;add&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;file &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;name &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; tempdev1&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;filename&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘G:\MSSQL.2\MSSQL\Data\tempdb1.ndf’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;ESPACIO DISPONIBLE EN DATAFILES&amp;nbsp; SQL SERVER 2000&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;use&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; db&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; a&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;FILEID&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;[FILE_SIZE_MB] &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&amp;nbsp; &lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;decimal&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;12&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;2&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;round&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;a&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;size&lt;span style=&quot;color: grey;&quot;&gt;/&lt;/span&gt;128.000&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;2&lt;span style=&quot;color: grey;&quot;&gt;)),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;[SPACE_USED_MB] &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;decimal&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;12&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;2&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;round&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;fileproperty&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;a&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;name&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘SpaceUsed’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)/&lt;/span&gt;128.000&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;2&lt;span style=&quot;color: grey;&quot;&gt;)),&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;[FREE_SPACE_MB] &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;decimal&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;12&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;2&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;round&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;((&lt;/span&gt;a&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;size&lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;fileproperty&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;a&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;name&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘SpaceUsed’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;))/&lt;/span&gt;128.000&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;2&lt;span style=&quot;color: grey;&quot;&gt;))&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;NAME &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;left(&lt;/span&gt;a&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;NAME&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;15&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;FILENAME&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;left(&lt;/span&gt;a&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;FILENAME&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;30&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;from&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;sysfiles&lt;/span&gt; a&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;– &lt;strong&gt;ESPACIO DISPONIBLE EN LOS DATA FILES SQL SERVER 2005 – 2008&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; name&lt;br /&gt;
Nombre_Archivo &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;size&lt;span style=&quot;color: grey;&quot;&gt;/&lt;/span&gt;128.0&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;CAST&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;FILEPROPERTY&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;name&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘SpaceUsed’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)/&lt;/span&gt;128.0 &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt;&lt;br /&gt;
EspaciodisponibleMB &lt;span style=&quot;color: blue;&quot;&gt;FROM&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;database_files&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;—————-&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;– MSSQL Agent–&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;—————-&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_help_job&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;–&lt;strong&gt;lista de jobs en msdb&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;LISTA DE JOBS FALLIDOS EN SU ULTIMO INTENTO&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; name &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt; [JOBS FALLIDOS] &lt;span style=&quot;color: blue;&quot;&gt;FROM&lt;/span&gt;&lt;br /&gt;
msdb&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;sysjobs&lt;br /&gt;
A&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; msdb&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;sysjobservers B&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;WHERE&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; A&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;job_id &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; B&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;job_id &lt;span style=&quot;color: grey;&quot;&gt;AND&lt;/span&gt; B&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;last_run_outcome &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; 0&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;INFORMACION DE LOS SCHEDULES DE UN JOB&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;USe&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; msdb&lt;span style=&quot;color: grey;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;EXEC&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;sp_help_jobschedule&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;@job_name &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;N’FTM: ActualizaStatusConvenio’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @schedule_name &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;N’JobActualizaStatusConvenio’&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Include_description &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; 1&lt;span style=&quot;color: grey;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;Ver un listado de Jobs Deshabilitados:&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; name &lt;span style=&quot;color: blue;&quot;&gt;FROM&lt;/span&gt; msdb&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;sysjobs &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;WHERE&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;enabled&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; 0 &lt;span style=&quot;color: blue;&quot;&gt;ORDER&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;BY&lt;/span&gt; name&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;Permisos necesarios para crear jobs&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;USE&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; [msdb]&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;GO&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;CREATE&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;USER&lt;/span&gt;&lt;br /&gt;
[MyUser] &lt;span style=&quot;color: blue;&quot;&gt;FOR&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;LOGIN&lt;/span&gt;&lt;br /&gt;
[MyUser]&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;GO&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;USE&lt;/span&gt; [msdb]&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;GO&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;EXEC&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;sp_addrolemember&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘SQLAgentUserRole’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘MyUser’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: green; text-decoration: underline;&quot;&gt;————————–&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: green; text-decoration: underline;&quot;&gt;– BACKUP AND RESTORE&amp;nbsp;&amp;nbsp;—&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: green; text-decoration: underline;&quot;&gt;————————–&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;LISTA DE BACKUPS REALIZADOS EN LA INSTANCIA&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Select&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
database_name&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;server_Name&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;Machine_Name&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;b&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;[name]&lt;span style=&quot;color: blue;&quot;&gt;as&lt;/span&gt; Backup_Name&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;Backup_Start_Date&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;Backup_Finish_Date&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;Physical_Device_Name&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;from&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;master&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;databases&lt;/span&gt; a&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Inner&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;Join&lt;/span&gt; msdb&lt;span style=&quot;color: grey;&quot;&gt;..&lt;/span&gt;backupset&lt;br /&gt;
b&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;on&lt;/span&gt;&lt;br /&gt;
a&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;Name &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; b&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;Database_Name&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Inner&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;Join&lt;/span&gt; msdb&lt;span style=&quot;color: grey;&quot;&gt;..&lt;/span&gt;backupmediafamily&lt;br /&gt;
c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;on&lt;/span&gt; &amp;nbsp;&amp;nbsp; c&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;media_set_id&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; b&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;media_set_id&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;LISTA DE ULTIMOS RESTORES HECHOS A LA BASE DE DATOS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;USE&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; MSDB &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;TOP&lt;/span&gt; 5 &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;FROM&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
RESTOREHISTORY &lt;span style=&quot;color: blue;&quot;&gt;WITH &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;nolock&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;WHERE &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;(&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;DESTINATION_DATABASE_NAME &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;‘NOMBREBD’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;ORDER&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;BY&lt;/span&gt; RESTORE_DATE &lt;span style=&quot;color: blue;&quot;&gt;DESC&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;ULTIMO RESPALDO HECHO A LA BASE DE DATOS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
database_name&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;max&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;backup_finish_date&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;as&lt;/span&gt; backup_finish_date &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt;&lt;br /&gt;
msdb&lt;span style=&quot;color: grey;&quot;&gt;..&lt;/span&gt;backupset&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;where&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
database_name&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘your_database’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;group&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;by&lt;/span&gt; database_name&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;ULTIMA RESTAURACION HECHA A LA BASE DE DATOS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
destination_database_name&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;max&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;restore_date&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;as&lt;/span&gt; restore_date &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; msdb&lt;span style=&quot;color: grey;&quot;&gt;..&lt;/span&gt;restorehistory&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;where&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
destination_database_name&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘your_database’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;group&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;by&lt;/span&gt; destination_database_name&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;———–&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;–INDICES–&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;———–&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; DBREINDEX&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;“HumanResources.Employee”&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; PK_Employee_EmployeeID&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;80&lt;span style=&quot;color: grey;&quot;&gt;);&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;–&lt;strong&gt;COMO RECONSTRUIR UN INDICE&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_rename&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; @objname &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘ciclista.PK_ciclista’&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; @newname &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘PK_ciclistarenombrado’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
@objtype &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘INDEX’&lt;/span&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;–&lt;strong&gt;COMO RENOMBRAR UN INDICE&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_helpindex&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; Ejemplo &lt;span style=&quot;color: green;&quot;&gt;– &lt;strong&gt;VER INDICES SOBRE LA TABLA&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_help &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Ejemplo&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;– &lt;strong&gt;MOSTRAR INFORMACION SOBRE EL OBJETO&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;DEFRAGMENTAR INDICES EN LINEA SQLSERVER 2000&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
INDEXDEFRAG&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;CS_PACC&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; “DBO.sotbl_MultPro”&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; PK_MultPro&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;COMPROBAR NIVEL DE FRAGMENTACION SQLSERVER 2000&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;USE&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; CS_PACC&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; SHOWCONTIG&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘DBO.sotbl_MultPro’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;————————–&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;– Reporting services&amp;nbsp;&amp;nbsp;—&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;————————–&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;LISTADO DE LAS SUSCRIPCIONES EXISTENTES&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;‘SubnDesc’&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;Description&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘ReportPath’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; c&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;Path&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;‘SubnOwner’&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; us&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;UserName&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘LastStatus’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;LastStatus&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;‘LastRun’&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;=&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;LastRunTime&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘ReportModifiedBy’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; uc&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;UserName&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;‘ScheduleId’&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;=&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; rs&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;ScheduleId&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘SubscriptionId’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;SubscriptionID&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;from&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
ReportServer&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;Subscriptions&lt;br /&gt;
s&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;join&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
ReportServer&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;Catalog&lt;/span&gt; c &lt;span style=&quot;color: blue;&quot;&gt;on&lt;/span&gt; c&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;ItemID &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;Report_OID&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;join&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
ReportServer&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;ReportSchedule&lt;br /&gt;
rs &lt;span style=&quot;color: blue;&quot;&gt;on&lt;/span&gt; rs&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;SubscriptionID&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;SubscriptionID&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;join&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
ReportServer&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;Users&lt;br /&gt;
uc &lt;span style=&quot;color: blue;&quot;&gt;on&lt;/span&gt; uc&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;UserID&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; c&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;ModifiedByID&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;join&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
ReportServer&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;Users&lt;br /&gt;
us &lt;span style=&quot;color: blue;&quot;&gt;on&lt;/span&gt; us&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;UserID&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;OwnerId &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;join&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; msdb&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;sysjobs j &lt;span style=&quot;color: blue;&quot;&gt;on&lt;/span&gt; j&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;name &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;nvarchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;128&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt;rs&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;ScheduleId&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;INFORMACION DE LAS SUSCRIPCIONES EN TIEMPO DE EJECUCIÓN&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;‘Report’&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;=&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; c&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;Path&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘Subscription’&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;Description&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;‘SubscriptionOwner’&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;=&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; uo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;UserName&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘SubscriptionModBy’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;br /&gt;
um&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;UserName&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;‘SubscriptionModDate’&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;=&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;ModifiedDate&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘ProcessStart’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;dateadd&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;hh&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DATEDIFF&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;hh&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Getutcdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;()),&lt;/span&gt;n&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;ProcessStart&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;‘NotificationEntered’&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;=&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: magenta;&quot;&gt;dateadd&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;hh&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DATEDIFF&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;hh&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Getutcdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;()),&lt;/span&gt;n&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;NotificationEntered&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;‘ProcessAfter’&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;=&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: magenta;&quot;&gt;dateadd&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;hh&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DATEDIFF&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;hh&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Getutcdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;()),&lt;/span&gt;n&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;ProcessAfter&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt; n&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;Attempt&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;‘SubscriptionLastRunTime’&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;=&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: magenta;&quot;&gt;dateadd&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;hh&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DATEDIFF&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;hh&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Getutcdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;()),&lt;/span&gt;n&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;SubscriptionLastRunTime&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;n&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;IsDataDriven&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘ProcessHeartbeat’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;dateadd&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;hh&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DATEDIFF&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;hh&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Getutcdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;Getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;()),&lt;/span&gt;n&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;ProcessHeartbeat&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt; n&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;Version&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;n&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;SubscriptionID&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;from&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
Notifications n&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;join&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
Subscriptions s &lt;span style=&quot;color: blue;&quot;&gt;on&lt;/span&gt; n&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;SubscriptionID&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;SubscriptionID&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;join&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;Catalog&lt;/span&gt; c &lt;span style=&quot;color: blue;&quot;&gt;on&lt;/span&gt; c&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;ItemID &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; n&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;ReportID&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;join&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; Users uo &lt;span style=&quot;color: blue;&quot;&gt;on&lt;/span&gt; uo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;UserID &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;OwnerID&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;join&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; Users um &lt;span style=&quot;color: blue;&quot;&gt;on&lt;/span&gt; um&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;UserID &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; s&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;ModifiedByID&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;INFORME DE LOS REPORTES QUE MAS SE UTILIZAN EN REPORTING SERVICES&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;ex&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;UserName&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; ex&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;Format&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; ex&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TimeStart&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; cat&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;Name&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; ex&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;Parameters&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;nvarchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;10&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt; ex&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TimeStart&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 101&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt; rundate&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;FROM&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
ExecutionLog &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt; ex &lt;span style=&quot;color: grey;&quot;&gt;INNER&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;JOIN&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Catalog&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt; cat &lt;span style=&quot;color: blue;&quot;&gt;ON&lt;/span&gt; ex&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;ReportID &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; cat&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;ItemID&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;ORDER&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;BY&lt;/span&gt; ex&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;TimeStart &lt;span style=&quot;color: blue;&quot;&gt;DESC&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;–log de report server&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;Select&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; ExecutionLog3&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;————————–&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;– UTILIDADES Y TRUCOS&amp;nbsp;&amp;nbsp;–&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; text-decoration: underline;&quot;&gt;————————–&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_spaceused&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: green;&quot;&gt;–&lt;strong&gt;ESPACIO USADO POR UN OBJETO&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;/* importantando datos desde Excel*/&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; orderId&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; orderDate&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
customerId&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; employeeId &lt;span style=&quot;color: blue;&quot;&gt;INTO&lt;/span&gt;&lt;br /&gt;
orders &lt;span style=&quot;color: blue;&quot;&gt;FROM&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;OPENDATASOURCE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘Microsoft.Jet.OLEDB.4.0′&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;‘Data Source=C:\datos.xls;Extended Properties=Excel&lt;br /&gt;
8.0′&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;)…&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;[Sheet2$]&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;go&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;/* importantando&lt;br /&gt;
los datos para la tabla [ orders ]*/&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;INSERT&lt;/span&gt;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;INTO&lt;/span&gt; EXPERIMENTO &lt;span style=&quot;color: blue;&quot;&gt;select&lt;/span&gt;&lt;br /&gt;
ID&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; NOMBRE&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
MATERIA&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;FROM&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;OPENDATASOURCE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘Microsoft.Jet.OLEDB.4.0′&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;‘Data Source=C:\Libroimportar.xls;Extended Properties=Excel&lt;br /&gt;
8.0′&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)…&lt;/span&gt;[IMPORTAR$] &lt;span style=&quot;color: blue;&quot;&gt;where&lt;/span&gt; ID &lt;span style=&quot;color: grey;&quot;&gt;NOT&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;IN&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;(&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; ID &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; EXPERIMENTO&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;go&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;COMO RENOMBRAR SERVIDOR/INSTANCIA SQL SERVER&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: magenta;&quot;&gt;@@SERVERNAME&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sp_dropserver&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;‘OLD_SERVER’&lt;/span&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;go&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: maroon;&quot;&gt;sp_addserver&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘NEW_SERVER’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘local’&lt;/span&gt;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;go&lt;/span&gt;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;– POR ULTIMO REINICIAR SERVIDOR &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;HABILIDAR XP_CMDSHELL&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;EXEC&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: maroon;&quot;&gt;sp_configure&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘show advanced options’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
1&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;–Permitir&lt;br /&gt;
que las opciones avanzadas puedan ser cambiadas.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;RECONFIGURE&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;EXEC&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: maroon;&quot;&gt;sp_configure&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘xp_cmdshell’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 1&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;–Permitir el uso de SP XP_CMDSHELL.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;RECONFIGURE&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;GO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;Espacio en cada disco para la instancia SQL SERVER&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;EXEC&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;master&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;..&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;xp_fixeddrives&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;Ver que comandos estan corriendo actualmente&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; session_id&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Text&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;from&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;sys&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;dm_exec_requests&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; r &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;cross&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;apply&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;dm_exec_sql_text&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;sql_handle&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; t&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;– &lt;strong&gt;COMPROBAR ESTADO DE SERVICIOS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;exec&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;master&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;xp_servicecontrol&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘QUERYSTATE’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘MSSQLServer’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;exec&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;master&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;xp_servicecontrol&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘QUERYSTATE’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘SQLServerAgent’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;exec&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;master&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;xp_servicecontrol&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘QUERYSTATE’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘SQLBrowser’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;exec&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;master&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;dbo&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;xp_servicecontrol&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘QUERYSTATE’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘ReportServer$CSPDBA’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;Ver Información de las transacciones abiertas&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;sys&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;dm_tran_database_transactions&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;Como resetear la semilla de un identity&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; CHECKIDENT&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘dbo.Customers’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
RESEED&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 1&lt;span style=&quot;color: grey;&quot;&gt;);&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;INSERTAR RESULTADO DE UN STORED PROCEDURE EN TABLA TEMPORAL Y EVITAR NESTED&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;CREATE&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;TABLE&lt;/span&gt; #MYTEMPO&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;spid &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; ecid &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;[status] &lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;200&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt; loginame &lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;200&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt; hostname &lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;200&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt;blk &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;dbname &lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;200&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt;cmd &lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;200&lt;span style=&quot;color: grey;&quot;&gt;))&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;INSERT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;INTO&lt;/span&gt; #MYTEMPO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;FROM&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;OPENQUERY&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;LOCALSERVER&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘SET FMTONLY OFF EXEC&lt;br /&gt;
msdb..sp_help_job’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;from&lt;/span&gt; #MYTEMPO&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;CREAR LINKED SERVER&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;EXEC&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: maroon;&quot;&gt;sp_addlinkedserver&lt;/span&gt;@server&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘LOCALSERVER’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&amp;nbsp; @srvproduct &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;”&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;@provider &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘SQLOLEDB’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; @datasrc &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;@@servername&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;BUSCAR POR NOMBRE DE COLUMNA EN UNA BASE DE DATOS&amp;nbsp;&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; TABLE_NAME&lt;span style=&quot;color: grey;&quot;&gt;,*&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;FROM&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: green;&quot;&gt;INFORMATION_SCHEMA&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;COLUMNS&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;WHERE&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
COLUMN_NAME &lt;span style=&quot;color: grey;&quot;&gt;LIKE&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘%a%’&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;—- &lt;strong&gt;BUSCAR TEXTO EN STORED PROCEDURE&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SELECT&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
ROUTINE_NAME&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; ROUTINE_DEFINITION&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;*&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;FROM&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: green;&quot;&gt;INFORMATION_SCHEMA&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;ROUTINES&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;WHERE&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
ROUTINE_DEFINITION &lt;span style=&quot;color: grey;&quot;&gt;LIKE&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;‘%BranchConvenio%’&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt;&quot;&gt;
&lt;span style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;AND&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;
ROUTINE_TYPE&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘PROCEDURE’&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h3 class=&quot;sd-title&quot;&gt;
&lt;br /&gt;&lt;/h3&gt;
</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/1021140920892372476/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/1021140920892372476' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/1021140920892372476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/1021140920892372476'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2014/09/scripts-de-utilidad-para.html' title='Scripts de utilidad para administradores de bases de datos '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-535708352463894470</id><published>2014-09-01T20:38:00.002-03:00</published><updated>2014-09-01T20:38:15.732-03:00</updated><title type='text'>Abre y maneja ficheros Acces en Ubuntu</title><content type='html'>&lt;span class=&quot;post-content&quot; style=&quot;display: block; overflow: hidden; width: 660px;&quot;&gt;Para
 todos aquellos usuarios que acaban de aterrizar en Ubuntu, y tienen 
bases de datos de antiguos sistemas Windows, donde usaban Microsoft 
Acces, va dedicado este post, con el que podrán ver, lo fácil que 
resulta trabajar desde Ubuntu, con nuestros antiguos sistemas de bases 
de datos access.
&lt;br /&gt;
&lt;br /&gt;Así que manos a la obra, lo primero es instalar algunos programas.
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;div class=&quot;citacuerpo&quot;&gt;
&lt;em&gt;sudo apt-get install mdbtools mdbtools-gmdb&lt;/em&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;gmdb&lt;/b&gt; es una interfaz gráfica muy cómoda que nos permite ver y
 exportar el esquema y los datos de las tablas. Además permite ver otros
 elementos de la base de datos. Accesible en Gnome en el menú &lt;b&gt;Aplicaciones -&amp;gt; Oficina -&amp;gt; MDB Viewer&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;Abre y maneja ficheros Acces en Ubuntu&quot; border=&quot;0&quot; class=&quot;imagen&quot; src=&quot;http://www.marcelor.com/wp-content/uploads/gmdb1.png&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;El paquete &lt;b&gt;mdbtools&lt;/b&gt; es un conjunto de programas de línea de 
comandos que brindan más funcionalidad para gestionar ése tipo de bases 
de datos. Les comento algunas de las herramientas que vienen con el 
paquete:
&lt;br /&gt;
&lt;br /&gt;    * &lt;b&gt;mdb-tables:&lt;/b&gt; muestra las tablas de la base de datos. La 
salida puede configurarse para mostrar los nombres de las tablas en una 
fila o una columna , separar las tablas con un separador y mostrar 
además las tablas de sistema de la base de datos.
&lt;br /&gt;    * &lt;b&gt;mdb-schema:&lt;/b&gt; permite exportar el esquema de la base de 
datos entera o un tabla en particular en formatos adecuados para algunos
 motores de base de datos: Access, Sybase, Oracle, y Postgresql. Tiene 
una opción para sanear los nombres (por ejemplo reemplaza espacios por 
guiones bajos).
&lt;br /&gt;    * &lt;b&gt;mdb-sql:&lt;/b&gt; un cliente interactivo con un lenguaje SQL minimal y dos comandos útiles, listar y describir tablas.
&lt;br /&gt;    * &lt;b&gt;mdb-export:&lt;/b&gt; export los datos en formato CSV o como sentencias INSERT de SQL (la exportación de gmdb no tiene ésa opción).
&lt;br /&gt;&lt;span class=&quot;post-content&quot; style=&quot;display: block; overflow: hidden; width: 660px;&quot;&gt;fuente: &lt;a href=&quot;http://www.marcelor.comntu/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.marcelor.comntu&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;post-content&quot; style=&quot;display: block; overflow: hidden; width: 660px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/535708352463894470/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/535708352463894470' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/535708352463894470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/535708352463894470'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2014/09/abre-y-maneja-ficheros-acces-en-ubuntu.html' title='Abre y maneja ficheros Acces en Ubuntu'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-8589778065266552831</id><published>2014-06-30T10:46:00.002-03:00</published><updated>2014-06-30T10:46:56.182-03:00</updated><title type='text'>Backups Consola Linux</title><content type='html'>Si estas administrando un &lt;strong&gt;servidor Linux&lt;/strong&gt;, en mi caso &lt;strong&gt;Ubuntu Server&lt;/strong&gt;, lo normal es que necesites &lt;strong&gt;automatizar&lt;/strong&gt; tareas como por ejemplo las &lt;strong&gt;copias de seguridad&lt;/strong&gt;. Para la automatización de comandos podemos usar &lt;strong&gt;Cron&lt;/strong&gt; que viene instalado en la mayoría de distribuciones &lt;strong&gt;Linux&lt;/strong&gt;.&lt;br /&gt;

Para la configuración usaremos el programa &lt;strong&gt;crontab&lt;/strong&gt; que viene con el paquete &lt;strong&gt;cron &lt;/strong&gt;y que nos va a ayudar a programar nuestras tareas de un manera sencilla.&lt;br /&gt;

Vamos a hacer un ejemplo para crear copias de seguridad diarias de las carpetas de usuarios -&amp;gt; /home&lt;br /&gt;

&lt;strong&gt;1.-&lt;/strong&gt; Editamos &lt;strong&gt;crontab &lt;/strong&gt;desde terminal ejecutando -&amp;gt; &lt;em&gt;sudo crontab -e&lt;/em&gt;&lt;br /&gt;

nos saldrá una pantalla parcida a la de la imagen en donde incluiremos nuestras líneas de código.&lt;br /&gt;

&lt;a href=&quot;http://www.resuelvetusproblemas.com/wp-content/uploads/2011/06/edicion-archivo-crontab.jpg&quot;&gt;&lt;img alt=&quot;Crontab automatizacion de copias automaticas linux&quot; class=&quot;alignnone size-full wp-image-374&quot; height=&quot;256&quot; src=&quot;http://www.resuelvetusproblemas.com/wp-content/uploads/2011/06/edicion-archivo-crontab.jpg&quot; title=&quot;edicion-archivo-crontab&quot; width=&quot;462&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

&lt;strong&gt;2.-&lt;/strong&gt; Introduciremos los comandos indicando cuando queremos que se ejecuten. Para ello crontab tiene un sistema muy sencillo de usar:&lt;br /&gt;

Cada linea de este archivo esta formada por 7 columnas&lt;br /&gt;

&lt;ol&gt;
&lt;li&gt;Minutos (de 0 a 59)&lt;/li&gt;
&lt;li&gt;Horas (de 0 a 23)&lt;/li&gt;
&lt;li&gt;Dia (de 1 a 31)&lt;/li&gt;
&lt;li&gt;Mes (de 1 a 12)&lt;/li&gt;
&lt;li&gt;Dia de la semana (de 0 a 7, donde 7 suele indicar domingo dependiendo de la configuración del sistema)&lt;/li&gt;
&lt;li&gt;usuario (opcional)&lt;/li&gt;
&lt;li&gt;orden a ejecutar&lt;/li&gt;
&lt;/ol&gt;
En las cinco primeras columnas si indicamos el valor asterísco ‘*’, 
estaremos diciendo que lo haga en todo el rango de esos valores. Por 
ejemplo si ponemos esto: 0 4 * * 7 estaríamos diciendo que la tarea se 
ejecutara a las 4:00, todos los días, todos los messes, los días que 
sean domingo.&lt;br /&gt;

&lt;strong&gt;3.- &lt;/strong&gt;Introducimos nuestro comando: -&amp;gt; 0 2 * * * tar -jcvf /tmp/copiaSeguridadHome.tar.bz2 /home&lt;br /&gt;

Con la línea introducida anteriormente tendríamos copias de seguridad
 todos los días del año a las 2:00 am, del directorio /home y sus 
subdirectorios en el archivo copiaSeguridadHome.tar.bz2 en el directorio
 tmp.&lt;br /&gt;

&lt;strong&gt;4.&lt;/strong&gt;- Reiniciamos &lt;strong&gt;cron&lt;/strong&gt; para que cargue la nueva configuracion: -&amp;gt; sudo /etc/init.d/cron restart&lt;br /&gt;

</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/8589778065266552831/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/8589778065266552831' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/8589778065266552831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/8589778065266552831'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2014/06/backups-consola-linux.html' title='Backups Consola Linux'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7342446385364685938.post-8221021433325526427</id><published>2014-06-30T10:38:00.002-03:00</published><updated>2014-06-30T10:38:50.805-03:00</updated><title type='text'>Backups Bash</title><content type='html'>&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot;&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;Backup utility in Bash Shell Script&lt;/span&gt;
&lt;/h3&gt;
&lt;div class=&quot;post-header&quot;&gt;

&lt;/div&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;save following bash shell script as mybackup.sh&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
#!/bin/bash&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
#&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
# Filename: mybackup.sh&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
# Author : Simrat Pal Singh&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
# Email : simrat.khokhar@gmail.com&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
#&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
# Modified: 02-03-2011&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
# to even work with paths having space&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
#&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
if [ $# -ne 2 ];then&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
echo &quot;Wrong number of arguments&quot;&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
echo &quot;Usage: $0 /path/to/source /path/destination/&quot;&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
exit 1&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
input=$1&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
backupdate=$(date +%d%m%Y)&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
foldername=$(basename &quot;$1&quot;)&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
inputpath=$(dirname &quot;$1&quot;)&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
outpath=&quot;${2}&quot;&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
output=&quot;${2}${foldername}_${backupdate}&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
case ${foldername} in&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
*.tar.bz2)&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
[ &quot;${inputpath}&quot; = &quot;&quot; ] &amp;amp;&amp;amp; inputpath=&quot;.&quot;i&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
bzip2 -dck &quot;${inputpath}&quot;/&quot;${foldername}&quot; | tar -C &quot;${outpath}&quot; -x&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
*)&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
counter=0&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
while [ -f &quot;${output}.${counter}.tar.bz2&quot; ]&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
do&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
counter=$(expr $counter + 1)&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
done&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
output=&quot;${output}.${counter}&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
# run tar and bzip2 command to make backup&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
tar -C &quot;${inputpath}&quot; -c &quot;$foldername&quot;|bzip2 -cz &amp;gt;&quot;${output}.tar.bz2&quot;&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
chmod -x &quot;${output}.tar.bz2&quot;&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
;;&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
esac&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
#--------------------- END ------------------------&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
execute with two arguments as:&lt;br /&gt;
&lt;span style=&quot;font-family: courier new;&quot;&gt;sh mybackup.sh /path/source /path/destination/&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;
it will create &#39;source_ddmmyyyy.x.tar.bz2&#39; at /path/destination/&lt;br /&gt;
where &#39;x&#39; is integer value, ie if you run it twice on same day for same source folder, it will automatically incremented.&lt;br /&gt;
&lt;br /&gt;
if source folder is .tar.bz2, then it will unzip the contents at the destination path&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://marnigro.blogspot.com/feeds/8221021433325526427/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7342446385364685938/8221021433325526427' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/8221021433325526427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7342446385364685938/posts/default/8221021433325526427'/><link rel='alternate' type='text/html' href='http://marnigro.blogspot.com/2014/06/backups-bash.html' title='Backups Bash'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>