refactor: move backup, restore, s3fs tasks in pkg folder

This commit is contained in:
2024-01-19 06:34:22 +01:00
parent 53e8bfed35
commit b19e97064a

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)