Soldato
Hi all. I'm trying to back up everything on my 2TB NAS to a 2TB USB HDD. Obviously with something like a QNAP or Synology this would be straight forward but I'm stuck with an old Seagate GoFlex home and the GUI is pretty awful. There isn't a backup option.
I've gained root access via putty and i'm running this command:
cp -u -r --preserve=all /home/admin/"nas-sharename"/* /home/admin/"usb-sharename"/
The problem I've got is the USB drive is running out of space. The destination files are bigger than the source files I'm running treesize on the USB drive now to see where the duplicates are but does anyone know if I can add any extra switches in to my command to fix it without manually searching for duplicates? Are deleted files from the NAS potentially not being deleted from the USB drive?
edit: would I be better using rsync rather than cp?
I've gained root access via putty and i'm running this command:
cp -u -r --preserve=all /home/admin/"nas-sharename"/* /home/admin/"usb-sharename"/
The problem I've got is the USB drive is running out of space. The destination files are bigger than the source files I'm running treesize on the USB drive now to see where the duplicates are but does anyone know if I can add any extra switches in to my command to fix it without manually searching for duplicates? Are deleted files from the NAS potentially not being deleted from the USB drive?
edit: would I be better using rsync rather than cp?
Last edited: