20 April 2014

Backup dan restore TCU dengan mudah

Cara backup dan restore TCU

1. Download SFTP Server DI SINI
2. Setting ip addr 192.168.1.2

OSmon> uselocalsftp on
OperationSucceeded

OSmon> startsession bkp
OperationFailed - Session 'bkp' already started

OSmon> endsession bkp
OperationSucceeded

OSmon> startsession bkp
OperationSucceeded

OSmon> backup bkp sftp://tcu:tcu@192.168.1.2/tcu.lurumata.xml admin
OperationSucceeded

OSmon> getsessionstatus bkp
UploadCompleted
OperationSucceeded

OSmon> endsession bkp
OperationSucceeded

OSmon> startsession res
OperationSucceeded

OSmon> download res sftp://tcu:tcu@192.168.1.2/tcu.lurumata.xml
OperationSucceeded

OSmon> getsessionstatus res
DownloadCompleted
OperationSucceeded

OSmon> restore res admin
OperationSucceeded

OSmon> getsessionstatus res
ActivationCompleted
OperationSucceeded

OperationSucceeded
OSmon>

OSmon> activate res
OperationSucceeded

Gambar SFTP Server 

Keterangan:
* uselocalsftp = mengaktifkan sftp client di TCU
* startsession = membuat session baru
* endsession = mematikan session
* getsessionstatus = melihat status session
* download = membackup data dari TCU ke LAPTOP
* restore = merestore data dari LAPTOP ke TCU
* activate = mengaktifkan xml baru


1 comment: