- Products
- Learn
- Local User Groups
- Partners
- More
CheckMates Fifth Birthday
Celebrate with Us!
days
hours
minutes
seconds
Join the CHECKMATES Everywhere Competition
Submit your picture to win!
Harmony Mobile 4:
New Version, New Capabilities
As YOU DESERVE THE BEST SECURITY
Upgrade to our latest GA Jumbo
CheckFlix!
All Videos In One Space
Hi!
Does anyone know a command to remove all existing snapshots on a gateway with a single command? I have many gateways with 5,6 or more snapshots and it would be helpful not to do a "show snapshots" and "delete snapshot #1; #2; #3; #4; …".
Thx,
Bernhard
No, CLI does not support that - delete snapshot <Name of Snapshot> needs the name, and on Gaia OS, snapshots are not files, but disk volumes that are stored as a disk partition. So the most easy way to delete snapshots is the GAiA WebGUI...
Not easy on about 100 gateways with up to 6 snapshots ☹
If it is necessary you can parse the show snapshots output and generate the names for delete snapshot, but this needs some programming skills... Or use lvm commands.
Unrelated to your query, but when you responded to this post via email, your full signature with your phone number was also posted.
I edited your post to remove this information as I assume that was not intended.
Be aware of that for future
Can't you script it from Management? Can't be too challenging good old bash..
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY