Debian Backup Script

March 2, 2009 · By Stephen Reese

The script is available on [Github]](https://github.com/rsreese/debian-update-script). It can update a Debian system through APT, back up selected filesystems and databases, and transfer the resulting archives to a remote system over SSH.

  • Updates Debian packages using APT.
  • Creates local filesystem backups.
  • Transfers backups to remote systems over SSH.
  • Creates MySQL database backups.
  • Supports encrypted backup archives.
  • Records system information, including disk usage and network statistics.
  • Writes activity and error information to a log file.