I'm crazy for backups. Really paranoid about this.
I've written a little sh script to make automatic and incremental backups of my daily work.
This script makes an incremental backup of your work and shows a popup with a progress bar.
#!/bin/sh
path=/Desktop
path_backup=/media/disk/LACIE
cp -u -r -b $path $path_backup | zenity --width 200 --progress --auto-close --pulsate zenity --info --text='Backup done!'
where "path" is the working directory to backup, while "path_backup" is the destination path.
Change them to fit your needs and save the script with .sh extension.
Give execution permission to it and the put it in cron to automatically execute it.
Have fun!
Nessun commento:
Posta un commento