INNER CODE UNIT · JavaScript

summary

democratic-csi/democratic-csi · src/driver/controller-client-common/index.js:1135

            let summary = response.parsed.find((message) => {
              return message.message_type == "summary";
            });
            snapshot_id = summary.snapshot_id;
            driver.ctx.logger.info(
              `restic backup finished: snapshot_id=${snapshot_id}, path=${volume_path}, total_duration=${
                summary.total_duration | 0
              }s`
            );
            const stats = await restic.stats([snapshot_id]);
            size_bytes = stats.total_size;

            // only apply these tags at creation, do NOT use for search above etc
            let add_tags = `csi_snapshot_name=${name}`;
            let config_tags = _.get(
              driver.options[config_key],
              "snapshots.restic.tags",
              []

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…