Thread: Mirror two HDD's
i want backup pretty files hdd. got dev/sda2, , dev/sdb. made simple script:
then chmod a+x it, , run it:code:!/bin/bash rsync -a --delete /dev/sda2/ /dev/sdab/backup
how working?code:/home/bastiaan/backups/scripts/mirror.sh: line 1: !/bin/bash: no such file or directory rsync: change_dir "/dev/sda2" failed: not directory (20) rsync: change_dir#3 "/dev/sdab" failed: no such file or directory (2) rsync error: errors selecting input/output files, dirs (code 3) @ main.c(633) [receiver=3.0.7] rsync: connection unexpectedly closed (9 bytes received far) [sender] rsync error: error in rsync protocol data stream (code 12) @ io.c(601) [sender=3.0.7]
why not using deja-dup (watch synaptic)
http://techie-buzz.com/foss/deja-dup-ubuntu-1.html
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Mirror two HDD's
Ubuntu
Comments
Post a Comment