This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
# | |
# Dependencies: hsetroot | |
import json | |
import re | |
import socket | |
import subprocess | |
import sys | |
import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AGREGAR EN CRON TAB | |
15 02 * * * /home/admin/Scripts/pg_backup_sync_mega_cron.sh dbname /home/admin/BackupDB /Root/BackupDB | |
EN LA CARPETA DE USUARIO AGREGAR LOS ARCHIVOS CON CREDECIALES | |
POSTGRES (.pgpass) | |
localhost:5432:*:postgres:password | |
MEGA (.megarc) |