.. | ||
systemctl | ||
config_backups.json | ||
file_mover.py | ||
README.md | ||
remote_local_dir.py | ||
remote_sftp.py | ||
requirements.txt | ||
run_backups.sh | ||
run_demo_mover.sh |
#simple file mover by jenz
##virtualenv venv
##source venv/bin/activate
##pip3 install -r requirements.txt
##config file: server specifics
##globally: apt-get install zip
##requires an ~/.my.cnf with
[mysqldump] host="" user="" password=""
##python3 file_mover.py config.json
##systemctl enable file_mover.timer
##systemctl start file_mover.timer
##logging: journalctl -f -u file_mover.service
##logging: systemctl status file_mover.service