Skip to main content

Thread: Mirror two HDD's


i want backup pretty files hdd. got dev/sda2, , dev/sdb. made simple script:

code:
!/bin/bash rsync -a --delete /dev/sda2/ /dev/sdab/backup
then chmod a+x it, , run it:

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]
how working?

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

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support