projects-jenz/file_mover
2023-02-20 21:52:34 +01:00
..
systemctl updated to xz compression 2023-02-20 21:52:34 +01:00
config_backups.json added mysqldump support 2021-11-02 21:36:38 +01:00
file_mover.py updated to xz compression 2023-02-20 21:52:34 +01:00
README.md added mysqldump support 2021-11-02 21:36:38 +01:00
remote_local_dir.py updated to xz compression 2023-02-20 21:52:34 +01:00
remote_sftp.py updated to xz compression 2023-02-20 21:52:34 +01:00
requirements.txt updated directory name, changed configs and systemctl slightly, preparing to make it useable for backups 2021-10-28 22:45:30 +02:00
run_backups.sh updated directory name, changed configs and systemctl slightly, preparing to make it useable for backups 2021-10-28 22:45:30 +02:00
run_demo_mover.sh updated directory name, changed configs and systemctl slightly, preparing to make it useable for backups 2021-10-28 22:45:30 +02:00

#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