/[clonezilla-sysresccd]/trunk/www/2doc/doc/backup-smb.html
ViewVC logotype

Annotation of /trunk/www/2doc/doc/backup-smb.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 49 - (hide annotations)
Thu May 20 15:43:26 2010 UTC (13 years, 10 months ago) by sng
File MIME type: text/html
File size: 15805 byte(s)
Adding html2html script in trunk/www/working/scripts
Adding offline documentation html files in trunk/www/2doc

1 sng 49 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2     <html>
3     <head>
4     <link rel="alternate" type="application/rss+xml" title="RSS" href="http://clonezilla-sysresccd.hellug.gr/clonezilla-sysresccd.rss">
5     <link rel="shortcut icon" href="favicon.ico">
6     <title>Clonezilla-SysRescCD - Documentation: Getting backups on Samba</title>
7     <style type="text/css">
8     body { font-family: Arial, 'sans serif'; color: black; font-size: 12pt; background : url(null) fixed no-repeat; background-color: #333333; padding: 0; margin: 0; margin-top: 5px; margin-bottom: 5px; }
9    
10    
11    
12     #header {position:relative; display: block; width: 980px; height: 121px;margin: auto; padding: auto; background-color: #D37624; background-image: url('images/header.png');clear:both;}
13     #header h2{ color: #FFE6BC; font-weight: bold; font-size: 2.2em; margin:0; padding:0; padding-left: 10px; padding-top: 7px; text-shadow: #333333 2px 2px 4px;}
14     #header h3{ color: #FFE6BC; font-weight: bold; font-size: 1.8em; margin:0; padding: 0; padding-left: 10px; text-shadow: #333333 2px 2px 4px;}
15     #header h4{ color: #FFE6BC; font-weight: bold; font-size: 1.2em; margin:0; padding: 0; padding-left: 10px; padding-right: 10px; text-shadow: #333333 2px 2px 4px;}
16     #header a {text-decoration:none;}
17    
18     #contarea {display: block; width: 980px; margin: auto; padding: auto; background-color: #FFF2DD; clear:both;}
19    
20     #linkline { width: 980px; height: 29px;margin: auto; padding: auto; background-color: #D37624; background-image: url('images/linkline.png');clear:both; }
21     #linkline a{float: left; color: #FFE6BC; font-weight: bold; font-size: 0.8em; text-decoration: none; text-shadow: #333333 2px 2px 4px; padding-left: 10px; padding-right: 10px; padding-top: 5px;}
22     #linkline a:visited{color: #FFE6BC;}
23     #linkline a:hover{color: #333333;}
24     #linkline a.here {color: #333333; text-decoration: none;}
25    
26     #lastupdate {float: right; display: block; text-align: right; margin: 0; margin-top: -1.2em; padding: 0; padding-right: 15px;}
27    
28     #rss { float: right; text-align: right; padding-top: 3px;}
29    
30     #docline-top { float: right; padding-right: 40px; text-align: right; }
31     #docline-bottom { float: right; padding-right: 40px; text-align: right; font-size: 0.8em; padding-top: 15px; }
32     #docline-bottom a{ padding-left: 10px; padding-right: 10px; }
33    
34     #menu { float: right; display: block; width: 170px; margin: auto; padding: 15px; font-size: 0.8em; font-weight: bold; background-color: #FFE6BC;}
35     #menu h1 {color: #990000; font-size: 1.8em;text-shadow: gray 2px 2px 4px;}
36     #menu a,a:visited{ color: black; text-decoration: none; font-weight: normal;}
37     #menu a:hover{ text-decoration: underline;}
38     #menu p{ margin-bottom: 10px;}
39    
40     #content { float: left; display: block; width: 950px; margin: auto; padding: 15px;}
41    
42    
43     #footer {display: block; width: 980px; height: 100px;margin: auto; padding: auto; background-color: #D37624; background-image: url('images/footer.png');clear:both;text-shadow: #333333 2px 2px 4px;}
44     #footer p{color: #FFE6BC; font-weight: bold; padding:15px; padding-left: 10px;}
45     #footer a,a:visited{color: #FFE6BC; font-weight: bold; text-decoration:none;}
46     #footer a:hover{ color: #333333; text-decoration: none;}
47    
48    
49     #content H1,H2,H3,H4{color: #990000; text-align: left;}
50     #content H2{margin-top: 2em;}
51     #content H3{margin-top: 1.5em}
52     #content H4{margin-top: 1em}
53     #content li { margin-top: 1em;}
54     #content a,a:active,a:visited{text-decoration: none; color: #4075CA; font-weight: normal;}
55     #content a:hover{text-decoration: underline; font-weight: normal;}
56     #content .hidden{ display:none; }
57     #content p,td,table,tr,li { font-family: Arial, 'sans serif'; }
58     #content .nav{margin-left: 0pt;}
59     #content .newcode{font-family : "Courier New", Courier, monospace; font-weight: bold; background-color: #F2F2F2; border: solid 1px #DEDEDE;padding: 20pt;}
60     #content .note{margin-top: 30pt; margin-bottom: 30pt; text-align: left; background-color: #FFEFEF; border: double 3px; border-color: #FFD5D5;}
61     #content hr{color: Black; background-color: Black; height: 1px; border: none;}
62     #content .header-news{margin-top: 2em; margin-left: 25pt; font-weight: bold; color: #990000;}
63     #content .item-news{margin-left: 45pt; margin-right: 45pt;}
64     #content .otherpage{border: solid 1px darkgoldenrod; padding: 20pt; background-color: lemonchiffon;}
65     #content IMG {display: block; margin-left: auto; margin-right: auto; }
66     #content .red{color: white; background-color: Red; font-weight: bold;}
67     #lphp{text-align: right; padding-left: 10px; padding-right: 10px; padding-top: 50px; float: right;}
68     #lphp a{padding-left: 5px;}
69     </style>
70     <META NAME="Keywords" CONTENT="multiboot Multi Boot bootable cd rescue clonezilla sysresccd backup restore samba">
71     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
72    
73     </head>
74    
75     <body>
76     <div id="header">
77     <div id="lphp" style=""><a target="_blank" href="onepage.html"><img src="images/chain.png" border="0" /></a><a target="_blank" href="printable.php"><img src="images/print_it.png" border="0" /></a></div>
78     <H2>Clonezilla-SysRescCD</H2>
79     <H3>Documentation: Getting backups on Samba</H3>
80     <div style="margin:0; padding: 3px; width: 980; position relative;">
81     <div style="position: absolute; left: 0px;"><H4>26/03/2010 - v 3.1.0</H4></div>
82     <div style="position: absolute; right: 0px;"><H4>Last update: 18/05/2010</H4></div>
83     </div>
84     </div>
85     <div id="linkline">
86    
87    
88     <!-- <a href="features.html">Features</a>-->
89     <a class="here" href="../README.html">Documentation</a>
90    
91    
92    
93    
94    
95     <div id="rss">
96     <a href="clonezilla-sysresccd.rss"><img src="images/rss-orange-11.png" width="30" height="14" border="0"/></a>
97     </div>
98     <!-- docline-top-->
99     <div id="docline-top"> <a href="backup.html">&lt; PREV</a> <a href="../README.html">UP</a> <a href="restoration.html">NEXT &gt;</a> </div>
100     </div>
101     <div id="contarea">
102     <div id="content">
103     <a name="backup-smb-top"></a>
104    
105    
106     <!-- Intro -->
107     <H2 style="margin-top: 0;"><a name="backup-smb-intro"></a>Intro <span class="hideprint">[<a href="#backup-smb-top" title="go to top of the page">^</a>]</span></H2>
108     <!--empty-line-->
109     <p>What if you don't have a spare local disk or partition or a USB disk? How will you be able to get a backup of your system? Well, if your PC is on the same LAN with another PC running Windows (or linux), you can use <b>Samba</b> to save your image file on that remote PC (which we will call <b>Samba server</b> from now on).<br><br>
110     <!--empty-line-->
111     Using <b>Samba</b> you will be able to mount a Windows share resource (or Samba share resource), from within <b>Clonezilla Live</b>, and save the image file there. Then you can boot that PC using <b>SystemRescueCD</b> and create a restore DVD.<br><br>
112     <!--empty-line-->
113     In this page I will demonstrate the creation of an image file by getting a backup of my Windows partition (<b>/dev/<font color="Red">hda1</font></b>). The image file will be save in my Samba server which is my laptop (ip: <b><font color="Red">10.0.0.2</font></b>, Windows share resource name: <b><font color="Red">data</font></b>).
114     </p>
115     <!--empty-line-->
116     <H3><a name="what-is"></a>What is Samba? [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
117     <p>We read at <a href="http://us1.samba.org/samba/" target="_blank">http://us1.samba.org/samba/</a>:</p>
118     <!--empty-line-->
119     <p class="otherpage">Samba is an Open Source/Free Software suite that provides seamless file and print services to SMB/CIFS clients. Samba is freely available, unlike other SMB/CIFS implementations, and allows for interoperability between Linux/Unix servers and Windows-based clients.<br><br>
120     <!--empty-line-->
121     Samba is software that can be run on a platform other than Microsoft Windows, for example, UNIX, Linux, IBM System 390, OpenVMS, and other operating systems. Samba uses the TCP/IP protocol that is installed on the host server. When correctly configured, it allows that host to interact with a Microsoft Windows client or server as if it is a Windows file and print server.
122     </p>
123    
124    
125    
126     <!-- Gathering info -->
127     <H2><a name="info"></a>Gathering info <span class="hideprint">[<a href="#backup-smb-top" title="go to top of the page">^</a>]</span></H2>
128     <p>Before you can use this approach to get a backup, you have to get some info about the <b>Samba server</b>.<br><br>
129     <!--empty-line-->
130     The <b>Samba server</b> I have used for this example was my laptop, so I already knew most of the info required. If this is not the case for you, just ask the owner, user or system admin.<br><br>
131     <!--empty-line-->
132     The info required is:</p>
133     <ol>
134     <li>The IP address of the Samba server</li>
135     <li>The domain on the Samba server<br>
136     This may exist if your PC is connected to a larger LAN (a corporation network, for example). In my case this is empty.</li>
137     <li>The user name and password you can use</li>
138     <li>The directory on the Samba server you can use to save your backup<br>
139     This is the name of the <b>Windows share resource</b> (Samba share resource) as it is known in the network, which is not necessarily the same as the local directory name. The user whose account will be used to login to the <b>Samba server</b>, must have write permission to this directory.</li>
140     </ol>
141    
142    
143    
144     <!-- Buckup -->
145     <H2><a name="backup-smb"></a>Getting the backup <span class="hideprint">[<a href="#backup-smb-top" title="go to top of the page">^</a>]</span></H2>
146     <p>If you're fine with US keymap and English language (available languages are English, Spanish, French, Italian, Japanese and Chinese [both simplified and traditional]) or don't mind editing the boot parameters, just select <b>Clonezilla Live</b> at the starting screen and press ENTER. When the system comes up, it will load the program that will preform the backup.
147     </p>
148     <!--empty line-->
149     <p>If you need to change these settings, go to the <a href="backup.html#bck-0" target="_blank">Getting backups</a> page for instructions .</p>
150     <!--empty line-->
151     <H3><a name="bck-smb-1"></a>Screen "Start Clonezilla" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
152     <p>I select "<font color="Red"><b>Start Clonezilla</b></font>" and press ENTER.</p>
153     <!--empty line-->
154     <H3><a name="bck-smb-2"></a>Screen "Clonezilla" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
155     <p>I select "<font color="Red"><b>device-image</b></font>" and press ENTER.</p>
156     <!--empty line-->
157     <H3><a name="bck-smb-3"></a>Screen "Mount clonezilla image directory" [<a href="#backup-smb-top" title="go to top of the page">^</a></H3>
158     <p>In this screen I can select the way the image file directory will be saved.
159     Available options are local directory, remote directory through <b>ssh</b>, <b>samba</b> or <b>nfs</b> and skip, to use the previously used directory. More info about the image file can be found at section "<a href="clonezilla.html#about">About the Image file</a>".<br>
160     <br>
161     I select "<font color="Red"><b>samba server</b></font>" and press ENTER.</p>
162     <!--empty line-->
163     <H3><a name="bck-smb-4"></a>Screen "Mount Samba Server" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
164     <p>This is where I have to enter the IP address of my Samba server.<br><br> I type "<font color="Red"><b>10.0.0.2</b></font>" and press ENTER.</p>
165     <!--empty line-->
166     <H3><a name="bck-smb-5"></a>Screen "Mount Samba Server" (second time) [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
167     <p>This is where I have to enter the account (user) name on my Samba server.<br><br> I type "<font color="Red"><b>spiros</b></font>" and press ENTER.</p>
168     <!--empty line-->
169     <H3><a name="bck-smb-6"></a>Screen "Mount Samba Server" (third time) [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
170     <p>This is where I have to enter the domain name on my Samba server.<br><br> I select "<font color="Red"><b>Cancel</b></font>" and press ENTER, as there is no domain in my LAN. If there is a domain in your network, you have to type its name (something like <b>my_company.com</b>) and press ENTER.</p>
171     <!--empty line-->
172     <H3><a name="bck-smb-7"></a>Screen "Mount Samba Server" (fourth time) [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
173     <p>This is where I have to enter the directory name on my Samba server, in which the image file will be saved.<br><br> I type "/<font color="Red"><b>data</b></font>" and press ENTER.<br><br>
174     <!--empty-line-->
175     At this point I will be asked for the password for user <b><font color="Red"><b>spiros</b></font></b>. I will be able to continue only after entering it correctly.</p>
176     <!--empty line-->
177     <H3><a name="bck-smb-7a"></a>Screen "Clonezilla - Opensource Clone System (OCS)" [<a href="#backup-top" title="go to top of the page">^</a>]</H3>
178     <p>I select <font color="Red"><b>Beginner mode</b></font> to accept the default backup options. If you select <font color="Red"><b>Expert mode</b></font>, you can choose the options yourself. More details can be found <a href="clonezilla.html#backup-options" target="_blank">here</a>.</p>
179     <!--empty line-->
180     <H3><a name="bck-smb-8"></a>Screen "Clonezilla: Select mode" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
181     <p>Here I can select the desired operation. Available options are:</p>
182     <!--empty line-->
183     <p>savedisk<br>
184     &nbsp;&nbsp;&nbsp;&nbsp;Save entire disk to image<br>
185     <br>
186     restoredisk<br>
187     &nbsp;&nbsp;&nbsp;&nbsp;Restore entire disk from image<br>
188     <br>
189     saveparts<br>
190     &nbsp;&nbsp;&nbsp;&nbsp;Save partition to image<br>
191     <br>
192     restoreparts<br>
193     &nbsp;&nbsp;&nbsp;&nbsp;Restore partition from image<br>
194     <br>
195     recovery-iso-zip<br>
196     &nbsp;&nbsp;&nbsp;&nbsp;Create an automated restore CD/DVD/USB drive</p>
197     <!--empty line-->
198     <p>I select "<font color="Red"><b>saveparts</b></font>" and press ENTER.<br> <br></p>
199     <!--empty-line-->
200     <H3><a name="bck-smb-11"></a>Screen "Clonezilla - Opensource Clone System (OCS) | Mode: saveparts" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
201     <p>This is the name of the image file. You can insert anything you like, as long as it makes sence to you, so that you can distinguish the image file afterwards.<br>
202     <br>
203     I insert "<font color="Red"><b>win_img</b></font>" and press ENTER.</p>
204     <!--empty line-->
205     <H3><a name="bck-smb-12"></a>Next screen [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
206     <p>Here I can select the partition that will be backed up. <br><br> I select "<font color="Red"><b>( ) hda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ntfs</b></font>" by pressing SPACE and press ENTER, and ENTER again.<br>
207     <br>
208     Then a message is displayed asking for confirmation in order to continue. I just press <b>y</b>, and the backup procedure begins.</p>
209    
210     <!-- Rebooting -->
211    
212     <H2><a name="reboot"></a>Rebooting the system <span class="hideprint">[<a href="#backup-smb-top" title="go to top of the page">^</a>]</span></H2>
213     <p>When the backup is done, I get the following:</p>
214     <p class="newcode">(0) Poweroff<br>
215     (1) Reboot<br>
216     (2) Enter command line prompt<br>
217     (3) Start over<br>
218     [2]</p>
219     <p>Then I press ENTER and get to the shell. I execute the commands:</p>
220     <p class="newcode">sudo su -<br>
221     cd<br>
222     umount -a<br>
223     reboot<br><br></p>
224    
225    
226     </div>
227    
228    
229    
230     <!--<a name="template-top"></a>-->
231    
232     <div id="footer">
233     <div id="docline-bottom"> <a href="backup.html">&lt; PREV</a> <a href="../README.html">UP</a> <a href="restoration.html">NEXT &gt;</a> </div>
234     <p>Copyright: &#169; <a href="mailto:&#115;&#110;&#103;&#064;&#104;&#101;&#108;&#108;&#117;&#103;&#046;&#103;&#114;?subject=About Clonezilla-SysRescCD v 3.1.0">Spiros Georgaras</a>, 2007-2010<br /><br/>
235     Hosted by <a href="http://www.hellug.gr" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p>
236     </div>
237     </div>
238     </body>
239     </html>

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26