@anyakichi/cdk-rsync-backup 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/rsync-backup.sh +5 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +2 -2
- package/package.json +1 -1
package/assets/rsync-backup.sh
CHANGED
|
@@ -80,6 +80,11 @@ main() {
|
|
|
80
80
|
# Grow the volume. The filesystem is expanded with
|
|
81
81
|
# resize2fs after mount.
|
|
82
82
|
args+=(--size "$size")
|
|
83
|
+
elif ((size < snapshot_size)); then
|
|
84
|
+
# The shrink migration reads the whole volume, which is
|
|
85
|
+
# painfully slow against lazily-loaded snapshot blocks.
|
|
86
|
+
# Pay for provisioned-rate initialization instead.
|
|
87
|
+
args+=(--volume-initialization-rate 100)
|
|
83
88
|
fi
|
|
84
89
|
else
|
|
85
90
|
args+=(--size "$size")
|
package/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "0.5.
|
|
1
|
+
export declare const LIB_VERSION = "0.5.6";
|
package/lib/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LIB_VERSION = void 0;
|
|
4
|
-
exports.LIB_VERSION = "0.5.
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
4
|
+
exports.LIB_VERSION = "0.5.6";
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxXQUFXLEdBQUcsT0FBTyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IExJQl9WRVJTSU9OID0gXCIwLjUuNlwiO1xuIl19
|