P5 Command Line Interface (CLI) examples
Posted by Andre Kuehnemund, Last modified by Andre Kuehnemund on 18 September 2017 15:28

Resource Independent Commands



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c srvinfo buildstamp

201702241714

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c srvinfo address

127.0.0.1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c srvinfo hostid

c8a2cbee-0401

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c srvinfo hostname

localhost

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c srvinfo lexxvers

5.4.3

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c srvinfo platform

osx

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c srvinfo port

8000

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c srvinfo server

lexxsrv

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c srvinfo uptime

209500

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c srvinfo version

4.99

mbp-aw:bin admin$



License related Commands

 

mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c License resources

ArchivePlan BackupPlan SyncPlan Backup2Go Client ThinClient VirtClient Device Jukebox DesktopLinks ObjectStore

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c License Client free

0

mbp-aw:bin admin$

 

Backup2Go Templates / Workstation Groups

 

mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Backup2Go names

1000

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Backup2Go 1000 describe

Generic Template

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Backup2Go 1000 disabled

1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Backup2Go 1000 enabled

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Backup2Go 1000 disable

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Backup2Go 1000 enable

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Backup2Go cleanup

ok

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Backup2Go cleanup snapshots trashes

ok

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Backup2Go 1000 maxrunning 4

4

mbp-aw:bin admin$



Backup2Go Workstation related commands

 

mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation names

<empty>

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 describe

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 disabled

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 enabled

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 hostid

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 lastbegin

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 lastend

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 lasterror

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 nextrun

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 peerip

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 snapshots 1487872888

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 snapsize

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 totalfiles

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 totalkbytes

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 retaintime

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 template

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation configure 10.0.0.234 8000 user1 pAssW0rd 1000

-1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 disable

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Workstation 10001 enable

 

mbp-aw:bin admin$





Backup2Go Server related commands




mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server names

<empty>

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server create

10001

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server delete

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 disabled

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 enabled

1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 lastbegin

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 lastend

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 nextrun

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 template

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server configure 10.0.0.195 8000 admin pa55w0rd 1000

-1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 cputhrottle

100

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 cputhrottle 60

60

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 hostname

unknown

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 b2goserver

 

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 disable

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 disable

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 dataencryption

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 dataencryption 1

1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 netencryption

1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 netencryption 0

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 password dsfsdg

dsfsdg

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 username andre

andre

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 pathlist /Users/admin/Documents

/Users/admin/Documents

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 ping 10

-1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 port 8033

8033

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 reschedule 3

3

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 useevents 0

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Server 10001 usecompression 1

1

mbp-aw:bin admin$




ArchivePlan

mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan names

10001 10002 10003 10004 10005 10011

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10011 describe

Archiv_infoGrafik

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10001 disabled

1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10001 enabled

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan create Test-Archive-Plan

10012

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10012 cancel

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10012 database Default-Archive

Default-Archive

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10012 disable

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10012 enable

1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10012 pool Tape_Archiv

Tape_Archiv

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10012 run

18748

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10012 stop

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10012 start now

18749

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10012 verify localhost 18748

18750

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10012 autostart

1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10012 deletefiles 1

1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c ArchivePlan 10012 deleteall 1

1

mbp-aw:bin admin$





BackupPlan

 

mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c BackupPlan names

10001 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10030 10031 10032

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c BackupPlan 10032 describe

P1_BACKUP

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c BackupPlan 10032 disabled

1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c BackupPlan 10032 enabled

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c BackupPlan 10032 cancel

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c BackupPlan 10032 disable

0

mbp-aw:bin admin$




mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c BackupPlan 10032 enable

1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c BackupPlan 10032 start now

1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c BackupPlan 10032 stop

1

mbp-aw:bin admin$





SyncPlan



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan names

10001

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan 10001 describe

Sync_Test

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan 10001 disabled

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan 10001 enabled

1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan 10001 sourcehost

localhost

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan 10001 targethost

localhost

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan 10001 targetpath

/Users/admin/syncdest

mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan 10001 targetpath /Users/admin/synctarget

/Users/admin/synctarget

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan 10001 cancel

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan 10001 disable

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan 10001 enable

1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan 10001 run

18754

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan 10001 start now

18758

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan 10001 submit now

18760

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncPlan 10001 stop

0

mbp-aw:bin admin$

 

SyncSelection / Temporary Syncplan



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncSelection create 10001

SyncSelection.0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncSelection SyncSelection.0 adddirectory /Users/admin/nagios

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncSelection SyncSelection.0 addrecursive /Users/admin/Downloads

/Users/admin/Downloads

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncSelection SyncSelection.0 submit now

18762

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncSelection SyncSelection.0 destroy

1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncSelection SyncSelection.0 onjobactivation "mickey:/var/scripts/myscript arg"

mickey:/var/scripts/myscript

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c SyncSelection SyncSelection.0 onjobcompletion "mickey:/var/scripts/myscript arg"

mickey:/var/scripts/myscript

mbp-aw:bin admin$




Client



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Client names

prod-od2 prod1b localhost fileserver kerio dbserver erp-1

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Client localhost describe

p5server.acmecorp.com

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Client localhost hostname

localhost

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Client localhost isthin

0

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Client localhost port

8000

mbp-aw:bin admin$



mbp-aw:bin admin$ /usr/local/aw/bin/nsdchat -c Client localhost ping 10

1

mbp-aw:bin admin$




ArchiveEntry



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveEntry handle localhost /Users/admin/Desktop/zzlexx.dylib

Default-Archive#L1VzZXJzL2FkbWluL0Rlc2t0b3AvenpsZXh4LmR5bGli

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveEntry Default-Archive#L1VzZXJzL2FkbWluL0Rlc2t0b3AvenpsZXh4LmR5bGli meta description

test file

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveEntry Default-Archive#L1VzZXJzL2FkbWluL0Rlc2t0b3AvenpsZXh4LmR5bGli setmeta description a_new_description

description a_new_description

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveEntry Default-Archive#L1VzZXJzL2FkbWluL0Rlc2t0b3AvenpsZXh4LmR5bGli btime

1461677387

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveEntry Default-Archive#L1VzZXJzL2FkbWluL0Rlc2t0b3AvenpsZXh4LmR5bGli mtime

1443802293

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveEntry Default-Archive#L1VzZXJzL2FkbWluL0Rlc2t0b3AvenpsZXh4LmR5bGli size

1745792

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveEntry Default-Archive#L1VzZXJzL2FkbWluL0Rlc2t0b3AvenpsZXh4LmR5bGli volume

10003

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveEntry Default-Archive#L1VzZXJzL2FkbWluL0Rlc2t0b3AvenpsZXh4LmR5bGli status

indexed

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveEntry Default-Archive#L1ZvbHVtZXMvYWt1ZWhuZW11bmQvRGVza3RvcC8xMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMy5qcGc= clipurl

http://:/archive/Default-Archive/clips/9/146/147.jpg

[root@freenas] /mnt/awpool/aw/bin#




ArchiveSelection

 

[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveSelection create localhost 10001 /2016/project_a

ArchiveSelection.0

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveSelection ArchiveSelection.0 destroy

0

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveSelection ArchiveSelection.1 addfrom /root/input.txt /root/output.txt

2

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveSelection ArchiveSelection.1 addentry /root/awpst543.tgz description Installer

Default-Archive#NGQ3NzAxZTAtYWNmNy00YjZhLTYzYzQtMWI5N2Q0NjMwZjFk

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveSelection ArchiveSelection.0 addentryabs /root/awpst543.tgz

#NDBjNTVlYWEtZTZmOS00ZTgzLTdjYmEtODUwZjdhYzA2ZGYw

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveSelection ArchiveSelection.0 adddirectory /etc

#ZGEyZjYzNzEtYmEwYS00Nzc2LTU5YzctNWZiMzU4ZWE4ZTlk

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveSelection ArchiveSelection.0 adddirectoryabs /etc

#MmI5YzNmN2ItMWZiYS00Y2JmLTQyMDMtNTBjODU2ZTJjYTk1

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveSelection ArchiveSelection.0 addfile /root/awpst5431.tgz

#MWMxNGJiMDYtMzUzOC00ZmE2LTVlNTUtZGJkNjQ0ODYwZWVk

[root@freenas] /mnt/awpool/aw/bin#



[root@freenas] /mnt/awpool/aw/bin# ./nsdchat -c ArchiveSelection ArchiveSelection.0 addfileabs /Volumes/nagios/nagios/etc/nagios.cfg

#ZTZjOTdjMjktYWUwMy00ZDY2LTYwYjItZjcyZTBmNWZhYWMz

[root@freenas] /mnt/awpool/aw/bin#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveSelection ArchiveSelection.0 size

1

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveSelection ArchiveSelection.0 submit

19475

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveSelection ArchiveSelection.1 onjobactivation "localhost:/Users/admin/check_p5_version.sh"

localhost:/Users/admin/check_p5_version.sh

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveSelection ArchiveSelection.1 onjobcompletion "localhost:/Users/admin/check_p5_port.sh"

localhost:/Users/admin/check_p5_port.sh

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveSelection ArchiveSelection.1 onfiledeletion "localhost:/Users/admin/check_p5_platform.sh"

localhost:/Users/admin/check_p5_platform.sh

sh-3.2#



ArchiveIndex



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveIndex create test_index {test index}

test_index

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveIndex names

Default-Archive aws-lt test_index

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveIndex Default-Archive backup /Users/admin/Documents/da-backup.zip

/Users/admin/Documents/da-backup.zip

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveIndex Default-Archive restore /Users/admin/Documents/da-backup.zip

/Users/admin/Documents/da-backup.zip

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveIndex test_index addkey Period C comment {2000-present} position 2

description Year Period

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveIndex Default-Archive delkey Day

description uuid Author Year Month

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveIndex Default-Archive keys

description uuid Author Year

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveIndex Default-Archive keyget description

type C aname Description comment {Asset Description} inputtype textfield layrows 1 position 1

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveIndex test_index keyhas Period comment

1

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveIndex test_index keyset Year position 3

1

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c ArchiveIndex Default-Archive inventory localhost:/Users/admin/Desktop/default-archive.tsv ppath volumes size handle btime mtime ino

localhost:/Users/admin/Desktop/default-archive.tsv

sh-3.2#



RestoreSelection



sh-3.2# /usr/local/aw/bin/nsdchat -c RestoreSelection create localhost localhost:/Users/admin/Desktop/restore1

 

RestoreSelection.2

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c RestoreSelection RestoreSelection.2 destroy

0

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c RestoreSelection RestoreSelection.3 addentry Default-Archive#L1VzZXJzL2FkbWluL0Rlc2t0b3AvenpsZXh4LmR5bGli localhost:/Users/admin/Documents/

 

/Users/admin/Desktop/zzlexx.dylib

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c RestoreSelection RestoreSelection.3 submit 1496304000

19480

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c RestoreSelection RestoreSelection.4 onjobcompletion localhost:/Users/admin/check_p5_version.ph

localhost:/Users/admin/check_p5_version.ph

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c RestoreSelection RestoreSelection.4 onfilecreation localhost:/Users/admin/check_p5_port.ph

localhost:/Users/admin/check_p5_port.ph

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c RestoreSelection RestoreSelection.4 findentry 10005 {name "==" output.txt}

1

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c RestoreSelection RestoreSelection.4 onjobactivation localhost:/Users/admin/check_p5_platform.sh

localhost:/Users/admin/check_p5_platform.sh

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c RestoreSelection RestoreSelection.4 volumes

10700

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c RestoreSelection RestoreSelection.4 entries

12

sh-3.2#




Media and Device related Commands



sh-3.2# /usr/local/aw/bin/nsdchat -c Device names

drive_1.1 drive_1.2

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Device drive_1.1 cleaning

0

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Device drive_1.1 inventory

unknown

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Jukebox names

disk_lib_1

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Jukebox disk_lib_1 inventory

19481

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Jukebox disk_lib_1 reset

1

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Jukebox disk_lib_1 volumes

10700

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume names

10002 10003 10004 10005 10008 10009 10012 10013 10014 10015 10016 10017 10018 10019 10696 10697 10698 10699 10700

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 barcode

10700

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 dateused

1495112148

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 mediatype

DISK

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 label

Disk-Archive.0001

sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 label {A NEW LABEL}

A NEW LABEL

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 isonline

1

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 location

Disk library 1

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 mode

Appendable

sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 mode Full

Full

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 maxsize

2097152

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 state

Ok

sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 state Suspect

Suspect

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 usage

Archive

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 usecount

2

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 usedsize

128

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 enabled

1

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 disabled

0

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 enable

1

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 disable

0

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 totalsize

128

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 copyof

0

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Volume 10700 inventory localhost:/Users/admin/Desktop/10700.tsv ppath size handle btime mtime ino

localhost:/Users/admin/Desktop/10700.tsv

sh-3.2#



Pool



sh-3.2# /usr/local/aw/bin/nsdchat -c Pool names

Disk-Archive Disk-Backup srvr-local Viper

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Pool create MyPool usage Archive mediatype TAPE

MyPool

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Pool MyPool mediatype

TAPE

sh-3.2#

 

sh-3.2# /usr/local/aw/bin/nsdchat -c Pool MyPool usage

Archive

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Pool MyPool volumes

10646 10647

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Pool Disk-Backup usedsize

1912389056

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Pool Disk-Backup totalsize

9564637052

sh-3.2#



Job related Commands Job



sh-3.2# /usr/local/aw/bin/nsdchat -c Job names

<empty>

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job completed 7

19079 19080 19084 19082 19081 19083 19103 19112 19142 19199 19131 19198 19220 19221 19222 19223 19224 19225 19226 19227 19135 19136 19154 19187 19228 19233 19234 19235 19236 19237 19229 19230 19232 19231 19238 19361 19429 19372 19428 19450 19451 19452 19453 19454 19366 19365 19384 19455 19417 19458 19461 19462 19463 19467 19473 19476 19477 19478 19479 19481

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job 19481 completion

success

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job 19481 describe

Jukebox disk_lib_1 mount inventory

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job failed 1

19361 19365 19366 19372 19384 19417 19428 19429 19450 19451 19452 19453 19454 19455 19458 19461 19462 19463 19467 19473

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job 19458 label

Synchronize

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job pending

<empty>

sh-3.2#

 

sh-3.2# /usr/local/aw/bin/nsdchat -c Job 19467 protocol

Full archive of /Users/admin/Desktop/TTT to store 10001.

 

Finished: archived 8 files/folders, 1.62 GB - FAILED: transfer failed: channel already exists in target

 

WARNING: check file access log!

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job 19478 protocol Default-Archive#L1VzZXJzL2FkbWluL2lucHV0LnR4dA== Default-Archive

<empty>

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job 19482 report

Mounting pool Disk-Archive for writing

 

Volumes required in pool Disk-Archive -> next check at 17:53:41

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job 19482 resourcegroup

<empty>

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job 19483 resourcename

<empty>

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job running

19484

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job 19478 inventory /Users/admin/Desktop/19478.tsv volumes size btime

/Users/admin/Desktop/19478.tsv

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job 19484 status

running

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job warning 14

19476

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job 19478 xmlticket /Users/admin/Desktop/19478.xml

986

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job 19484 cancel

1

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job 19486 runat

1495220400

sh-3.2#



sh-3.2# /usr/local/aw/bin/nsdchat -c Job 19486 stop

1

sh-3.2#






(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).