/[clonezilla-sysresccd]/tags/2.6.0/2doc/doc/backup-smb.html
ViewVC logotype

Contents of /tags/2.6.0/2doc/doc/backup-smb.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 35 - (show annotations)
Mon Mar 22 00:17:03 2010 UTC (14 years ago) by sng
File MIME type: text/html
File size: 12590 byte(s)
tagging v. 2.6.0 (for completeness)
1 <!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 - Getting backups on Samba</title>
7 <style type="text/css">
8 body { font-family: 'sans serif'; background : url(null) fixed no-repeat; background-color: White; }
9 H1,H2,H3,H4{color: #990000; text-align: left;}
10 H2{margin-top: 2em;}
11 H3{margin-top: 1.5em}
12 H4{margin-top: 1em}
13 li { font-family: 'sans serif'; margin-top: 1em;}
14 a{text-decoration: none;}
15 a:hover{text-decoration: underline;}
16 .hidden{ display:none; }
17 p,td,table,tr,li { font-family: 'sans serif'; margin-left: 15pt;}
18 .nav{margin-left: 0pt;}
19 .newcode{font-family : "Courier New", Courier, monospace; font-weight: bold; background-color: #F2F2F2; border: solid 1px #DEDEDE;padding: 20pt;}
20 .note{margin-top: 30pt; margin-bottom: 30pt; text-align: left; background-color: #FFEFEF; border: double 3px; border-color: #FFD5D5;}
21 hr{color: Black; background-color: Black; height: 1px; border: none;}
22 .otherpage{margin-left: 15pt;border: solid 1px darkgoldenrod; padding: 20pt; background-color: lemonchiffon;}
23 IMG {display: block; margin-left: auto; margin-right: auto }
24 </style>
25 <META NAME="Keywords" CONTENT="multiboot Multi Boot bootable cd rescue clonezilla sysresccd backup restore samba">
26 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
27
28 </head>
29
30 <body style="margin-left: 40pt; margin-right: 40pt;">
31 <a name="backup-smb-top"></a>
32 <H1>Clonezilla-SysRescCD<br>Getting backups on Samba<br>08/02/2009 - v 3.1.0</H1>
33 <!--site-only--><table border="0" width="95%" style="margin-left: auto;margin-right: auto;"><tr><td><font size="-1">Copyright: &#169; 2007-2009, <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 &lt;sng@hellug.gr&gt;</a></font></td><td align="right"><font size="-1"></font></td></tr><tr><td><font size="-1">Last update: 23/12/2009</font></td><td align="right"><font size="-1"></font></td></tr><tr><td><font size="-1">&nbsp;</font></td><td align="right"><font size="-1"></font></td></tr><tr><td><!-- <font size="-1">Select language: <img src="en.png" border="0" width="21" height="14" alt="English">&nbsp;<a href=""><img src="el.png" border="0" width="21" height="14" alt="Greek"></a></font> --></td><td align="right"><font size="-1"><a href="http://clonezilla-sysresccd.hellug.gr/clonezilla-sysresccd.rss" title="RSS news feed"><img src="rss-orange-11.png" border="0" width="30" height="14" alt="RSS news feed"></a></font></td></tr><tr><td><font size="-1">&nbsp;</font></td><td align="right"><font size="-1"></font></td></tr></table><table border="0" width="100%" class="nav"><tr> <td width="33%"><a href="backup.html">Previous</a></td> <td width="34%" align="center"><a href="../README.html">Contents</a></td> <td width="33%" align="right"><a href="restoration.html">Next</a></td> </tr></table><hr style="margin: 0;"><!--end-site-only-->
34
35
36 <!-- Intro -->
37 <H2 style="margin-top: 1em;"><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>
38 <!--empty-line-->
39 <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>
40 <!--empty-line-->
41 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>
42 <!--empty-line-->
43 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>).
44 </p>
45 <!--empty-line-->
46 <H3><a name="what-is"></a>What is Samba? [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
47 <p>We read at <a href="http://us1.samba.org/samba/" target="_blank">http://us1.samba.org/samba/</a>:</p>
48 <!--empty-line-->
49 <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>
50 <!--empty-line-->
51 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.
52 </p>
53
54
55
56 <!-- Gathering info -->
57 <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>
58 <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>
59 <!--empty-line-->
60 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>
61 <!--empty-line-->
62 The info required is:</p>
63 <ol>
64 <li>The IP address of the Samba server</li>
65 <li>The domain on the Samba server<br>
66 This may exist if your PC is connected to a larger LAN (a corporation network, for example). In my case this is empty.</li>
67 <li>The user name and password you can use</li>
68 <li>The directory on the Samba server you can use to save your backup<br>
69 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>
70 </ol>
71
72
73
74 <!-- Buckup -->
75 <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>
76 <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.
77 </p>
78 <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>
79 <H3><a name="bck-smb-1"></a>Screen "Start Clonezilla" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
80 <p>I select "<font color="Red"><b>Start Clonezilla</b></font>" and press ENTER.
81 </p>
82 <H3><a name="bck-smb-2"></a>Screen "Clonezilla" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
83 <p>I select "<font color="Red"><b>device-image</b></font>" and press ENTER.<br> <br>
84 </p>
85 <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>
86 <p>In this screen I can select the way the image file directory will be saved.
87 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>
88 <br>
89 I select "<font color="Red"><b>samba server</b></font>" and press ENTER.
90 </p>
91 <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>
92 <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.
93 </p>
94 <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>
95 <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.
96 </p>
97 <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>
98 <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.
99 </p>
100 <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>
101 <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>
102 <!--empty-line-->
103 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.
104 </p>
105 <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>
106
107 <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>
108 <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>
109 <p>Here I can select the desired operation. Available options are:</p>
110
111 <p>savedisk<br>
112 &nbsp;&nbsp;&nbsp;&nbsp;Save entire disk to image<br>
113 <br>
114 restoredisk<br>
115 &nbsp;&nbsp;&nbsp;&nbsp;Restore entire disk from image<br>
116 <br>
117 saveparts<br>
118 &nbsp;&nbsp;&nbsp;&nbsp;Save partition to image<br>
119 <br>
120 restoreparts<br>
121 &nbsp;&nbsp;&nbsp;&nbsp;Restore partition from image<br>
122 <br>
123 recovery-iso-zip<br>
124 &nbsp;&nbsp;&nbsp;&nbsp;Create an automated restore CD/DVD/USB drive</p>
125 <p>I select "<font color="Red"><b>saveparts</b></font>" and press ENTER.<br> <br></p>
126 <!--empty-line-->
127 <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>
128 <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>
129 <br>
130 I insert "<font color="Red"><b>win_img</b></font>" and press ENTER.
131 </p>
132
133 <H3><a name="bck-smb-12"></a>Next screen [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3>
134 <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><br> Then a message is displayed asking for confirmation in order to continue. I just press <b>y</b>, and the backup procedure begins.
135 </p>
136
137
138
139 <!-- Rebooting -->
140
141 <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>
142 <p>When the backup is done, I get the following:</p>
143 <p class="newcode">(0) Poweroff<br>
144 (1) Reboot<br>
145 (2) Enter command line prompt<br>
146 (3) Start over<br>
147 [2]</p>
148 <!--empty line-->
149 <p>Then I press ENTER and get to the shell. I execute the commands:</p>
150 <p class="newcode">sudo su -<br>
151 cd<br>
152 umount -a<br>
153 reboot<br><br></p>
154
155
156 <!--site-only--><hr style="margin: 0;"><table border="0" width="100%" class="nav"><tr> <td width="33%"><a href="backup.html">Previous</a></td> <td width="34%" align="center"><a href="../README.html">Contents</a></td> <td width="33%" align="right"><a href="restoration.html">Next</a></td> </tr></table><!--end-site-only-->
157 </body>
158 </html>

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26