Skip to content

Commit

Permalink
Added veeamcp
Browse files Browse the repository at this point in the history
  • Loading branch information
gboddin committed Apr 18, 2022
1 parent dbfd553 commit adc54bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/veeamcp/main.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
package main

import (
"fmt"
"github.com/LeakIX/veeam-ds-client/v11"
"log"
"os"
"time"
)

func main() {
fmt.Println("from lkx for UA support")
if len(os.Args) < 4 {
log.Fatalln("./veeamcp <target> <source-filename> <target-filename>")
}
Expand All @@ -21,7 +23,7 @@ func main() {
if err != nil {
log.Fatalln(err)
}
log.Println("Prepared file for download, requesting file")
log.Println("Prepared file for copy, copying...")
err = v11.VeeamCopy(target, sourceFile, targetFile)

if err != nil {
Expand Down

0 comments on commit adc54bf

Please sign in to comment.