Compare commits
2 commits
b7d18e4309
...
f9e7a83c13
Author | SHA1 | Date | |
---|---|---|---|
f9e7a83c13 | |||
27ae8145d6 |
2 changed files with 8 additions and 8 deletions
|
@ -104,12 +104,12 @@ def main [
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
let-env RESTIC_REPOSITORY = $"b2:($env.B2_BUCKET):($env.HOSTNAME)"
|
$env.RESTIC_REPOSITORY = $"b2:($env.B2_BUCKET):($env.HOSTNAME)"
|
||||||
|
|
||||||
let-env RCLONE_CONFIG = "/dev/null"
|
$env.RCLONE_CONFIG = "/dev/null"
|
||||||
let-env RCLONE_CONFIG_B2_TYPE = "b2"
|
$env.RCLONE_CONFIG_B2_TYPE = "b2"
|
||||||
let-env RCLONE_CONFIG_B2_ACCOUNT = $env.B2_ACCOUNT_ID
|
$env.RCLONE_CONFIG_B2_ACCOUNT = $env.B2_ACCOUNT_ID
|
||||||
let-env RCLONE_CONFIG_B2_KEY = $env.B2_ACCOUNT_KEY
|
$env.RCLONE_CONFIG_B2_KEY = $env.B2_ACCOUNT_KEY
|
||||||
|
|
||||||
if (rclone lsjson $"b2:($env.B2_BUCKET)/($env.HOSTNAME)/config" | from json | length | $in == 0) {
|
if (rclone lsjson $"b2:($env.B2_BUCKET)/($env.HOSTNAME)/config" | from json | length | $in == 0) {
|
||||||
let result = (do {restic init} | complete)
|
let result = (do {restic init} | complete)
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1701680307,
|
"lastModified": 1705309234,
|
||||||
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
|
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
|
"rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
Loading…
Reference in a new issue