mirror of
https://kolaente.dev/konrad/docker-db-backup.git
synced 2026-01-10 02:50:08 +01:00
Add postgres dumper
This commit is contained in:
@@ -44,7 +44,7 @@ func init() {
|
||||
func updateFullBackupPath() {
|
||||
dumpTime = time.Now()
|
||||
config.fullCurrentBackupPath = config.Folder + dumpTime.Format("02-01-2006_15-04-05") + "/"
|
||||
err := os.MkdirAll(config.fullCurrentBackupPath, 0644)
|
||||
err := os.MkdirAll(config.fullCurrentBackupPath, 0744)
|
||||
if err != nil {
|
||||
log.Fatalf("Could not create backup folder: %s\n", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user