Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
eb6273c
neuroslop
Vladsz83 Sep 7, 2026
d9aa470
IGNITE-29037 Refactored Message Factory usage in TCP Discovery implem…
petrov-mg Sep 4, 2026
7042aec
raw
Vladsz83 Sep 7, 2026
682a21c
raw
Vladsz83 Sep 7, 2026
bcc72c4
Merge branch 'master' into support-snapshot-lists
Vladsz83 Sep 7, 2026
3ab443a
raw
Vladsz83 Sep 8, 2026
9171c7e
raw
Vladsz83 Sep 8, 2026
de68328
+ snpPath
Vladsz83 Sep 9, 2026
f0996e9
better tests
Vladsz83 Sep 9, 2026
80c7644
own test
Vladsz83 Sep 9, 2026
c8d1c25
Merge branch 'master' into snp-delete
Vladsz83 Sep 9, 2026
fc11a5f
+ test
Vladsz83 Sep 10, 2026
8a007e3
Simplification
Vladsz83 Sep 10, 2026
97ab26c
+ restore test
Vladsz83 Sep 10, 2026
fbb2cf8
+ create test
Vladsz83 Sep 10, 2026
2ed26ad
reimpl tests
Vladsz83 Sep 10, 2026
9b0e5ff
better IgniteClusterSnapshotDeleteTest
Vladsz83 Sep 10, 2026
b09e0b3
+incr test
Vladsz83 Sep 10, 2026
71717c2
raw
Vladsz83 Sep 10, 2026
7148da6
+ feature support test
Vladsz83 Sep 10, 2026
d36c642
+ IgniteClusterSnapshotDeleteTest
Vladsz83 Sep 10, 2026
9a658df
fix
Vladsz83 Sep 11, 2026
35a4c9d
Merge branch 'master' into Introduce-snapshot-deletion-command
Vladsz83 Sep 11, 2026
d715c66
test fix + doc
Vladsz83 Sep 11, 2026
e6aa330
+ RU test. + many small fixes.
Vladsz83 Sep 11, 2026
4233322
review fixes
Vladsz83 Sep 11, 2026
b11f389
test fix
Vladsz83 Sep 14, 2026
37cb071
Merge branch 'master' into IGNITE-29050-Introduce-snapshot-deletion-c…
Vladsz83 Sep 14, 2026
f00d266
+ tests
Vladsz83 Sep 14, 2026
57909f4
+ tests
Vladsz83 Sep 14, 2026
edd86d7
Merge branch 'master' into Introduce-snapshot-deletion-command
Vladsz83 Sep 15, 2026
7e82295
+ delete-deletePath test
Vladsz83 Sep 15, 2026
ed9cc3a
+ another delete-deletePath tests
Vladsz83 Sep 15, 2026
bb1dfec
+ test pf deletion repeat on restarted offline node
Vladsz83 Sep 15, 2026
129b090
+ stop-node test, fixes
Vladsz83 Sep 15, 2026
4249205
revert delete cancel flag
Vladsz83 Sep 15, 2026
b7c182d
+ RU test
Vladsz83 Sep 16, 2026
a67c484
Merge branch 'master' into IGNITE-29050-Introduce-snapshot-deletion-c…
Vladsz83 Sep 17, 2026
a0425cb
+ raw testDeletionInIgnite
Vladsz83 Sep 18, 2026
d30d4f9
in-ignite deleteion test fix
Vladsz83 Sep 18, 2026
852904f
Major fix of testDeleteNotSnapshotSharedDirectory(), reimpl of snp tr…
Vladsz83 Sep 18, 2026
f416646
+ delete tests .Checkstyle
Vladsz83 Sep 21, 2026
bb9d486
- all in node tree
Vladsz83 Sep 21, 2026
eae0892
better delete tests
Vladsz83 Sep 21, 2026
c04edd7
fixes
Vladsz83 Sep 21, 2026
6596432
test fixes, fixes
Vladsz83 Sep 21, 2026
4977c26
test fixes, fixes
Vladsz83 Sep 21, 2026
3da6b6a
review fixes, checkstyle.
Vladsz83 Sep 22, 2026
6c076ae
fixes
Vladsz83 Sep 22, 2026
0f09da9
+ baseline check and warning
Vladsz83 Sep 22, 2026
219c572
+ baseline check and warning
Vladsz83 Sep 22, 2026
d8ce7d8
review fixes
Vladsz83 Sep 22, 2026
ab3043c
Merge remote-tracking branch 'my/Introduce-snapshot-deletion-command'…
Vladsz83 Sep 22, 2026
95bc7a1
fixes
Vladsz83 Sep 22, 2026
501a6b9
ru fixes
Vladsz83 Sep 22, 2026
23fe41c
ru fixes
Vladsz83 Sep 22, 2026
0e96740
doc fix
Vladsz83 Sep 22, 2026
204acaa
+ corrupted metafile test
Vladsz83 Sep 22, 2026
e6086d6
manual review, review fixes
Vladsz83 Sep 22, 2026
d4c7e88
test fixes
Vladsz83 Sep 22, 2026
e576e2b
flaky fixes
Vladsz83 Sep 23, 2026
2d2f6c4
neuroslop
Vladsz83 Sep 23, 2026
dad9445
Merge remote-tracking branch 'my/IGNITE-29056-Introduce-snapshot-list…
Vladsz83 Sep 23, 2026
669a8fd
raw fixes of neuroslop, cleaning
Vladsz83 Sep 23, 2026
399393c
raw
Vladsz83 Sep 23, 2026
9d830c3
in progress
Vladsz83 Sep 24, 2026
758d620
in-progress
Vladsz83 Sep 24, 2026
7e05d59
Merge branch 'master' into IGNITE-29056-Introduce-snapshot-lists-comm…
Vladsz83 Sep 25, 2026
5db0b94
Merge remote-tracking branch 'my/IGNITE-29056-Introduce-snapshot-list…
Vladsz83 Sep 25, 2026
08b44c7
in progress
Vladsz83 Sep 25, 2026
0d80395
first trivail results
Vladsz83 Sep 25, 2026
984b98e
Merge branch 'master' into IGNITE-29056-Introduce-snapshot-lists-comm…
Vladsz83 Sep 29, 2026
11b9a94
+ master, in progress
Vladsz83 Sep 29, 2026
df75ea7
Merge branch 'master' into IGNITE-29056-Introduce-snapshot-lists-comm…
Vladsz83 Sep 30, 2026
9ac96c0
Merge branch 'master' into IGNITE-29056-Introduce-snapshot-lists-comm…
Vladsz83 Oct 1, 2026
e5ff78d
Merge remote-tracking branch 'my/IGNITE-29056-Introduce-snapshot-list…
Vladsz83 Oct 1, 2026
e625c05
Merge branch 'master' into IGNITE-29056-Introduce-snapshot-lists-comm…
Vladsz83 Oct 1, 2026
d7a8bb2
hnd test in progress
Vladsz83 Oct 1, 2026
b8d3244
in progress
Vladsz83 Oct 1, 2026
3035ba4
in progress
Vladsz83 Oct 1, 2026
1b73fc8
Merge branch 'master' into IGNITE-29056-Introduce-snapshot-lists-comm…
Vladsz83 Oct 2, 2026
f929096
Merge branch 'master' into IGNITE-29056-Introduce-snapshot-lists-comm…
Vladsz83 Oct 5, 2026
378b18e
raw inc snps
Vladsz83 Oct 5, 2026
a61a572
extra strorages in progress
Vladsz83 Oct 5, 2026
2a3b6cc
in progress
Vladsz83 Oct 6, 2026
75f8004
+ extra storages data
Vladsz83 Oct 6, 2026
06e9e4f
refactor data transfer
Vladsz83 Oct 6, 2026
5a3d309
refactor data transfer
Vladsz83 Oct 6, 2026
5dabb97
yet more refactor data transfer
Vladsz83 Oct 6, 2026
d0f9ebd
descriptions to a map
Vladsz83 Oct 6, 2026
acda208
extra storages test fix
Vladsz83 Oct 6, 2026
0013263
major test fixes. + changed consistent id
Vladsz83 Oct 6, 2026
d372913
+ empty snp cluster func test
Vladsz83 Oct 6, 2026
3a90272
+ 1st parallel
Vladsz83 Oct 6, 2026
1d07243
revert
Vladsz83 Oct 6, 2026
98274c9
Revert "revert"
Vladsz83 Oct 6, 2026
ff50f3d
revert
Vladsz83 Oct 6, 2026
ca46fca
Revert "revert"
Vladsz83 Oct 6, 2026
b52666a
better parallelism
Vladsz83 Oct 6, 2026
c0d5803
Merge branch 'master' into IGNITE-29056-Introduce-snapshot-lists-comm…
Vladsz83 Oct 7, 2026
ec8aaf3
dic fix. + no-meta-test
Vladsz83 Oct 7, 2026
5f3c9aa
raw
Vladsz83 Oct 7, 2026
695ecb8
+ concurrent op tests
Vladsz83 Oct 8, 2026
361dc42
raw impl
Vladsz83 Oct 8, 2026
7a998f7
fix
Vladsz83 Oct 9, 2026
ffdc1a6
Merge branch 'master' into IGNITE-29056-Introduce-snapshot-lists-comm…
Vladsz83 Oct 9, 2026
e730649
LLM review fixes
Vladsz83 Oct 9, 2026
4be409d
doc test fix
Vladsz83 Oct 9, 2026
77fafa8
review fixes
Vladsz83 Oct 9, 2026
38fe6a3
fixes. + the permissions test
Vladsz83 Oct 9, 2026
2a675e5
merge dev branch
Vladsz83 Oct 9, 2026
c10e51b
Merge branch 'master' into IGNITE-29056-Introduce-snapshot-lists-comm…
Vladsz83 Oct 9, 2026
569fd93
merge dev branch
Vladsz83 Oct 9, 2026
626f632
Merge remote-tracking branch 'my/IGNITE-29056-Introduce-snapshot-list…
Vladsz83 Oct 9, 2026
f15ba58
kimi k3 review fixes
Vladsz83 Oct 10, 2026
b0a5683
+ sizes tests
Vladsz83 Oct 10, 2026
9b7f4b4
kimi k3 review
Vladsz83 Oct 10, 2026
88d8c9c
minority
Vladsz83 Oct 10, 2026
47e87b9
fixes
Vladsz83 Oct 10, 2026
80c7705
Merge branch 'IGNITE-29056-Introduce-snapshot-lists-command-to-contro…
Vladsz83 Oct 10, 2026
c03f8cc
Merge branch 'master' into IGNITE-29056-Introduce-snapshot-lists-comm…
Vladsz83 Oct 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions docs/_docs/snapshots/snapshots.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,40 @@ control.(sh|bat) --snapshot restore snapshot_09062021 --groups cache-group1,cach
control.(sh|bat) --snapshot restore snapshot_09062021 --increment 1
----

== Listing Snapshots

To list snapshots created on the cluster, use the following command.

[tabs]
--
tab:Unix[]
[source,shell]
----
# List all snapshots in the default snapshot directory.
control.sh --snapshot list

# List all snapshots in the "/tmp/ignite/snapshots" folder.
control.sh --snapshot list --src /tmp/ignite/snapshots
----

tab:Windows[]
[source,shell]
----
# List all snapshots in the default snapshot directory.
control.bat --snapshot list

# List all snapshots in the "C:\\tmp\\ignite\\snapshots" folder.
control.bat --snapshot list --src C:\\tmp\\ignite\\snapshots
----
--

=== List operation notes

* The list operation is read-only and does not modify any snapshot data.
* If a snapshot is being modified (created or deleted), its size might not be reported.
* A snapshot is being detected by its metadata. If metadata is missing or cannot be read, snapshot is ignored.
* When listing snapshots and calculating size, no additional snapshot validation or checksum calculation is performed.

== Getting Snapshot Operation Status

The status of the current snapshot operation in the cluster can be obtained using the `control.sh|bat` script or JMX interface:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.apache.ignite.testsuites;

import org.apache.ignite.util.GridCommandHandlerListSnapshotTest;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;

/**
* Test suite for control utility.
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
GridCommandHandlerListSnapshotTest.class
})
public class IgniteControlUtilityTestSuite6 {
}
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,22 @@ protected void createCacheAndPreload(
) {
assert nonNull(ignite);

CacheConfiguration<?, ?> ccfg = testCacheConfiguration(cacheName, partitions, filter);

ignite.createCache(ccfg);

try (IgniteDataStreamer<Object, Object> streamer = ignite.dataStreamer(cacheName)) {
for (int i = 0; i < countEntries; i++)
streamer.addData(i, i);
}
}

/** */
protected CacheConfiguration<?, ?> testCacheConfiguration(
String cacheName,
int partitions,
@Nullable IgnitePredicate<ClusterNode> filter
) {
CacheConfiguration<?, ?> ccfg = new CacheConfiguration<>(cacheName)
.setAffinity(new RendezvousAffinityFunction(false, partitions))
.setBackups(1)
Expand All @@ -507,12 +523,7 @@ protected void createCacheAndPreload(
if (filter != null)
ccfg.setNodeFilter(filter);

ignite.createCache(ccfg);

try (IgniteDataStreamer<Object, Object> streamer = ignite.dataStreamer(cacheName)) {
for (int i = 0; i < countEntries; i++)
streamer.addData(i, i);
}
return ccfg;
}

/**
Expand Down
Loading
Loading