I wanted to make sure my external backup USB drive located and mounted on
/media/disk/ gets mirrored with my
/home directory where I store all my personal / important data.
I always make changes and modifications
/home/ so I want the changes I make on
/home to be reflected on
/media/disk/.
So with this data, can someone please tell me if this is correct or if I need to make any modifications? I have no idea what happened with this command but I beleive I made an error as I did not see my files folder from my home directory copy over to /media/disk for whatever reason.
Any thoughts on what I did wrong?
Code:
carlos@tunafish:~$ rsync -avz --delete -e /media/disk/ /home/carlos/files/
building file list ... done
drwxr-xr-x 4096 2007/09/07 20:30:52 .
-rwx------ 387072 2007/03/27 17:44:33 idelab revised 8-8-06.vsd
-rwx------ 2574 2007/04/17 15:30:22 linux_commands.txt
-rwx------ 235 2007/03/27 18:00:05 mysql.txt
drwxr-xr-x 4096 2007/09/07 20:02:55 admin
-rwx------ 381 2007/03/27 17:44:33 admin/create_calendar.txt
-rwx------ 47 2007/03/27 17:44:33 admin/stricom_vlk.txt
sent 272 bytes received 20 bytes 584.00 bytes/sec
total size is 516261 speedup is 1768.02