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