You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### How-To (Here is also [Longren Tutorial](https://longren.io/automate-making-snapshots-of-your-digitalocean-droplets/))
104
106
105
107
Here we `keeping` only 5 **latest** snapshots and cleanup older after new one is created. If creation of snapshots failed no one will be deleted. By default we keeping `10` droplets.
106
108
107
109
$ do_snapshot --keep 5 -c
108
110
109
-
Using API V2:
111
+
Using API V1:
110
112
111
-
$ do_snapshot -p 2
113
+
$ do_snapshot -p 1
112
114
113
115
Keep latest 3 from selected droplet:
114
116
@@ -162,7 +164,7 @@ For working mailer you need to set e-mail settings via run options.
162
164
163
165
Options:
164
166
-p, [--protocol=1] # Select api version.
165
-
# Default: 1
167
+
# Default: 2
166
168
-o, [--only=123456 123456 123456] # Select some droplets.
167
169
-e, [--exclude=123456 123456 123456] # Except some droplets.
168
170
-k, [--keep=5] # How much snapshots you want to keep?
0 commit comments