File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import (
23
23
)
24
24
25
25
func (api * api ) CreateBackup (unlockPassword string , w io.Writer ) error {
26
+ logger .Logger .Info ("Creating backup to migrate Alby Hub to another device" )
26
27
var err error
27
28
28
29
if ! api .cfg .CheckUnlockPassword (unlockPassword ) {
@@ -130,10 +131,14 @@ func (api *api) CreateBackup(unlockPassword string, w io.Writer) error {
130
131
}
131
132
}
132
133
134
+ logger .Logger .Info ("Successfully created backup to migrate Alby Hub to another device" )
135
+
133
136
return nil
134
137
}
135
138
136
139
func (api * api ) RestoreBackup (unlockPassword string , r io.Reader ) error {
140
+ logger .Logger .Info ("Restoring migration backup file" )
141
+
137
142
workDir , err := filepath .Abs (api .cfg .GetEnv ().Workdir )
138
143
if err != nil {
139
144
return fmt .Errorf ("failed to get absolute workdir: %w" , err )
You can’t perform that action at this time.
0 commit comments