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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 183 - (hide annotations)
Mon Jul 4 13:31:17 2011 UTC (9 years, 7 months ago) by sng
File MIME type: text/html
File size: 18391 byte(s)
- Fixing a misplaced cd command in usb.html
- Adding a basic tutorial (basic-vi.html)
- Updating trunk 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 125 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 sng 145 #warning { margin: 5px; padding: .4em; background-color: Red; color: White; align: center; font-weight: bold; border-width: 2px; border-color: white; border-style: solid; }
70 sng 144 #warning a { color: white; font-weight: bold; text-decoration: underline; }
71 sng 28 </style>
72 sng 144 <link href="warning.css" rel="stylesheet" type="text/css" />
73     <!--
74     The file waring.css exists only in the root of the site
75 sng 146 and it hides the UNSTABLE warnings. Its contents are
76 sng 144 #warning { display: none; }
77     -->
78 sng 28 <META NAME="Keywords" CONTENT="multiboot Multi Boot bootable cd rescue clonezilla sysresccd backup restore samba">
79     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
80    
81     </head>
82    
83     <body>
84 sng 144 <div id="warning" align="center">
85     WARNING<br>
86 sng 146 This is the UNSTABLE version of Clonezilla-SysRescCD<br>
87 sng 149 To access our current stable version, please click <a href="../index.html">here</a>
88 sng 144 </div>
89 sng 28 <div id="header">
90 sng 124 <div id="lphp" style=""><a target="_blank" title="Display all in one long page" href="onepage.html"><img src="images/chain.png" border="0" /></a><a target="_blank" title="Display printable page" href="printable.php"><img src="images/print_it.png" border="0" /></a></div>
91 sng 28 <H2>Clonezilla-SysRescCD</H2>
92     <H3>Documentation: Getting backups on Samba</H3>
93     <div style="margin:0; padding: 3px; width: 980; position relative;">
94 sng 172 <div style="position: absolute; left: 0px;"><H4>30/06/2011 - v 3.2.0</H4></div>
95 sng 183 <div style="position: absolute; right: 0px;"><H4>Last update: 04/07/2011</H4></div>
96 sng 28 </div>
97     </div>
98     <div id="linkline">
99     <a href="index.html">Home</a>
100     <a href="news.php">News</a>
101     <!-- <a href="features.html">Features</a>-->
102     <a class="here" href="doc.html">Documentation</a>
103 sng 95 <a href="download.html">Download</a>
104 sng 28 <a href="screenshots.html">Screenshots</a>
105     <a href="index.html#credits">Credits</a>
106     <a href="help.html">Help</a>
107    
108     <div id="rss">
109     <a href="clonezilla-sysresccd.rss"><img src="images/rss-orange-11.png" width="30" height="14" border="0"/></a>
110     </div>
111     <!-- docline-top-->
112     <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>
113     </div>
114     <div id="contarea">
115     <div id="content">
116     <a name="backup-smb-top"></a>
117    
118    
119     <!-- Intro -->
120     <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>
121     <!--empty-line-->
122     <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>
123     <!--empty-line-->
124     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>
125     <!--empty-line-->
126 sng 75 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>).
127 sng 28 </p>
128     <!--empty-line-->
129     <H3><a name="what-is"></a>What is Samba? [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
130     <p>We read at <a href="http://us1.samba.org/samba/" target="_blank">http://us1.samba.org/samba/</a>:</p>
131     <!--empty-line-->
132     <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>
133     <!--empty-line-->
134     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.
135     </p>
136    
137    
138    
139     <!-- Gathering info -->
140     <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>
141     <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>
142     <!--empty-line-->
143     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>
144     <!--empty-line-->
145     The info required is:</p>
146     <ol>
147     <li>The IP address of the Samba server</li>
148     <li>The domain on the Samba server<br>
149     This may exist if your PC is connected to a larger LAN (a corporation network, for example). In my case this is empty.</li>
150     <li>The user name and password you can use</li>
151     <li>The directory on the Samba server you can use to save your backup<br>
152     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>
153     </ol>
154    
155    
156    
157 sng 182 <!-- Setting static IP -->
158     <H3><a name="static-ip"></a>Setting static IP</H3>
159    
160     <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>
161    
162     <p class="newcode">auto lo<br>
163     iface lo inet loopback<br>
164     <br>
165     auto eth0<br>
166     iface eth0 inet dhcp</p>
167    
168     <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>
169    
170     <p class="newcode">auto lo<br>
171     iface lo inet loopback<br>
172     <br>
173     auto eth0<br>
174     iface eth0 inet static<br>
175     &nbsp;&nbsp;&nbsp;&nbsp;address 10.0.0.5<br>
176     &nbsp;&nbsp;&nbsp;&nbsp;netmask 255.255.255.0<br>
177     &nbsp;&nbsp;&nbsp;&nbsp;network 10.0.0.0<br>
178     &nbsp;&nbsp;&nbsp;&nbsp;broadcast 10.0.0.255<br>
179     &nbsp;&nbsp;&nbsp;&nbsp;gateway 10.0.0.1</p>
180    
181     <p>Then, all that's left is to restart the network services, by execuitng the command:</p>
182    
183     <p class="newcode">/etc/init.d/networking restart</p>
184    
185    
186 sng 28 <!-- Buckup -->
187     <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>
188     <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.
189     </p>
190     <!--empty line-->
191     <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>
192     <!--empty line-->
193     <H3><a name="bck-smb-1"></a>Screen "Start Clonezilla" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
194 sng 71 <p><img src="images/backup-03.png"><br>
195     I select "<font color="Red"><b>Start Clonezilla</b></font>" and press ENTER.
196     </p>
197 sng 28 <!--empty line-->
198     <H3><a name="bck-smb-2"></a>Screen "Clonezilla" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
199 sng 71 <p><img src="images/backup-04.png"><br>
200     I select "<font color="Red"><b>device-image</b></font>" and press ENTER.<br> <br>
201     </p>
202 sng 28 <!--empty line-->
203 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>
204 sng 28 <p>In this screen I can select the way the image file directory will be saved.
205     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>
206     <br>
207 sng 71 <img src="images/backup-smb-05.png"><br>
208 sng 28 I select "<font color="Red"><b>samba server</b></font>" and press ENTER.</p>
209     <!--empty line-->
210     <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>
211 sng 71 <p>This is where I have to enter the IP address of my Samba server.<br><br>
212     <img src="images/backup-smb-06.png"><br>
213     I type "<font color="Red"><b>10.0.0.3</b></font>" and press ENTER.</p>
214 sng 28 <!--empty line-->
215     <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>
216 sng 71 <p>This is where I have to enter the domain name on my Samba server.<br><br>
217     <img src="images/backup-smb-07.png"><br>
218     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>
219 sng 28 <!--empty line-->
220     <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>
221 sng 71 <p>This is where I have to enter the account (user) name on my Samba server.<br><br>
222     <img src="images/backup-smb-08.png"><br>
223     I type "<font color="Red"><b>spiros</b></font>" and press ENTER.</p>
224 sng 28 <!--empty line-->
225     <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>
226 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>
227     <img src="images/backup-smb-09.png"><br>
228 sng 28 <!--empty-line-->
229 sng 75 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>
230 sng 71 <img src="images/backup-smb-10.png"><br>
231     I will be able to continue only after entering it correctly.<br><br>
232     <img src="images/backup-smb-11.png"></p>
233 sng 28 <!--empty line-->
234     <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>
235 sng 71
236 sng 28 <!--empty line-->
237 sng 71 <p><img src="images/backup-09.png">
238 sng 149 <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>
239 sng 71
240     <H3><a name="bck-smb-8"></a>Screen "Select mode" [<a href="#backup-top" title="go to top of the page">^</a>]</H3>
241 sng 28 <!--empty line-->
242 sng 71 <p>Here I can select the desired operation.<br>
243 sng 28 <br>
244 sng 71 <img src="images/backup-10.png"><br>
245     I select "<font color="Red"><b>savedisk</b></font>" and press ENTER.<br> <br></p>
246 sng 28 <!--empty-line-->
247 sng 71 <H3><a name="bck-smb-9"></a>Next Screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3>
248 sng 28 <!--empty line-->
249 sng 71 <p><img src="images/backup-11.png"><br>
250     In this screen I select the image name.<br>
251 sng 166 I type "Backup_32-2011_sdb", which in my opinion is more informative name than the default.
252 sng 71 </p>
253 sng 28
254 sng 71 <H3><a name="bck-smb-10"></a>Next Screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3>
255     <!--empty line-->
256     <p><img src="images/backup-12.png"><br>
257 sng 149 Finally I am asked to select the disk to save.<br>
258 sng 71 I just press ENTER again.
259     </p>
260 sng 28
261 sng 71
262 sng 166 <H3><a name="bck-10a"></a>Next screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3>
263     <!--empty line-->
264     <p><img src="images/backup-12a.png"><br>
265     And I press ENTER again to enable image validation.</p>
266    
267 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>
268     <!--empty line-->
269     <p><img src="images/backup-13.png"><br>
270     Then the program will display the command that will be executed and will ask me to press ENTER. <br>
271     Then I will be asked to confirm the operation by pressing <font color="Red"><b>y</b></font> and ENTER.
272     <br>
273     <br><img src="images/backup-14.png"><br>
274     After that, the backup begins<br>
275     <br>
276     <img src="images/backup-15.png"><br>
277     and when it's successfully completed, I press ENTER to get to the shell. Then, I execute the commands:</p>
278 sng 28 <p class="newcode">sudo su -<br>
279     cd<br>
280     umount -a<br>
281     reboot<br><br></p>
282    
283 sng 71 <p>to reboot the system.</p>
284 sng 28 </div>
285    
286    
287    
288     <!--<a name="template-top"></a>-->
289    
290     <div id="footer">
291     <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>
292 sng 180 <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.2.0" title="About Clonezilla-SysRescCD">Spiros Georgaras</a>, 2007-2011 &amp; <a href="mailto:&#115;&#097;&#110;&#100;&#103;&#116;&#120;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109;?subject=About Clonezilla-SysRescCD v 3.2.0 documentation" title="About Clonezilla-SysRescCD Documentation">Jyrki Vesterinen</a>, 2010-2011<br /><br/>
293 sng 129 Hosted by <a href="http://hellug.gr/index.php/OSullogos/Tautothta?from=Main.HELLUG" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p>
294 sng 28 </div>
295     </div>
296 sng 144 <div id="warning" align="center">
297     WARNING<br>
298 sng 146 This is the UNSTABLE version of Clonezilla-SysRescCD<br>
299 sng 149 To access our current stable version, please click <a href="../index.html">here</a>
300 sng 144 </div>
301 sng 28 </body>
302     </html>

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26