fix pointer to exporter

This commit is contained in:
Umputun
2018-03-04 02:39:35 -06:00
parent 3278a687c1
commit ed4a73ffd7
+1 -1
View File
@@ -136,7 +136,7 @@ func main() {
func activateBackup(exporter migrator.Exporter) {
for _, siteID := range opts.Sites {
backup := migrator.AutoBackup{
Exporter: &exporter,
Exporter: exporter,
BackupLocation: opts.BackupLocation,
SiteID: siteID,
KeepMax: opts.MaxBackupFiles,