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

Annotation of /trunk/www/working/backup-smb.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 182 - (hide annotations)
Sun Jul 3 18:05:43 2011 UTC (12 years, 8 months ago) by sng
File MIME type: text/html
File size: 17093 byte(s)
- adding static IP configuration in backup-smb.html
- updating site

1 sng 28 <!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 sng 127 body { font-family: Arial, 'sans serif'; color: black; font-size: 12pt; background : fixed no-repeat; background-color: #333333; padding: 0; margin: 0; margin-top: 5px; margin-bottom: 5px; }
9 sng 28
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.php"><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>25/02/2010 - v 3.1.0</H4></div>
82     <div style="position: absolute; right: 0px;"><H4>Last update: 01/03/2010</H4></div>
83     </div>
84     </div>
85     <div id="linkline">
86     <a href="index.html">Home</a>
87     <a href="news.php">News</a>
88     <!-- <a href="features.html">Features</a>-->
89     <a class="here" href="doc.html">Documentation</a>
90     <a href="index.html#download">Download</a>
91     <a href="screenshots.html">Screenshots</a>
92     <a href="index.html#credits">Credits</a>
93     <a href="help.html">Help</a>
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="doc.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 jyrki 74 In this page I will demonstrate the creation of an image file by getting a backup of my second disk (<b>/dev/<font color="Red">sdb</font></b>). The image file will be save in my Samba server which is my laptop (ip: <b><font color="Red">10.0.0.3</font></b>, Windows share resource name: <b><font color="Red">all_my_images</font></b>).
114 sng 28 </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 sng 182 <!-- Setting static IP -->
145     <H3><a name="static-ip"></a>Setting static IP</H3>
146    
147     <p><b>Clonezilla Live</b> assumes that your network interface is to be configured through dhcp (auto IP assignment). This is easy to see in <b>/etc/network/interfaces</b></p>
148    
149     <p class="newcode">auto lo<br>
150     iface lo inet loopback<br>
151     <br>
152     auto eth0<br>
153     iface eth0 inet dhcp</p>
154    
155     <p>In case you have to assign the IP by hand, you have to edit this file and add the relevant info. Assuming that the IP to be used would be 10.0.0.5, file <b>/etc/network/interfaces</b> would become:</p>
156    
157     <p class="newcode">auto lo<br>
158     iface lo inet loopback<br>
159     <br>
160     auto eth0<br>
161     iface eth0 inet static<br>
162     &nbsp;&nbsp;&nbsp;&nbsp;address 10.0.0.5<br>
163     &nbsp;&nbsp;&nbsp;&nbsp;netmask 255.255.255.0<br>
164     &nbsp;&nbsp;&nbsp;&nbsp;network 10.0.0.0<br>
165     &nbsp;&nbsp;&nbsp;&nbsp;broadcast 10.0.0.255<br>
166     &nbsp;&nbsp;&nbsp;&nbsp;gateway 10.0.0.1</p>
167    
168     <p>Then, all that's left is to restart the network services, by execuitng the command:</p>
169    
170     <p class="newcode">/etc/init.d/networking restart</p>
171    
172    
173 sng 28 <!-- Buckup -->
174     <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>
175     <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.
176     </p>
177     <!--empty line-->
178     <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>
179     <!--empty line-->
180     <H3><a name="bck-smb-1"></a>Screen "Start Clonezilla" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
181 sng 71 <p><img src="images/backup-03.png"><br>
182     I select "<font color="Red"><b>Start Clonezilla</b></font>" and press ENTER.
183     </p>
184 sng 28 <!--empty line-->
185     <H3><a name="bck-smb-2"></a>Screen "Clonezilla" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
186 sng 71 <p><img src="images/backup-04.png"><br>
187     I select "<font color="Red"><b>device-image</b></font>" and press ENTER.<br> <br>
188     </p>
189 sng 28 <!--empty line-->
190 sng 71 <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>
191 sng 28 <p>In this screen I can select the way the image file directory will be saved.
192     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>
193     <br>
194 sng 71 <img src="images/backup-smb-05.png"><br>
195 sng 28 I select "<font color="Red"><b>samba server</b></font>" and press ENTER.</p>
196     <!--empty line-->
197     <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>
198 sng 71 <p>This is where I have to enter the IP address of my Samba server.<br><br>
199     <img src="images/backup-smb-06.png"><br>
200     I type "<font color="Red"><b>10.0.0.3</b></font>" and press ENTER.</p>
201 sng 28 <!--empty line-->
202     <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>
203 sng 71 <p>This is where I have to enter the domain name on my Samba server.<br><br>
204     <img src="images/backup-smb-07.png"><br>
205     I just 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>
206 sng 28 <!--empty line-->
207     <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>
208 sng 71 <p>This is where I have to enter the account (user) name on my Samba server.<br><br>
209     <img src="images/backup-smb-08.png"><br>
210     I type "<font color="Red"><b>spiros</b></font>" and press ENTER.</p>
211 sng 28 <!--empty line-->
212     <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>
213 sng 71 <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>/all_my_images</b></font>" and press ENTER.<br><br>
214     <img src="images/backup-smb-09.png"><br>
215 sng 28 <!--empty-line-->
216 sng 73 At this point I'm informed I'm going to be asked for the password for user <b><font color="Red"><b>spiros</b></font></b>.<br><br>
217 sng 71 <img src="images/backup-smb-10.png"><br>
218     I will be able to continue only after entering it correctly.<br><br>
219     <img src="images/backup-smb-11.png"></p>
220 sng 28 <!--empty line-->
221     <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>
222 sng 71
223 sng 28 <!--empty line-->
224 sng 71 <p><img src="images/backup-09.png">
225 jyrki 147 <br>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>
226 sng 71
227     <H3><a name="bck-smb-8"></a>Screen "Select mode" [<a href="#backup-top" title="go to top of the page">^</a>]</H3>
228 sng 28 <!--empty line-->
229 sng 71 <p>Here I can select the desired operation.<br>
230 sng 28 <br>
231 sng 71 <img src="images/backup-10.png"><br>
232     I select "<font color="Red"><b>savedisk</b></font>" and press ENTER.<br> <br></p>
233 sng 28 <!--empty-line-->
234 sng 71 <H3><a name="bck-smb-9"></a>Next Screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3>
235 sng 28 <!--empty line-->
236 sng 71 <p><img src="images/backup-11.png"><br>
237     In this screen I select the image name.<br>
238 sng 166 I type "Backup_32-2011_sdb", which in my opinion is more informative name than the default.
239 sng 71 </p>
240 sng 28
241 sng 71 <H3><a name="bck-smb-10"></a>Next Screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3>
242     <!--empty line-->
243     <p><img src="images/backup-12.png"><br>
244 jyrki 147 Finally I am asked to select the disk to save.<br>
245 sng 71 I just press ENTER again.
246     </p>
247 sng 28
248 sng 71
249 sng 165 <H3><a name="bck-10a"></a>Next screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3>
250     <!--empty line-->
251     <p><img src="images/backup-12a.png"><br>
252     And I press ENTER again to enable image validation.</p>
253    
254 sng 71 <H3><a name="bck-smb-11"></a>Starting the backup [<a href="#backup-top" title="go to top of the page">^</a>]</H3>
255     <!--empty line-->
256     <p><img src="images/backup-13.png"><br>
257     Then the program will display the command that will be executed and will ask me to press ENTER. <br>
258     Then I will be asked to confirm the operation by pressing <font color="Red"><b>y</b></font> and ENTER.
259     <br>
260     <br><img src="images/backup-14.png"><br>
261     After that, the backup begins<br>
262     <br>
263     <img src="images/backup-15.png"><br>
264     and when it's successfully completed, I press ENTER to get to the shell. Then, I execute the commands:</p>
265 sng 28 <p class="newcode">sudo su -<br>
266     cd<br>
267     umount -a<br>
268     reboot<br><br></p>
269    
270 sng 71 <p>to reboot the system.</p>
271 sng 28 </div>
272    
273    
274    
275     <div id="footer">
276     <div id="docline-bottom"> <a href="backup.html">&lt; PREV</a> <a href="doc.html">UP</a> <a href="restoration.html">NEXT &gt;</a> </div>
277     <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/>
278     Hosted by <a href="http://www.hellug.gr" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p>
279     </div>
280     </div>
281     </body>
282     </html>

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26