Merge pull request #23 from jkaninda/develop

refactor: move backup, restore, s3fs tasks in pkg folder
This commit is contained in:
2024-01-19 06:34:50 +01:00
committed by GitHub

View File

@@ -14,9 +14,6 @@ import (
const cronLogFile = "/var/log/pg-bkup.log"
const backupCronFile = "/usr/local/bin/backup_cron.sh"
func init() {
}
func CreateCrontabScript(disableCompression bool, storage string) {
//task := "/usr/local/bin/backup_cron.sh"
touchCmd := exec.Command("touch", backupCronFile)