Backup existing data of OneDB Server
Procedure
-
Login as an “Ubuntu” user:
-
Check the output of the “id” command”:
$ id
# uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),117(netdev),118(lxd)
-
Go to “/tmp” directory:
-
Apply 777 file permissions to below files
$ sudo chmod 777 ifxdata.tar ol_aws_disk_encryption.p12 ol_aws_disk_encryption.stl passwords
-
rename existing /data folder
-
create an empty /data folder:
sudo mkdir /data
sudo chmod 755 /data
sudo chown informix:informix /data
-
Backup other files:
sudo mv /home/informix/passwords /home/informix/x-passwords
sudo mv /home/informix/server/etc/ol_onedb_disk_encryption.p12 /home/informix/server/etc/x-ol_onedb_disk_encryption.p12
sudo mv /home/informix/server/etc/ol_onedb_disk_encryption.stl /home/informix/server/etc/x-ol_onedb_disk_encryption.stl
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.