Skip to content

chewett/Chewett-Server-Sync

Repository files navigation

Chewett Site Sync

This allows backing up of servers via FTP and rsync for filesystems and mysqldump for databases.

Currently Implemented

  • Downloading of mysql databases via mysql dump
    • Daily/weekly/monthly backups supported
    • Archiving of backups with gzip compression
    • Whitelisting of tables to download via regular expressions
  • FTP sync
    • Vaguely works
  • rsync
    • Daily/weekly/monthly backups supported
    • Archiving of backups with gzip compression
    • Specify rsync flags

Todo

  • All backup methods

    • Only store X backups per day/week/month
    • zipping instead of gzip
    • Specify storing X size of data backups and deleting after reaching X size
    • Standardize backup methods to reduce code footprint and duplication
    • Comment files
    • Print out correct progress for all functions
    • Move functions into functions rather than being a big long script
  • Database features

    • Blacklisting of tables
    • Syncing over SSH
    • Database dump flags
  • FTP syncing

    • Test full features
    • SFTP support
    • Syncing entire directories
    • Possibly rsync style copy via local cache?
  • rsync

    • Specify all flags

Requirements

  • python2
  • python-mysql

Config file format

TODO

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages