Skip to content

A bundle of scripts, that contain few simple solutions for backup, which I'm using within my Ubuntu installations.

License

Notifications You must be signed in to change notification settings

metalevel-tech/simple-backup-solutions

Repository files navigation

Simple Backup Solutions

A bundle of scripts, that contain few simple solutions for backup, which I'm using within my Ubuntu installations.

Incremental backup using Rsync

  • This solution perfectly fits to 'desktop' systems, when you want easy access to your backup files and their history.

  • It is based on this nice answer, provided by PerlDuck on Ask Ubuntu SE, where are provided detailed explanations.

  • There are two files:

    • incremental_backup - this is the main (bash) script. I would place it in /usr/local/bin to be accessible as shell command system wide.

    • incremental_backup_cron - this a (sh) script desingned to be placed in /etc/cron.{daily,hourly,weekly}/.

  • Installation on fly (without using git):

    sudo wget -O /usr/local/bin/incremental_backup https://raw.githubusercontent.com/metalevel-tech/simple-backup-solutions/master/incremental_backup
    sudo chmod +x /usr/local/bin/incremental_backup
    
    sudo wget -O /etc/cron.daily/incremental_backup_cron https://raw.githubusercontent.com/metalevel-tech/simple-backup-solutions/master/incremental_backup_cron
    sudo chmod +x /etc/cron.daily/incremental_backup_cron

Portable backup using Tar and 7zip

  • This solution perfectly fits to 'server' systems, when you want small and portable backups.

  • It is based on this answer of mine on Ask Ubuntu SE, where are provided detailed explanations.

  • There are two files:

    • portable_backup - this is the main (bash) script. I would place it in /usr/local/bin to be accessible as shell command system wide.

    • portable_backup_cron - this a (sh) script desingned to be placed in /etc/cron.{daily,hourly,weekly}/.

  • Installation on fly (without using git):

    sudo wget -O /usr/local/bin/portable_backup https://raw.githubusercontent.com/metalevel-tech/simple-backup-solutions/master/portable_backup
    sudo chmod +x /usr/local/bin/portable_backup
    
    sudo wget -O /etc/cron.daily/portable_backup_cron https://raw.githubusercontent.com/metalevel-tech/simple-backup-solutions/master/portable_backup_cron
    sudo chmod +x /etc/cron.daily/portable_backup_cron

Notes

About

A bundle of scripts, that contain few simple solutions for backup, which I'm using within my Ubuntu installations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages