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 |
|
|
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 |
sng |
37 |
<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 |
sng |
28 |
<H2>Clonezilla-SysRescCD</H2> |
79 |
|
|
<H3>Documentation: Getting backups on Samba</H3> |
80 |
|
|
<div style="margin:0; padding: 3px; width: 980; position relative;"> |
81 |
sng |
70 |
<div style="position: absolute; left: 0px;"><H4>25/05/2010 - v 3.1.0</H4></div> |
82 |
sng |
75 |
<div style="position: absolute; right: 0px;"><H4>Last update: 01/06/2010</H4></div> |
83 |
sng |
28 |
</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">< PREV</a> <a href="doc.html">UP</a> <a href="restoration.html">NEXT ></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 |
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>). |
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 |
|
|
<!-- 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 |
sng |
71 |
<p><img src="images/backup-03.png"><br> |
153 |
|
|
I select "<font color="Red"><b>Start Clonezilla</b></font>" and press ENTER. |
154 |
|
|
</p> |
155 |
sng |
28 |
<!--empty line--> |
156 |
|
|
<H3><a name="bck-smb-2"></a>Screen "Clonezilla" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
157 |
sng |
71 |
<p><img src="images/backup-04.png"><br> |
158 |
|
|
I select "<font color="Red"><b>device-image</b></font>" and press ENTER.<br> <br> |
159 |
|
|
</p> |
160 |
sng |
28 |
<!--empty line--> |
161 |
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> |
162 |
sng |
28 |
<p>In this screen I can select the way the image file directory will be saved. |
163 |
|
|
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> |
164 |
|
|
<br> |
165 |
sng |
71 |
<img src="images/backup-smb-05.png"><br> |
166 |
sng |
28 |
I select "<font color="Red"><b>samba server</b></font>" and press ENTER.</p> |
167 |
|
|
<!--empty line--> |
168 |
|
|
<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> |
169 |
sng |
71 |
<p>This is where I have to enter the IP address of my Samba server.<br><br> |
170 |
|
|
<img src="images/backup-smb-06.png"><br> |
171 |
|
|
I type "<font color="Red"><b>10.0.0.3</b></font>" and press ENTER.</p> |
172 |
sng |
28 |
<!--empty line--> |
173 |
|
|
<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> |
174 |
sng |
71 |
<p>This is where I have to enter the domain name on my Samba server.<br><br> |
175 |
|
|
<img src="images/backup-smb-07.png"><br> |
176 |
|
|
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> |
177 |
sng |
28 |
<!--empty line--> |
178 |
|
|
<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> |
179 |
sng |
71 |
<p>This is where I have to enter the account (user) name on my Samba server.<br><br> |
180 |
|
|
<img src="images/backup-smb-08.png"><br> |
181 |
|
|
I type "<font color="Red"><b>spiros</b></font>" and press ENTER.</p> |
182 |
sng |
28 |
<!--empty line--> |
183 |
|
|
<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> |
184 |
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> |
185 |
|
|
<img src="images/backup-smb-09.png"><br> |
186 |
sng |
28 |
<!--empty-line--> |
187 |
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> |
188 |
sng |
71 |
<img src="images/backup-smb-10.png"><br> |
189 |
|
|
I will be able to continue only after entering it correctly.<br><br> |
190 |
|
|
<img src="images/backup-smb-11.png"></p> |
191 |
sng |
28 |
<!--empty line--> |
192 |
|
|
<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> |
193 |
sng |
71 |
|
194 |
sng |
28 |
<!--empty line--> |
195 |
sng |
71 |
<p><img src="images/backup-09.png"> |
196 |
|
|
<br>I select <font color="Red"><b>Beginer 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> |
197 |
|
|
|
198 |
|
|
<H3><a name="bck-smb-8"></a>Screen "Select mode" [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
199 |
sng |
28 |
<!--empty line--> |
200 |
sng |
71 |
<p>Here I can select the desired operation.<br> |
201 |
sng |
28 |
<br> |
202 |
sng |
71 |
<img src="images/backup-10.png"><br> |
203 |
|
|
I select "<font color="Red"><b>savedisk</b></font>" and press ENTER.<br> <br></p> |
204 |
sng |
28 |
<!--empty-line--> |
205 |
sng |
71 |
<H3><a name="bck-smb-9"></a>Next Screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
206 |
sng |
28 |
<!--empty line--> |
207 |
sng |
71 |
<p><img src="images/backup-11.png"><br> |
208 |
|
|
In this screen I select the image name.<br> |
209 |
sng |
75 |
I type "Backup_22-2010_sdb", which in my opinion is more informative name than the default. |
210 |
sng |
71 |
</p> |
211 |
sng |
28 |
|
212 |
sng |
71 |
<H3><a name="bck-smb-10"></a>Next Screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
213 |
|
|
<!--empty line--> |
214 |
|
|
<p><img src="images/backup-12.png"><br> |
215 |
|
|
Finally I am asked to select the partition to save.<br> |
216 |
|
|
I just press ENTER again. |
217 |
|
|
</p> |
218 |
sng |
28 |
|
219 |
sng |
71 |
|
220 |
|
|
<H3><a name="bck-smb-11"></a>Starting the backup [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
221 |
|
|
<!--empty line--> |
222 |
|
|
<p><img src="images/backup-13.png"><br> |
223 |
|
|
Then the program will display the command that will be executed and will ask me to press ENTER. <br> |
224 |
|
|
Then I will be asked to confirm the operation by pressing <font color="Red"><b>y</b></font> and ENTER. |
225 |
|
|
<br> |
226 |
|
|
<br><img src="images/backup-14.png"><br> |
227 |
|
|
After that, the backup begins<br> |
228 |
|
|
<br> |
229 |
|
|
<img src="images/backup-15.png"><br> |
230 |
|
|
and when it's successfully completed, I press ENTER to get to the shell. Then, I execute the commands:</p> |
231 |
sng |
28 |
<p class="newcode">sudo su -<br> |
232 |
|
|
cd<br> |
233 |
|
|
umount -a<br> |
234 |
|
|
reboot<br><br></p> |
235 |
|
|
|
236 |
sng |
71 |
<p>to reboot the system.</p> |
237 |
sng |
28 |
</div> |
238 |
|
|
|
239 |
|
|
|
240 |
|
|
|
241 |
|
|
<!--<a name="template-top"></a>--> |
242 |
|
|
|
243 |
|
|
<div id="footer"> |
244 |
|
|
<div id="docline-bottom"> <a href="backup.html">< PREV</a> <a href="doc.html">UP</a> <a href="restoration.html">NEXT ></a> </div> |
245 |
|
|
<p>Copyright: © <a href="mailto:sng@hellug.gr?subject=About Clonezilla-SysRescCD v 3.1.0">Spiros Georgaras</a>, 2007-2010<br /><br/> |
246 |
|
|
Hosted by <a href="http://www.hellug.gr" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p> |
247 |
|
|
</div> |
248 |
|
|
</div> |
249 |
|
|
</body> |
250 |
|
|
</html> |