[j-nsp] Snapshot from shell?

Niall Donaghy Niall.Donaghy at geant.org
Thu Mar 24 01:14:25 EDT 2016

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
root at mx1% which snapshot
root at 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

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

snapshot media usb
snapshot media internal
snapshot media compact-flash

Niall @ GEANT AS 21320, AS 20965

> -----Original Message-----
> From: juniper-nsp [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf
> Chip Marshall
> Sent: 24 March 2016 04:03
> To: juniper-nsp at 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
> `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 <chip at 2bithacker.net>
> http://2bithacker.net/

More information about the juniper-nsp mailing list