Hello,
I have a NAS (Network Attached Storage) that I use to share files and documents between my home's computers. I also keep a backup of all the NAS's files on an external USB drive.
A few days ago I had to reformat the NAS, and now I want to copy the backup files from the USB drive back to the NAS.
At first, I did the regular "copy-paste" using Konqueror. It took more than 24 hours (it's 160 GB of data and the NAS is slow) but seemed to work OK. Then, just to be safe, I checked the size of the transferred folder - and the size on the NAS was several gigabytes smaller than the original. Lots of subfolders were totally ignored while copying.
How could this happen?
And then, to try to fix things, I ran
and
(the souce dir is /media/Elements/Store/Public/Mp3/ and the destination is /home/cristian/smb4k/NAS/public/Mp3/)
but none of these commands will transfer any file. But the files ARE there in the source drive, but they ARE NOT (or at least, seem to be not) on the NAS!!!
What's happening here? This is driving me mad!
I mount the NAS using smb4k, it gets mounted in /home/user/sbm4k.
Thanks, Cristian
I have a NAS (Network Attached Storage) that I use to share files and documents between my home's computers. I also keep a backup of all the NAS's files on an external USB drive.
A few days ago I had to reformat the NAS, and now I want to copy the backup files from the USB drive back to the NAS.
At first, I did the regular "copy-paste" using Konqueror. It took more than 24 hours (it's 160 GB of data and the NAS is slow) but seemed to work OK. Then, just to be safe, I checked the size of the transferred folder - and the size on the NAS was several gigabytes smaller than the original. Lots of subfolders were totally ignored while copying.
How could this happen?
And then, to try to fix things, I ran
Code:
rsync -v -r /media/Elements/Store/Public/Mp3 /home/cristian/smb4k/NAS/public
Code:
cp -p -r -v -u /media/Elements/Store/Public/Mp3 /home/cristian/smb4k/NAS/public
but none of these commands will transfer any file. But the files ARE there in the source drive, but they ARE NOT (or at least, seem to be not) on the NAS!!!
What's happening here? This is driving me mad!
I mount the NAS using smb4k, it gets mounted in /home/user/sbm4k.
Thanks, Cristian
Comment