package main import ( "log" ) func main() { c, err := getClient() if err != nil { log.Fatalf("Could not create client: %s", err) } updateFullBackupPath() containers, err := getContainers(c) if err != nil { log.Fatalf("Could not get containers: %s", err) } storeContainers(c, containers) err = dumpAllDatabases(c) if err != nil { // TODO: Only log errors while dumping dbs log.Fatalf("Could not dump databases: %s", err) } // TODO: Cron // TODO: Cleanup old }