вторник, 28 февраля 2012 г.

IPS 4240 бекап данных

Проверка доступности удаленного сервера по ssh
[pnadmin]$ pnsshfs
usage: pnsshfs  [<username>@]<host IP>:<dir> [-v]
[pnadmin]$ pnsshfs marsuser@192.168.253.13:/
The fingerprint for RSA key sent by the remote is
23:73:6e:c7:e8:f9:84:89:47:b8:62:4f:fa:6f:9e:b9
Do you want to use this key? (yes/no) yes
Type password:
pnsshfs: check success

Далее входим в режим экспорта данных
[pnadmin]$ pnexp

Enter 'help' for a list of valid commands, 'exit' or 'quit' to exit.
pnexp>

Будем писать на 192.168.253.13, пока в домашнюю директорию (/home/marsuser)
pnexp> export config sftp:192.168.253.13:
WARNING: this will stop CS-MARS, do you wish to continue (yes/no): yes

Please enter username on 192.168.253.13: marsuser
Please enter password for marsuser:

Staging secure mounting, please be patient ...
!!! The exported config data is saved under sub-directory of sftp:192.168.253.13:/pnmars_2012-02-28-14-47-20
!!! Stopping CS-MARS processes ...
!!! Exporting config data now

Dumping configuration data, may take a while ...
Configuration dump finished.
Sanity checking for post config data export ...
Config file size check OK ...
Exported config data sanity check passed.
Configdump to /tmp/pnexport/pnmars_2012-02-28-14-47-20 finished successfully.


pnexp> exit
[pnadmin]$

Комментариев нет:

Отправить комментарий