Re: [j-nsp] Snapshot from shell?

2016-03-23 Thread Niall Donaghy
Hi Chip,

On MX960 there is /sbin/snapshot.
On SRX240 there is /sbin/snapshot, and snapshot-dual-root.
 
# Test run on MX960
@mx1.cbg.uk.re0> start shell
% su
Password:
root@mx1% which snapshot
/sbin/snapshot
root@mx1% snapshot
Doing the initial labeling...
Verifying compatibility of destination media partitions...
Running newfs (3GB) on disk1 media  / partition (ad1s1a)...
Running newfs (383MB) on disk1 media  /config partition (ad1s1e)...
Copying / from compact-flash to disk1 (ad1s1a).. (this may take a few
minutes)


Depending on your device the following will work as intended/expected:

snapshot
snapshot media usb
snapshot media internal
snapshot media compact-flash


HTH,
Niall @ GEANT AS 21320, AS 20965

> -Original Message-
> From: juniper-nsp [mailto:juniper-nsp-boun...@puck.nether.net] On Behalf
Of
> Chip Marshall
> Sent: 24 March 2016 04:03
> To: juniper-nsp@puck.nether.net
> Subject: [j-nsp] Snapshot from shell?
> 
> Good evening.
> 
> I've got an SRX5400 that doesn't like to boot from it's compact-flash
> (ad0) but refused to acknowledge that the part exists when trying to use
the
> `request system snapshot media compact-flash` command. So I'm curious if
> anyone knows of a procedure for doing the equivalent of a `request system
> snapshot` from the shell, rather than through the cli.
> 
> Thanks
> 
> --
> Chip Marshall 
> http://2bithacker.net/
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


[j-nsp] Snapshot from shell?

2016-03-23 Thread Chip Marshall
Good evening.

I've got an SRX5400 that doesn't like to boot from it's compact-flash
(ad0) but refused to acknowledge that the part exists when
trying to use the `request system snapshot media compact-flash`
command. So I'm curious if anyone knows of a procedure for doing
the equivalent of a `request system snapshot` from the shell,
rather than through the cli.

Thanks

-- 
Chip Marshall 
http://2bithacker.net/


signature.asc
Description: PGP signature
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Re: [j-nsp] Junos PyEz on Solaris 10.

2016-03-23 Thread Vincent Bernat
 ❦ 23 mars 2016 12:57 -0500, David Lockuan  :

> I am testing the Junos Automation with PyEZ, I have installed it in Ubuntu
> and work fine.
>
> But my customer have Desktop PC with Solaris 10 and they want to test this
> library of Junos Python on their PC.
>
> Then, I had reviewed the documentation about this but it don't show me
> nothing about installing on Solaris, so I would like to know of somebody
> have test it over solaris?

You can also use "pip install junos-eznc". However, the pycrypto
dependency (through paramiko) could be difficult to pull depending on
what is installed on the workstation.
-- 
Use variable names that mean something.
- The Elements of Programming Style (Kernighan & Plauger)
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

[j-nsp] Junos PyEz on Solaris 10.

2016-03-23 Thread David Lockuan
Hi all,

I am testing the Junos Automation with PyEZ, I have installed it in Ubuntu
and work fine.

But my customer have Desktop PC with Solaris 10 and they want to test this
library of Junos Python on their PC.

Then, I had reviewed the documentation about this but it don't show me
nothing about installing on Solaris, so I would like to know of somebody
have test it over solaris?

Thanks in advance for your comments.

---
David.
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp