Embedded Database Maintenance
299
n
ov
do
cx (e
n)
16
Ap
ril 20
10
34.3.3 Backing up the Embedded Sybase SQL Anywhere
Database Running on a Linux Server to a Network Location on
a Remote Linux Machine
To back up the embedded Sybase SQL Anywhere database that is installed and running on a Linux
server to a network location on a Linux machine, you need a local machine and a remote machine.
The local machine is a Linux server with the ZENworks server components and the embedded
Sybase SQL Anywhere database installed. The remote machine is a Linux machine that has the
network location to which you want to back up the database.
You can back up the database on a Linux machine by using any Linux share such as Samba share or
NFS share.
To back up the embedded Sybase SQL Anywhere database that is installed and running on a Linux
server to a network location on a Linux machine by using Samba share:
1
Create a Samba share on the remote machine:
1a
Create a user by entering the
useradd
user_name
command at the command prompt.
1b
Log in to the remote machine with the username created in
Step 1a
, and set the password
by using the
passwd
specify_the_password
command.
1c
Create a directory to save the database backup.
For example, create a directory with the name
backup
.
1d
Open the Samba server settings by running the
yast2 samba-server
command.
1e
Click the
Shares
tab, then click
Add
to specify the share name and the path to the backup
directory created in
Step 1c
.
For example, specify the sharename as
dbbackup
.
1f
Select the
dbbackup
share, click
Edit
, then add the following attributes:
create mask = 0640
force user =
user_name_created_in_
Step 1a
guest ok = yes
public = yes
wide links = no
writeable = yes
2
Create a directory on the local machine.
For example, create a directory with the name
zenworks_dbbackup
in
/root.
3
Mount the Samba share on the
zenworks_dbbackup
directory on the local machine by
entering the following command at the command prompt:
mount -t smbfs //
IP_address of the remote_machine
/
share_name
-o
username=
user_name_specified_in_Step1a
,password=
password_
specified_in_Step_1b
local_directory_name_with_complete_path_created_in_Step2
For example:
mount -t smbfs //
IP_address of the remote_machine
/dbbackup -o
username=
user_name_specified_in_Step1a
,password=
password_
specified_in_Step_1b
/root/zenworks_dbbackup
Содержание ZENWORKS 10 CONFIGURATION MANAGEMENT SP3 - NETWORK DISCOVERY DATABASE STRUCTURE
Страница 4: ...4 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 18: ...18 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 26: ...26 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 60: ...60 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 64: ...64 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 70: ...70 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 78: ...78 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 98: ...98 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 118: ...118 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 138: ...138 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 140: ...140 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 142: ...142 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 144: ...144 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 162: ...162 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 164: ...164 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 168: ...168 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 170: ...170 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 190: ...190 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 212: ...212 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 214: ...214 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 224: ...224 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 234: ...234 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 236: ...236 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 242: ...242 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 250: ...250 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 256: ...256 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 282: ...282 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 284: ...284 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 290: ...290 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 292: ...292 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 330: ...330 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 338: ...338 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 340: ...340 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 348: ...348 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 360: ...360 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 362: ...362 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 368: ...368 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 374: ...374 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...