<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Computer support articles &#187; backup</title>
	<atom:link href="http://www.mycomputeraid.com/tag/backup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mycomputeraid.com</link>
	<description>Free computer support, articles and Guides</description>
	<lastBuildDate>Sat, 18 Sep 2010 03:46:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Simple linux FTP backup script</title>
		<link>http://www.mycomputeraid.com/linux/server/simple-linux-ftp-backup-script/</link>
		<comments>http://www.mycomputeraid.com/linux/server/simple-linux-ftp-backup-script/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 06:30:27 +0000</pubDate>
		<dc:creator>MyComputerAid</dc:creator>
				<category><![CDATA[Linux scripts]]></category>
		<category><![CDATA[Server administration]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://www.mycomputeraid.com/?p=17</guid>
		<description><![CDATA[This is a quick and simple linux FTP backup script we use to run on clients servers that have small backups that need to be shipped off to a remote FTP server somewhere.  You can basically backup anything from here, Mysql, Apache config files, webserver files etc&#8230; Requirments: Shell access ncftp Vi or Pico/Nano editor [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick and simple linux FTP backup script we use to run on clients servers that have small backups that need to be shipped off to a remote FTP server somewhere.  You can basically backup anything from here, Mysql, Apache config files, webserver files etc&#8230;</p>
<p><strong>Requirments:</strong><br />
Shell access<br />
ncftp<br />
Vi or Pico/Nano editor<br />
Cron</p>
<p><strong>Step 1:</strong><br />
Log into your server as the user you want to run this script as (usually root).  You can then create a file somewhere on your server (I usually put the file in /etc/backup)</p>
<p># cd /etc<br />
# mkdir backup<br />
# cd backup<br />
# nano backup.sh</p>
<p><strong>Step 2:</strong><br />
Cut and paste the script I have written into the file and then edit the parts required (it is spretty streight forward to understand but I will put comments on each line &#8212; the comments will start with a * so do not add these comments into your script).  After you have edited and save the file you must chmod the file 755 to make it executable</p>
<p>#!/bin/sh<br />
HOST=&#8217;192.168.1.3&#8242;<br />
* this can be an ip address or a hostname of the destination FTP server<br />
USER=&#8217;ftpbackup&#8217;<br />
* the username of the ftp server<br />
PASSWD=&#8217;backup0012&#8242;<br />
* the password on the ftp server<br />
DATE=`/bin/date +%Y%m%d`<br />
* no edits for DATE<br />
TIME=`/bin/date +%H`<br />
* No Edits for TIME<br />
HOSTNAME=`/bin/hostname`<br />
* No edits for HOSTNAME</p>
<p>mysqldump -c -B -uroot -pfoobar DB1 DB2 mysql &gt; data.sql &amp;&amp;<br />
* This is if you want to backup your mysql database, DB1 and DB2 represent databases within mysql you want yo backup -uroot -pfoobar (change this to your mysql username and password). if you are not backing up mysql then remove the above line.</p>
<p>tar zcvf $DATE.$TIME.$HOSTNAME.tar.gz ./data.sql /etc/ /var/www &gt; /dev/null &amp;&amp;<br />
* you can edit this line as you wish if you are not backing up mysql you can remove ./data.sql, you can add directories such as /etc and /var/www</p>
<p>ncftpput -u $USER -p $PASSWD $HOST /tobebackedup $DATE.$TIME.$HOSTNAME.tar.gz ;:<br />
* nothing to edit here</p>
<p><strong>The finished script:</strong></p>
<p>#!/bin/sh<br />
HOST=&#8217;192.168.1.3&#8242;<br />
USER=&#8217;ftpbackup&#8217;<br />
PASSWD=&#8217;backup0012&#8242;<br />
DATE=`/bin/date +%Y%m%d`<br />
TIME=`/bin/date +%H`<br />
HOSTNAME=`/bin/hostname`</p>
<p>mysqldump -c -B -uroot -pfoobar DB1 DB2 mysql &gt; data.sql &amp;&amp;<br />
tar zcvf $DATE.$TIME.$HOSTNAME.tar.gz ./data.sql &gt; /dev/null &amp;&amp;</p>
<p>ncftpput -u ftpbackup -p backup0012 $HOST /tobebackedup $DATE.$TIME.$HOSTNAME.tar.gz ;:</p>
<p><strong>Running the script on a schedule (Crontab howto):</strong><br />
as the user that you want to run the backup script as type the following commands:</p>
<p>crontab -e<br />
To run weekly on Sunday enter the line:<br />
* * * * 6 /etc/backup/backup.sh
<p><i>Article written by <a href="http://www.mycomputeraid.com">MyComputerAid.com</a></i></p>
<p class="a2a_link">
<a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Computer%20support%20articles&amp;siteurl=http%3A%2F%2Fwww.mycomputeraid.com%2F&amp;linkname=Simple%20linux%20FTP%20backup%20script&amp;linkurl=http%3A%2F%2Fwww.mycomputeraid.com%2Flinux%2Fserver%2Fsimple-linux-ftp-backup-script%2F">
	<img  src= "http://www.mycomputeraid.com/wp-content/plugins/add-to-any/bookmark.gif"  width= "91"  height= "16"  border= "0"  alt= "Bookmark title="bookmark image" />
</a>
<script type="text/javascript">a2a_linkname="Simple linux FTP backup script";a2a_linkurl="http://www.mycomputeraid.com/linux/server/simple-linux-ftp-backup-script/";</script>
<script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

</p><p>Post from: <a href="http://www.mycomputeraid.com">MyComputerAid.com Computer support</a></p>
<p><a href="http://www.mycomputeraid.com/linux/server/simple-linux-ftp-backup-script/">Simple linux FTP backup script</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mycomputeraid.com/linux/server/simple-linux-ftp-backup-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup exec will not start with Microsoft Visual C++ Runtime Library Runtime Error!</title>
		<link>http://www.mycomputeraid.com/vendors/dell-server/backup-exec-will-not-start-with-microsoft-visual-c-runtime-library-runtime-error/</link>
		<comments>http://www.mycomputeraid.com/vendors/dell-server/backup-exec-will-not-start-with-microsoft-visual-c-runtime-library-runtime-error/#comments</comments>
		<pubDate>Wed, 28 May 2008 04:29:33 +0000</pubDate>
		<dc:creator>MyComputerAid</dc:creator>
				<category><![CDATA[Dell Server]]></category>
		<category><![CDATA[Symantec]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[backupexec]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[lto3]]></category>
		<category><![CDATA[poweredge]]></category>

		<guid isPermaLink="false">http://www.mycomputeraid.com/?p=14</guid>
		<description><![CDATA[We had this problem with a Dell Poweredge 2900 series server and Tape drive was an LTO3 system.  at first it looks like the exact error and fix as per the Symantec support website document ID: 287554, but upon further troubleshooting (and hair pulling) we discovered that it was a two step proccess to resolve this [...]]]></description>
			<content:encoded><![CDATA[<p>We had this problem with a Dell Poweredge 2900 series server and Tape drive was an LTO3 system.  at first it looks like the exact error and fix as per the Symantec support website document ID: 287554, but upon further troubleshooting (and hair pulling) we discovered that it was a two step proccess to resolve this issue.</p>
<p>ERROR Message you may be troubleshooting:</p>
<p><span class="exacterror"><span style="font-size: medium; font-family: Courier New;">Microsoft Visual C++ Runtime Library Runtime Error! Program: Program FilesSymantecBackup Execbeserver.exe<br />
This application has requested the Runtime to terminate it in an unusual way. Please contact the application&#8217;s support team for more information.</span></span><br />
OR</p>
<p><em>Could not load file or assembly &#8216;System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#8217; or one of its dependencies. Systemet could not find the file.</em></p>
<p>You must first do the Symantec fix: <a href="http://seer.entsupport.symantec.com/docs/287554.htm">http://seer.entsupport.symantec.com/docs/287554.htm</a></p>
<p>If any components of the functions/features listed above are missing or corrupted, the Backup Exec Server service may fail to start with a C++ Runtime Error.  To diagnose why this issue is occurring, run the service in console mode per the following:<br />
1. Launch a command prompt on the media server<br />
a. Go to Start<br />
b. Select Run<br />
c. Type in CMD and press Enter<br />
2. Change the path to the Program FilesSymantecBackup Exec directory on the disk partition that Backup Exec is installed on (default is the C: partition).  Type in the following and press Enter:<br />
BEServer.exe  -console &gt;&gt; C:BEServer.txt<br />
3. Locate the BEServer.txt file after the runtime error is displayed.  Review the document or submit it to Symantec Technical Support for assistance.</p>
<p>One possible reason that the service may not start after an upgrade or re-install of Backup Exec is covered in the example listed below:<br />
Symptoms:<br />
The Backup Exec Device and Media Service starts successfully but the following dialog boxes appear when attempting to start the Backup Exec Server service (Figures 1 &amp; 2):<br />
Figure 1<br />
 <img  src= "http://seer.entsupport.symantec.com/docs/images/287554/C++error.jpg"  alt= "c++ error"  width= "446"  height= "178" title="C++error image" /><br />
Figure 2<br />
<img  src= "http://seer.entsupport.symantec.com/docs/images/287554/SCMerror.jpg"  alt= "Symantec SCM error"  width= "623"  height= "119" title="SCMerror image" /> </p>
<p>***********************************************************************************************************************************************************<br />
The Windows System Event Logs shows:<br />
Event Type: Error<br />
Event Source: Service Control Manager<br />
Event Category: None<br />
Event ID:       7022<br />
Date:        14/02/2007<br />
Time:        10:10:44<br />
User:        N/A<br />
Computer:     VM2003BE11D<br />
Description:  The Backup Exec Server service hung on starting.<br />
***********************************************************************************************************************************************************</p>
<p>The debug log from the BEServer.exe -console process will show the following at the end of the log:</p>
<p>[5272] 02/14/07 02:13:13 14 Reports: Using default language = ENU<br />
[5272] 02/14/07 02:13:13 14 Reports: Initialize for language = 1<br />
[5272] 02/14/07 02:13:13 14 Reports: Setting remote server locations.<br />
[5272] 02/14/07 02:13:13 14 Reports: Loading any new reports.<br />
[5272] 02/14/07 02:13:14 14 Reports: Report Engine started.<br />
[5272] 02/14/07 02:13:14 14 Reports: Initializing CRF.</p>
<p>***If the logging stops at the &#8220;Initializing CRF&#8221; line above, then confirm that the following registry key/value exists:</p>
<p>Warning: Incorrect use of the Windows registry editor may prevent the operating system from functioning properly. Great care should be taken when making changes to a Windows registry. Registry modifications should only be carried-out by persons experienced in the use of the registry editor application. It is recommended that a complete backup of the registry and workstation be made prior to making any registry changes.</p>
<p>1. Go to Start, Run, type REGEDT32 and press Enter.</p>
<p>2. Select the HKey_Local_Machine on Local Machine window.  Browse to the SoftwareSymantecCRF key and confirm that it exists.  When you click on this key, a Port value should show in the right window with a DWord value of 1d97 in hex or 7575 in decimal. (Figure 3)</p>
<p><img  src= "http://seer.entsupport.symantec.com/docs/images/287554/Reg1.jpg"  alt= "Registry Edit"  width= "585"  height= "360" title="Reg1 image" /></p>
<p>Figure 3<br />
 <br />
***If the CRF key or Port value do not exist, create them and attempt to start the Backup Exec Server service again.</p>
<p>***********************************************************************************************************************************************************</p>
<p>If the BEServer -console debug does not stop at &#8220;Initializing CRF&#8221; and instead continues with the next line &#8220;Reports: Initialization Complete&#8221;, then look through the other entries in the log for errors.  Review the TechNotes in the Related Documents Section below or contact Symantec Technical Support for further assistance.</p>
<p> </p>
<p><strong>***After you are done that step you must then do this patch:</strong></p>
<p>you probably have a different version of the System.EnterpriseServices assembly in the global cache. Or you don&#8217;t have it at all. You need to add the 2.0.0.0 version to the GAC.<br />
In order to do that just drag the file at<br />
&#8220;&lt;windows_directory&gt;Microsoft.NETFrameworkv2.0&lt;your_subversion&gt;System.EnterpriseServices.dll&#8221;<br />
to the &#8220;&lt;windows_directory&gt;assembly&#8221; folder.</p>
<p> Remember to check the properties of the file to be sure it has the appropriate version number!!!</p>
<p>(Images from Symantec and are copywrite symantec)
<p><i>Article written by <a href="http://www.mycomputeraid.com">MyComputerAid.com</a></i></p>
<p class="a2a_link">
<a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Computer%20support%20articles&amp;siteurl=http%3A%2F%2Fwww.mycomputeraid.com%2F&amp;linkname=Backup%20exec%20will%20not%20start%20with%20Microsoft%20Visual%20C%2B%2B%20Runtime%20Library%20Runtime%20Error%21&amp;linkurl=http%3A%2F%2Fwww.mycomputeraid.com%2Fvendors%2Fdell-server%2Fbackup-exec-will-not-start-with-microsoft-visual-c-runtime-library-runtime-error%2F">
	<img  src= "http://www.mycomputeraid.com/wp-content/plugins/add-to-any/bookmark.gif"  width= "91"  height= "16"  border= "0"  alt= "Bookmark title="bookmark image" />
</a>
<script type="text/javascript">a2a_linkname="Backup exec will not start with Microsoft Visual C++ Runtime Library Runtime Error!";a2a_linkurl="http://www.mycomputeraid.com/vendors/dell-server/backup-exec-will-not-start-with-microsoft-visual-c-runtime-library-runtime-error/";</script>
<script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

</p><p>Post from: <a href="http://www.mycomputeraid.com">MyComputerAid.com Computer support</a></p>
<p><a href="http://www.mycomputeraid.com/vendors/dell-server/backup-exec-will-not-start-with-microsoft-visual-c-runtime-library-runtime-error/">Backup exec will not start with Microsoft Visual C++ Runtime Library Runtime Error!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mycomputeraid.com/vendors/dell-server/backup-exec-will-not-start-with-microsoft-visual-c-runtime-library-runtime-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

