Creating a Snapshot with cron

Creating Snaphosts with cron

Put the following with crontab -e.

00 04 * * * /usr/bin/curl -s https://raw.githubusercontent.com/amimoto-ami/create-snapshots/master/create_snapshot.sh | /bin/bash

Snapshot will be created everyday at 4:00 AM, and two snaphosts are kept, so old snaphosts will be removed automatically.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk