Hey everyone! I need to transfer around 7TB of data from my NAS to an external hard drive that's connected to another PC on the same local network. It's just a temporary backup, but I'd rather be safe than sorry. I'm wondering if there's a significant difference between using a basic copy command like 'cp' versus something like 'rsync'. If rsync is the way to go, could someone provide a sample command? I've never used it before. Thanks!
5 Answers
Remember, don't hesitate to test everything with a dry run first using the `-n` flag in `rsync`. It helps ensure that the right files are selected for transfer without doing it for real first.
Rsync is definitely the way to go for this! A simple command you'd use is: `rsync -av `. This maintains file permissions and shows you what's being transferred. It's also great because it can resume interrupted transfers without repeating everything!
Exactly! I always make sure to add the `-c` option for checksum verification if the data really matters.
Just a friendly reminder, if your NAS has ports like USB 2.0, connecting the drive directly could be slower than using a network transfer, especially if you have a lot of small files. Just something to consider!
True! But it's worth checking if there's a better port option available, like eSATA.
If you want to see progress, you can use this command: `rsync -avh --progress /path/to/source/ user@destination:/path/to/destination/`. The flags included will make your output easier to read and give you a sense of how the transfer is going.
Good tip! I've always found that the `-h` flag makes a huge difference for file sizes.
You might also want to look into parallel tools like `rclone` or `fpsync`. They can significantly speed up the transfer depending on your network and system performance. Just a thought!
Yeah, I've used fpsync for those big copies before; it really delivers on speed!
Definitely a smart move! It's better to be cautious than to lose any data.